[SOLVED] Update fail on Windows server 2012R2 with AD

1. Click the start button and type cmd in the search box.
2. Right-click on cmd that comes up in the search results and select Run as administrator. Answer Yes to the UAC prompt if it appears.
3. Copy/Paste the following into the command-prompt window and hit enter.
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /s > "%USERPROFILE%\desktop\WU.txt"
4. When completed there will be a file on your desktop called WU.txt.
5. Attach this file to your next reply.
 
WARNING! The following fix is specific to the user's system in this thread only. No one else should follow these instructions, as it could damage your system.
  • Download the attachment SFCFixScript.txt and save it on your desktop.
  • Save any work you have open, and close all programs.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
    1p8eDnI.gif
  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Open the file, then copy and paste its content in your next reply.
 

Attachments

Remove and Repair Package
1. Click the Start button and type cmd in the search box.
2. Right-click on the cmd that comes up and select Run as administrator.
3. Once you are at the command prompt, copy/paste the following line and press enter.
pnputil -d cpu.inf
Wait for this to complete.
Provide a screenshot of the result.

4. Copy/paste the following line and press enter.
pnputil -a c:\windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.20625_none_4ed43b12dc4431f0\cpu.inf

5. You will likely receive a prompt that the publisher of the driver cannot be verified. Please install the driver anyway as this message is normal.
Provide a screenshot of this result also.
 
Ready

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Windows\system32>pnputil -d cpu.inf
Microsoft PnP Utility

Failed to uninstall driver package: The specified file is not installed by manufacturer
Hardware Builder (OEM) INF file.

C:\Windows\system32>pnputil -a c:\windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_
6.3.9600.20625_none_4ed43b12dc4431f0\cpu.inf
Microsoft PnP Utility

Handling INF file : cpu.inf
Failed to add driver package: Item not found.

Total attempts: 1
Number of successfully imported: 0


C:\Windows\system32>
 
Hi. I haven't forgot your thread and still searching where this particular cpu.inf came from.
Please do following.

Warning: This script was written specifically for this user, for use on that particular machine. Do not run this script on another machine.
  1. Download the Farbar Recovery Scan Tool and save it to your Desktop:
    64-bit: Downloading Farbar Recovery Scan Tool
    Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST.
  2. Download the attachment fixlist.txt and save it to your desktop.
  3. Right-click on FRST64.exe and select "Run as administrator".
  4. Press the Fix button.
  5. The tool will now process fixlist.txt.
  6. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
  7. When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  8. Attach the logfile Fixlog.txt to your next reply.
 

Attachments

Add Missing Package
1. Click the Start button and type cmd in the search box.
2. Right-click on the cmd that comes up and select Run as administrator.
3. Once you are at the command prompt, copy/paste the following line and press enter.
pnputil -a c:\windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.20625_none_4ed43b12dc4431f0\cpu.inf

4. You will likely receive a prompt that the publisher of the driver cannot be verified. Please install the driver anyway as this message is normal.
5. Provide a screenshot of the result.
 
Ready.

Microsoft Windows [version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Windows\system32>pnputil -a c:\windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_
6.3.9600.20625_none_4ed43b12dc4431f0\cpu.inf
Microsoft PnP Utility

Handling INF file : cpu.inf
Failed to add driver package: Item not found.

Total ratings: 1
Number of successfully imported: 0


C:\Windows\system32>

Strange but this file actually exists.

4242.jpg
 
Last edited:
Yes, KB5021296 installed successfully and there was no update rollback!


C:\Windows\system32>cd c:\tempp

c:\tempp> expand windows8.1-kb5021296-x64_fcc1368eaa82a2ee3d89df254a00d2e25821b12
1.msu -f:* C:\tempp
Microsoft (R) Unpacker, Version 6.3.9600.17415
(C) Microsoft Corporation. All rights reserved.

Adding C:\tempp\WSUSSCAN.cab immediately to unpack
Adding C:\tempp\Windows8.1-KB5021296-x64-pkgProperties.txt in turn to dist
kovka
Adding C:\tempp\Windows8.1-KB5021296-x64.xml to the unpack queue
Adding C:\tempp\Windows8.1-KB5021296-x64.cab to the unpack queue

Unpacking files....

Unpacking completed...
total files 4 .

c:\tempp>DISM.exe/Online/Add-Package/PackagePath:C:\temp\windows8.1-kb5021296
-x64.cab

DISM system
Version: 6.3.9600.19408

Image version: 6.3.9600.19397

Error evaluating open - "C:\temp\windows8.1-kb5021296-x64.cab" Error: 0x80
070003
Error evaluating open - "C:\temp\windows8.1-kb5021296-x64.cab" Error: 0x80
070003

Error: 3

Error evaluating open - "C:\temp\windows8.1-kb5021296-x64.cab" Error: 0x80
070003

The DISM log file is located at C:\Windows\Logs\DISM\dism.log

c:\tempp>DISM.exe/Online/Add-Package/PackagePath:C:\tempp\windows8.1-kb502129
6-х64.cab

DISM system
Version: 6.3.9600.19408

Image version: 6.3.9600.19397

Processing 1 of 1 - Adding package Package_for_KB5021296~31bf3856ad364e35
~amd64~~9600.20721.1.9
[=========================100.0%====================== ====]
Operation completed successfully.
Restart Windows to complete this operation.
Do you want to restart your computer right now? (Not really)

Should I try to install the failed KB5023765 update?
 

Attachments

Unfortunately, the update is installed again and after a reboot it rolls back (.
 

Attachments

Remove Update Manually
  1. Click on the Start button and in the search box, type Command Prompt.
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator.
  3. When command prompt opens, copy and paste the following command into it, then press enter.
    wusa /uninstall /KB:5023765
  4. Let me know if it says it was successful or if there are any errors.
 
It says this update has not been installed on this computer.
Снимок экрана 2023-04-08 085802.jpg
 
FRST Registry Search
  1. Click the Start button and choose Control Panel.
  2. In the upper right corner ensure the View by: is set to Category.
  3. Select the Programs group.
  4. Click the Turn Windows features on or off link. This will bring up the Server Manager dialog.
    Note: This loads your components hive which is what we want. Please keep this dialog open while you perform the remaining steps. You can minimize it if you wish but keep it open.
  5. Right-click on the file FRST64.exe and choose Run as administrator.
    Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST.
  6. Copy and paste KB5023765 into the Search box and click the Search Registry button.
  7. When the scan is complete, a message will display that 'SearchReg.txt' is saved in the same folder FRST was started from. Notepad will open this file also. Close Notepad and attach the file 'SearchReg.txt' to your next reply.
  8. You may close any remaining open windows now.
 

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

Back
Top