[SOLVED] Windows server 2019 - 0x80070003 and 0x80240017 errors

Please run the following command as well
Code:
certutil -hashfile C:\Windows\WinSxS\amd64_dual_ntprint.inf_31bf3856ad364e35_10.0.17763.1217_none_32b5e5f51b5b65ed\ntprint.inf SHA256
 
Hi,

Step 1.
Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the System File Checker and post the result. If it fails attach a new copy of the CBS log.
Code:
SFC /Scannow
 

Attachments

Great, please run this command again in an elevated prompt and copy and paste the result in your next post.
Code:
fsutil hardlink list %systemroot%\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6\ntprint.inf
 
Let's try the following again.
Code:
fsutil hardlink create C:\Windows\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6\ntprint.inf C:\Windows\WinSxS\amd64_dual_ntprint.inf_31bf3856ad364e35_10.0.17763.1217_none_32b5e5f51b5b65ed\ntprint.inf
 
Let's replace the WinSxS component as well to see if it will resolve the access denied issue, and then try again to create the hardlink.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.

Afterwards run this command again.
Code:
fsutil hardlink create C:\Windows\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6\ntprint.inf C:\Windows\WinSxS\amd64_dual_ntprint.inf_31bf3856ad364e35_10.0.17763.1217_none_32b5e5f51b5b65ed\ntprint.inf
 

Attachments

I'll need to do some tests on a VM to see if I can reproduce this issue. So this can take some time....
 
Please run the following commands in an elevated prompt and post the result.
Code:
icacls "%systemroot%\WinSxS\amd64_dual_ntprint.inf_31bf3856ad364e35_10.0.17763.1217_none_32b5e5f51b5b65ed" /save "%userprofile%\desktop\perms1.acl" /t
icacls "%systemroot%\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6" /save "%userprofile%\desktop\perms2.acl" /t
takeown /f "%systemroot%\WinSxS\amd64_dual_ntprint.inf_31bf3856ad364e35_10.0.17763.1217_none_32b5e5f51b5b65ed" /r
takeown /f "%systemroot%\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6" /r
icacls "%systemroot%\WinSxS\amd64_dual_ntprint.inf_31bf3856ad364e35_10.0.17763.1217_none_32b5e5f51b5b65ed" /grant administrators:(F) /t
icacls "%systemroot%\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6" /grant administrators:(F) /t
fsutil hardlink create "%systemroot%\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6\ntprint.inf" "%systemroot%\WinSxS\amd64_dual_ntprint.inf_31bf3856ad364e35_10.0.17763.1217_none_32b5e5f51b5b65ed\ntprint.inf"
icacls "%systemroot%\WinSxS\amd64_dual_ntprint.inf_31bf3856ad364e35_10.0.17763.1217_none_32b5e5f51b5b65ed" /setowner "NT SERVICE\TrustedInstaller" /t
icacls "%systemroot%\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6" /setowner "NT SERVICE\TrustedInstaller" /t
icacls "%systemroot%\WinSxS" /restore "%userprofile%\desktop\perms1.acl" /t
icacls "%systemroot%\DriverStore" /restore "%userprofile%\desktop\perms2.acl" /t
 
Hi,

Please restore the permissions with following commands.
Code:
icacls "%systemroot%\WinSxS\amd64_dual_ntprint.inf_31bf3856ad364e35_10.0.17763.1217_none_32b5e5f51b5b65ed" /setowner "NT SERVICE\TrustedInstaller" /t
icacls "%systemroot%\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6" /setowner "NT SERVICE\TrustedInstaller" /t
icacls "%systemroot%\WinSxS" /restore "%userprofile%\desktop\perms1.acl" /t
icacls "%systemroot%\DriverStore" /restore "%userprofile%\desktop\perms2.acl" /t
 
Hmm, please run the following the following command.
Code:
icacls "%systemroot%\System32\DriverStore\FileRepository\ntprint.inf_amd64_19a3fe50fa9a21b6"
 
Please attempt to update again and when it fails attach a new copy of the CBS logs and a copy of the Setupapi.dev.log.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top