[SOLVED] Server 2019 win update error 0x800703f1

133gardner

Member
Joined
Sep 20, 2023
Posts
10
Hello,
This is a Hyper-V vm server. We had an event a couple months ago that seized up our VM host, but this vm continued to perform it's function so I didn't notice the corruption until I ran Win Updates.
The usual windows update repair steps have not helped. I've run sfc and dism. I've deleted and recreated catroot2 and the Software Distribution folder. I've tried the windows update troubleshooter, offline updates, etc... From what I can tell, the problem is not with downloading the updates. Also, when it reboots after running updates is when it rolls back. I think the Windows Defender updates are working but the cumulative security updates are not. I've attached the requested files. Any help would be appreciated.
Thanks!
 

Attachments

Hi and welcome to Sysnative,

Upload the SCHEMA.DAT file
  • Navigate to C:\Windows\System32\SMI\Store\Machine and copy the SCHEMA.DAT file to your desktop.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named SCHEMA.ZIP on your desktop.
  • Attach this ZIP-file to your next reply.
 
Hi,

Replace the SCHEMA.DAT file

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
  • Download the attached Schema.zip file and save it to your desktop, right-click on it and select Extract all.
  • Navigate to C:\Windows\System32\SMI\Store\Machine and rename the SCHEMA.DAT file to SCHEMA.old
  • Copy the SCHEMA.DAT file on your desktop into the above directory.

Afterwards reboot the system and attempt to update. If it fails attach a new copy of the CBS logs.
 

Attachments

No Luck. Same symptoms where it goes through the install process and then rolls back after reboot.
Defender and MS Antimalware updates do run and complete.
 

Attachments

Hi,

Upload your DRIVERS Hive

  • Navigate to C:\Windows\System32\config and locate the DRIVERS file.
  • Please copy this file to your desktop.
  • Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named DRIVERS.ZIP on your desktop.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Hi,

Replace Drivers Hive Manually

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
  1. Download DRIVERS.ZIP and save to your desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now we have the DRIVERS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current DRIVERS file and select rename. Rename it to DRIVERS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Drivers folder on your desktop and paste it into C:\Windows\System32\config

Afterwards reboot the server and attempt to update. If it fails attach a new copy of the CBS logs as well as the Setupapi.dev.log

Upload the setupapi.dev.log file
  • Open Windows Explorer and browse to the C:\Windows\INF folder.
  • Right-click on the file setupapi.dev.log and choose Send to > Compressed (zipped) folder.
  • Now the message will appear, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
  • Click on the Yes button here.
  • Attach the file setupapi.dev.zip in your next reply.
 

Attachments

Hello,
I was optimistic because my Drivers file had a modified date around the same time as when we think the original system corruption happened. I'm still not able to get cumulative updates though. However now I'm getting a 0x80070003 error which I haven't seen before. Thanks again for your help.
 

Attachments

On another note, I tried to run the cumulative update through Window update and also from the offline installer. Same results from both procedures where the updater runs and appears to complete but then rolls back during reboot.
 
Hey good news!
The setupapi.dev.log was the key! I had the same missing oposdrv driver as this post. So I followed the same procedure and copied the folder C:\Windows\System32\DriverStore\FileRepository\oposdrv.inf_amd64_313106b94d0b5742 from a working server.
I then was able to run an offline cumulative update (from last month) and then online update for this month. It also seems to have fixed the issue with .NET updates not completing either.
Thanks so much for your help!
 
Hi,

You're welcome. Glad you've managed to resolve the driver issue and was able to successfully update the system... (y)
I will mark this thread as solved then.
 
For anyone else who experiences similar issues, I believe the C:\Windows\System32\config\Drivers file on my server was corrupted. Once that was replaced and the error message changed, then the c:\windows\inf\setupapi.dev.log file pointed to the missing driver file oposdrv. Thanks again Maxstar! You're a life saver!
 

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

Back
Top