Hello Julsngrd12,
Thank you for posting in Microsoft Community forum.
Error 0x80070005 is a common Windows Update error that typically denotes "Access Denied." This can be due to various reasons including insufficient permissions, corrupted system files, or issues with the Windows Update service. Here are some steps to help you troubleshoot and resolve the issue on your Lenovo server running Windows Server 2022:
Step 1: Check Permissions
- Run Windows Update as Administrator: Ensure you are running the Windows Update process with administrative privileges.
- Check User Account Permissions:
- Make sure your user account has the necessary permissions to perform updates.
Step 2: Run Windows Update Troubleshooter
- **Go to Settings** > **Update & Security** > **Troubleshoot**.
- Select **Windows Update** and run the troubleshooter to detect and fix issues automatically.
Step 3: Reset Windows Update Components
- Open Command Prompt as Administrator:
- Press
Win + X
and select **Command Prompt (Admin)** or **Windows PowerShell (Admin)**.
- Press
- Stop Windows Update Services:
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver
- Rename Windows Update Folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 Catroot2.old
- Restart Windows Update Services:
net start wuauserv net start cryptSvc net start bits net start msiserver
Step 4: Check Group Policy Settings
- Open Local Group Policy Editor:
- Press
Win + R
, typegpedit.msc
, and press Enter.
- Press
- Navigate to **Computer Configuration** > **Administrative Templates** > **Windows Components** > **Windows Update**.
- Check for any policies that might be restricting Windows Update and modify them if needed.
Step 5: Check/Repair System Files
- Run System File Checker (SFC):
- Open Command Prompt as Administrator.
- Type
sfc /scannow
and press Enter. - Allow the process to complete and follow any instructions that might appear.
- Run Deployment Imaging Service and Management Tool (DISM):
DISM /Online /Cleanup-Image /RestoreHealth
Step 6: Check Windows Update Log Files
- Review the Windows Update log files to identify specific issues:
- The logs can be found in the
C:\Windows\WindowsUpdate.log
file. - Look for any errors or messages that might give more context to the issue.
- The logs can be found in the
Step 7: Firewall and Antivirus
- Temporarily disable firewall and antivirus to see if they are causing the issue.
- Ensure that Windows Update servers are not being blocked by any network security devices or firewall rules.
Step 8: Manually Download Updates
- Manually download the updates from the Microsoft Update Catalog and install them.
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Haijian Shan