This vid helps Fix Error 1008 from Perflib open procedure of “CWindowsSystem32bitsperf.dll” failed.
Solution 1: Try re-loading the Performance Library on your Windows Server. To do that, run the following commands one by one: lodctr bitsperf.dll lodctr /R:bitsperf.dll lodctr /R
Solution 2: re-register the C:\Windows\System32\bitsperf.dll file into Registry Editor. 1. Locate the below registry setting (file folder)@ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS\Performance, which could an entry named bitsctrs.ini. 2. Head to C:\Windows\Inf\BITS on your disk, where you had Windows Server 2012 R2 Datacenter installed. 3. Enter the latest/newest BITS folder (in this case, it's the BITS\0409). Refer to the below image. 4. Now, Copy the below bitsctr.h file (which should be located in the C:\Windows\Inf\BITS\ folder) into the aforementioned file folder C:\Windows\Inf\BITS\0409 5. perform the below command codes one by one, using PowerShell: unlodctr BITS lodctr “C:\Windows\Inf\BITS\0409\bitsctrs.ini”