A file in the 2020-07 Update (KB4565912) is not installed to the system

NL 21 Reputation points
2020-08-20T16:15:52.3+00:00

Hello,

We have recently upgraded a server from Win server 2008 R2 to 2012, then to 2016.

After we have applied the 2020-07 Update (KB4565912) to it, our vulnerability scanner indicates that the file "NetSetupApi.dll (10.0.14393.3801)", which is supposed to be included in the 2020-07 Update, cannot be found in the system.

Looking at the Windows Update, I do not see any error message in regards to the installation of this update. I wonder if the server has a hiccup during the update, or any Group Policy that may somehow affect the installation of the updates (...the server is under a domain...)

This update does not come with the "uninstall" option. So, I cannot reinstall it again.

And then, by using Search, I can locate the extracted "NetSetupApi.dll" from the 2020-07 Update in the WinSxS folder.

I wonder if I can just copy and paste the "NetSetupApi.dll" from the "WinSxS" to the "System32" folder?

Thank you. :)

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,513 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,136 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jenny Feng 14,066 Reputation points
    2020-08-24T06:33:17.25+00:00

    Hi,

    You can replace the old file with the newer version, then run "regsvr32 netsetupapi.dll".

    Once you are done registering the netsetupapi.dll in the Windows system’s registry, you should be good to go.

    Best Regards,
    Jenny

    ---Please Accept as answer if the reply is helpful---


2 additional answers

Sort by: Most helpful
  1. Jenny Feng 14,066 Reputation points
    2020-08-21T02:06:40.03+00:00

    Hi,

    Yes. You can.

    KB4565912 is servicing stack update, it make changes to how updates are installed and cannot be uninstalled from the device.

    To solve the netsetupapi.dll file's problems, check if the system files are intact as a first step.
    At the command prompt, type the following command, and then press ENTER:
    sfc /scannow

    To register the netsetupapi.dll file, open a command prompt as an administrator and type:
    regsvr32 netsetupapi.dll

    Hope above information can help you.

    ---Please Accept as answer if the reply is helpful---

    0 comments No comments

  2. NL 21 Reputation points
    2020-08-21T14:18:45.603+00:00

    Hello,

    Thank you for the reply.

    I did run "sfc /scannow" earlier. It showed the system was having no issue at all.

    I have a question now - although the file "NetSetupApi.dll (10.0.14393.3801)" from the 2020-07 Update is not found in the system, there is an older version of the "NetSetupApi.dll" in the file system now. So say, after I overwrite the existing file with the newer version from the Update, and run "regsvr32 netsetupapi.dll", will the system potentially register both the old and the new versions at the same time? If so, would it matter at all? Or, should I unregister it first like "regsvr32 /u netsetupapi.dll" and then re-register it again? And what if, I don't run "regsvr32 netsetupapi.dll" at all and leave the setting the same with the newer version of the file in the file system, would it cause any potential issue?

    (... I actually don't know if the existing file, the older version, has already been registered ... and I haven't been able to find any online articles that help me solve this question ... I suppose this may be considered as a different question handled by another post...)

    Thank you so much for your help!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.