How to fix “Intel Optane Memory Pinning …” on Windows 10

How to Resolve Intel® Optane™ Memory Pinning Error: ‘Unable to load DLL ‘iaStorAfsServiceApi.dll” Encountered

Original: https://www.intel.com/content/www/us/en/support/articles/000056299/memory-and-storage.html

Validated. This solution has been verified by our customers to fix the issue with these environment variables

Knowledge

Content TypeError Messages

Article ID000056299

Last Reviewed06/24/2020What are you seeing?

After a Windows® 10 update, the following error message appears randomly during use of the system.  On some systems this may also be presented as error code 0x8007007E.

Environment:

Windows 10 Operating Systems 

Intel® Rapid Storage Technology (Intel® RST) driver version between 17.5.x and 17.8.x

Root cause
Starting with the 17.5.0.1017 Intel RST driver, the way the Intel® Optane™ memory pinning components are installed was modified. If at some point the driver was upgraded from an older driver (for example 16.8.x) to a version between 17.5.x and 17.8.x, the OS update may try to reapply the removed installation files from the earlier versions. Due to a compatibility issue, an error message may appear.

A system with factory installed (fresh OS installation) of Intel RST drivers between 17.5.x and 17.8.x are not affected by this issue.
How to fix it:

To resolve the issue and prevent it from occurring after a future OS update, please download and Install the Intel® Rapid Storage Technology (Intel® RST) driver version 17.9.1.1009 or greater here

If unable to update to the latest 17.9.1.1009 or greater driver, see below steps for an alternative solution:

First, refresh the current driver package installed by repairing the Intel® Optane™ memory pinning extensions:

  1. Open Programs and Features (Press Windows key  + r), type ‘appwiz.cpl’ and click OK.
  2. Locate and highlight Intel Optane Pinning Explorer Extensions.
  3. Click Repair.

Second, remove the old pinning package so that the error does not reappear after the next OS update:

  1. Open Device Manager (Press Windows key  + x).
  2. Expand the Software components field.
  3. Right-click the Intel® Pinning Shell Extensions field and select Uninstall Device.
  4. Check the box that states Delete the driver software for this device. and click Uninstall.