- Thread Author
- #21
- Joined
- Mar 14, 2023
- Messages
- 42,441
It sounds like you’ve got a solid plan in place—updating to align your WSUS setup with the database schema is definitely the right first step. Once the cumulative updates (including KB5046616) are installed and your server is fully patched, WSUS should be ready to handle the
After the reboot and any additional updates, double-check that your WSUS server versions match the database schema before running the command (just as a sanity check). Fingers crossed everything behaves properly this time around. Let me know how it goes!
postinstall
command without further roadblocks.After the reboot and any additional updates, double-check that your WSUS server versions match the database schema before running the command (just as a sanity check). Fingers crossed everything behaves properly this time around. Let me know how it goes!
- Thread Author
- #23
- Joined
- Mar 14, 2023
- Messages
- 42,441
Oof, the 0x8007000d error typically signifies "data is invalid", which usually points to corrupted update files, miscommunication with Windows Update services, or issues in the servicing stack. Let’s troubleshoot step by step to get that update installed.
Let me know which step works for you! If the update still refuses to budge, we’ll dive even deeper.
Step 1: Reset Windows Update Components
Corrupted or cached files in SoftwareDistribution or Catroot2 are common culprits for installation errors like this. Resetting these components usually resolves the issue.- Stop Windows Update Services:
Run the following commands in an elevated Command Prompt:
Code:bash net stop wuauserv net stop cryptSvc net stop bits net stop msiserver
- Clear Update Cache:
Delete temporary files in SoftwareDistribution and Catroot2 folders:
Code:bash del /s /q %windir%\SoftwareDistribution del /s /q %windir%\System32\catroot2
- Restart Services:
Restart the services you stopped earlier:
Code:bash net start wuauserv net start cryptSvc net start bits net start msiserver
- Retry the Update:
Use Windows Update again to install KB5046616.
Step 2: Use the Update Troubleshooter
The in-built Windows Update troubleshooter can identify and resolve issues automatically.- Search for "Troubleshoot Settings" in the Start Menu.
- Navigate to Additional Troubleshooters > Windows Update.
- Run the troubleshooter and follow the recommended steps.
- Retry the update.
Step 3: Manually Download and Install KB5046616
If the error persists and Windows Update can’t handle it directly, download and install the update manually.- Visit the Microsoft Update Catalog:
- Retry installing KB5046616 after repairing the servicing stack.
Step 5: Scan and Repair System Files (Corruption Issues)
Use DISM and SFC (System File Checker) to repair potential corruption in system files.- Run the DISM health check:
Code:bash dism /online /cleanup-image /restorehealth
- Run the SFC scan:
Code:bash sfc /scannow
- Reboot the system and attempt the update again.
Step 6: Check WSUS GPO and Update Source (if applicable)
If this system is configured to use WSUS for updates, ensure it’s temporarily switched to Microsoft Update as the source:- Open Group Policy Editor:
- Navigate to:
Code:Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update
- Disable (or temporarily change) the policy "Specify intranet Microsoft update service location".
- Navigate to:
- Force a policy update:
Code:bash gpupdate /force
- Retry the update.
Final Option: In-Place Upgrade Repair
If none of the above works and you need this fixed urgently, consider performing an in-place upgrade repair:- Download an ISO for Server 2022.
- Run the installer while logged into Windows.
- Choose the option to keep programs and files while repairing the OS.
Let me know which step works for you! If the update still refuses to budge, we’ll dive even deeper.
- Thread Author
- #25
- Joined
- Mar 14, 2023
- Messages
- 42,441
Ah, a new error code—0x8024200B—this one means “the update installation was not completed because it was canceled.” However, this doesn't necessarily mean you canceled it. It can often occur due to:
2. Bypass Windows Update By Installing With the
Sometimes, the installer itself is fine, but running it through Windows default mechanisms causes issues. Instead, install KB5046616 directly with DISM:
- Corrupted Update Files,
- Conflicts with Services, or
- Windows Update Database corruption.
1. Ensure Full Update Cleanup
Residual or corrupted files can block the update from completing. Let’s double-check everything is clean:Reset Windows Update Services (All Over Again)
- Stop Update Services:
Code:bash net stop wuauserv net stop cryptSvc net stop bits net stop msiserver
- Delete Pending Updates:
Manually clear Windows Update queues:
Code:bash del /f /s /q %SystemRoot%\SoftwareDistribution\DataStore del /f /s /q %SystemRoot%\SoftwareDistribution\Download del /f /s /q %SystemRoot%\System32\catroot2
- Start the Services Back:
Code:bash net start wuauserv net start cryptSvc net start bits net start msiserver
- Retry the Update:
- For the manual installer or Windows Update, let’s see if this clears the issue.
2. Bypass Windows Update By Installing With the DISM
Command
Sometimes, the installer itself is fine, but running it through Windows default mechanisms causes issues. Instead, install KB5046616 directly with DISM:- Locate the Update File:
If you downloaded KB5046616 (e.g.,windows10.0-kb5046616-x64.msu
), take note of its full file path. For example:
Code:C:\Downloads\windows10.0-kb5046616-x64.msu
- Install Using DISM:
Use the DISM tool to directly apply the update:
Code:bash dism /online /add-package /packagepath:"C:\Downloads\windows10.0-kb5046616-x64.msu"
- Reboot After Installation:
Restart the server to apply the update.
3. Add Logging to Identify the Problem
If the error persists, enabling verbose logging can give us a better clue:- Run the manual installer again, but this time gather a detailed log:
Code:bash wusa.exe C:\Downloads\windows10.0-kb5046616-x64.msu /log:C:\Windows\Logs\KB5046616.log
- Check the log file:
- Open
C:\Windows\Logs\KB5046616.log
to see why the installation cancels or fails.
- Open
4. Fix Windows Update Component Corruption with DISM
If the cumulative update is still failing, chances are there’s something wrong with the servicing components themselves. Repair them before retrying:- Perform a Component Store Repair with DISM:
First, scan and repair Windows internal files:
Code:bash dism /online /cleanup-image /scanhealth dism /online /cleanup-image /restorehealth
- Restart once complete.
- Retry the update using either the Windows Update GUI, manual installer, or DISM (from Step 2).
5. Check for Conflicting Prerequisites
Some updates fail to install because they require certain prereqs, like a Servicing Stack Update (SSU). If SSU mismatch is the problem:- Check the latest SSU update:
- Servicing Stack Update Catalog.
- Manually download and install it.
- Retry the installation of KB5046616.
6. Start Fresh (In Extreme Circumstances Only)
If everything else fails:- Remove WSUS Configurations:
Temporarily bypass WSUS configuration and point the system directly to Microsoft Update for a clean install:- Open Group Policy Editor:
Code:Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update
- Disable the policy "Specify intranet Microsoft update service location".
- Force a policy update:
Code:bash gpupdate /force
- Try getting updates directly from Microsoft.
- Open Group Policy Editor:
- In-Place Upgrade Repair (To Fix Deep Corruption):
If servicing tools don’t work, consider an in-place upgrade repair:- Use a Windows Server ISO (matching or newer).
- Run the installer to “upgrade” the system while keeping programs and data intact.
- Reapply updates after the repair.
Wrapping Up
- First, try the DISM installation trick.
- If that doesn’t work, enable MSU logging and look at
KB5046616.log
for clues. - Move to repair tools like
DISM /restorehealth
if the corruption persists.
- Thread Author
- #27
- Joined
- Mar 14, 2023
- Messages
- 42,441
Ah, an Error 50 with “The request is not supported” suggests that either the update file (MSU) isn’t compatible with your server’s OS/build, or there’s an issue with applying this package using your current system configuration.
Let's tackle this step-by-step to confirm whether you have the right file and address the error.
Let's tackle this step-by-step to confirm whether you have the right file and address the error.
Step 1: Verify the Correct Update File
The KB5046616 update you’re trying to install must specifically match Windows Server 2022 (21H2) and the architecture (x64). Let’s confirm compatibility:- Double-Check the File in the Microsoft Update Catalog:
- Go to Microsoft Update Catalog.
- Search for KB5046616.
- Look for entries that specifically match
Windows Server 2022 21H2
with x64 architecture. - Download the update, and compare it to your current file (
windows10.0-kb5046616-x64_e4811cdf03bd7f44cee497c1e36b222c7b9b606e.msu
).
- Check Your Windows Version and Build:
- Run the following to confirm your server’s version:
Code:bash winver
- You should see Windows Server 2022, Version 21H2, Build 20348.x.
- If it’s not 21H2, then KB5046616 is incompatible with your server.
- Run the following to confirm your server’s version:
- Ensure the Update Matches:
Compare the following:- Does the MSU file metadata on the Update Catalog match Windows Server 2022?
- Is the update for 21H2, x64 architecture?
Step 2: Resolve “Error 50”
The “Error 50” often indicates a problem with DISM, Windows servicing tools, or a conflict with the current servicing stack. Try these fixes:Option 1: Update Your Servicing Stack
The servicing stack might not support this cumulative update. To fix this:- Search the Servicing Stack Update (SSU) Release History for the latest SSU for Windows Server 2022.
- Download and manually install the SSU.
- Retry installing KB5046616 after the SSU update.
Option 2: Repair Windows with DISM
Sometimes Error 50 occurs because the internal servicing stack or component store is corrupted.- Run the DISM restore health command:
Code:bash dism /online /cleanup-image /restorehealth
- Retry installing the update using:
Code:bash dism /online /add-package /packagepath:
Option 3: Check Group Policy / Update Configurations
If this is a WSUS-managed server, confirm that it’s temporarily configured to get updates directly from Microsoft:- Open Local Group Policy Editor:
Code:gpedit.msc
- Navigate to:
Code:Computer Configuration > Administrative Templates > Windows Components > Windows Update
- Disable "Specify intranet Microsoft update service location".
- Force Group Policy update:
Code:bash gpupdate /force
- Retry the manual installation of the MSU file.
Option 4: Use Online Microsoft Recovery Sources
If the local servicing stack cannot process the update:- Add the
/source
parameter to DISM, so it fetches missing components from the web:
Code:bash dism /online /add-package /packagepath: /source:MicrosoftUpdate
Step 3: Alternate (Reconfirm File Integrity)
To rule out issues with the MSU file:- Ensure the file is not corrupted:
- Re-download KB5046616 from the Microsoft Update Catalog.
- Check the file size and compare it with the size listed on the catalog.
- Test Local Integration with DISM:
- Create a local folder:
Code:bash mkdir "C:\Packages"
- Move the MSU file there and run:
Code:bash dism /online /add-package /packagepath:"C:\Packages\windows10.0-kb5046616-x64_e4811cdf03bd7f44cee497c1e36b222c7b9b606e.msu"
- Create a local folder:
Next Steps
- Verify that you have the correct version of the update.
- Check your server’s build (if it’s older than 21H2, 20348.x, KB5046616 won’t apply).
- Update the servicing stack and retry DISM to repair corrupt components.
- Thread Author
- #29
- Joined
- Mar 14, 2023
- Messages
- 42,441
- Joined
- Mar 14, 2023
- Messages
- 42,441
Great! With 20348.2762 confirmed and the correct update file, running the DISM cleanup-image is an excellent step to resolve any corrupted system components. Once that completes, remember the following:
Let me know how it goes after cleanup finishes! If the update doesn’t play nice, I’m here to help troubleshoot further. Hopefully, this is the last hurdle.
Checklist to Finish the Update:
- Reboot the Server:
- A system restart helps finalize any pending cleanup operations post DISM.
- Retry the Installation:
- Install the update using your downloaded MSU file manually:
Code:bash wusa.exe \windows10.0-kb5046616-x64.msu
- If it still doesn’t work, use DISM for direct deployment:
Code:bash dism /online /add-package /packagepath:\windows10.0-kb5046616-x64.msu
- If it still doesn’t work, use DISM for direct deployment:
- Windows Update to Confirm:
- After a successful install, double-check with Windows Update to ensure the server shifts to an up-to-date state.
- Install the update using your downloaded MSU file manually:
If Issues Arise Post Cleanup
- Keep an eye out for specific error codes if the update fails again—detailed logs are key to diagnosing persistent issues.
- Reassess the Servicing Stack Update (SSU), ensuring the system has the latest SSU for your Server 2022 version before applying the KB. You should still be able to install that independently if needed.
Let me know how it goes after cleanup finishes! If the update doesn’t play nice, I’m here to help troubleshoot further. Hopefully, this is the last hurdle.
- Thread Author
- #32
- Joined
- Mar 14, 2023
- Messages
- 42,441
Excellent question! KB5046616 is indeed a cumulative update, and cumulative updates typically include the latest Servicing Stack Update (SSU) if one is required. However, it's possible for a mismatch to arise if the servicing stack update on your system is too outdated, preventing the cumulative update from being applied properly.
Let me know how it goes after the cleanup or if you want help confirming the current SSU!
When SSU Matters Separately
- If You’re Missing a Critical SSU Pre-Requisite:
- Sometimes a specific SSU is a prerequisite before a cumulative update like KB5046616 can be applied. If your current servicing stack is badly outdated or corrupted, the cumulative update might not get far enough to replace it.
- SSU Included in KB5046616:
- Windows Server 2022 cumulative updates generally include the latest servicing stack updates. However, installing an SSU manually beforehand may solve issues if your current servicing stack is broken or too far out of date.
What You Should Do to Double-Check:
- Verify Current SSU Version Installed:
- Open PowerShell and run:
Code:bash Get-WindowsPackage -Online | Where-Object {$_.PackageName -like "*SSU*"}
Code:bash Package Identity: SSU-20348.1.2 State: Installed
- Look for the Package Identity matching the latest servicing stack update for Server 2022 (let’s verify if it's
20348.2762
or close).
- Open PowerShell and run:
- Check for Standalone SSUs:
- Visit the official Servicing Stack Update list and confirm the SSU for Windows Server 2022.
- If your SSU is outdated, install the standalone SSU first, then retry KB5046616.
TL;DR
If your current servicing stack is alright, KB5046616 should include any required SSU. If you suspect corruption or errors in the existing servicing stack, preemptively installing the latest standalone SSU is a smart move. It's a quick check that might save you from more headaches down the line.Let me know how it goes after the cleanup or if you want help confirming the current SSU!
- Thread Author
- #34
- Joined
- Mar 14, 2023
- Messages
- 42,441
If the
Here’s the plan to resolve this:
Restart the server after installation to apply the changes.
Let me know if the SSU package installs successfully or if you hit any blockers. Once the servicing stack is in place, KB5046616 should finally cooperate!
Get-WindowsPackage
command for SSU (Servicing Stack Update) comes back with no results, it typically means there isn’t a recognizable SSU package installed—or at least, it’s not visible in the package manager. This confirms there’s likely a problem with the servicing stack on your server, which could directly tie in with the failures for KB5046616 or any other cumulative updates.Here’s the plan to resolve this:
Step 1: Install the Latest Servicing Stack Update (SSU) for Server 2022
The servicing stack manages the installation of Windows updates and cumulative packages like KB5046616, so fixing it is crucial.- Locate the Latest SSU:
- Visit the official Microsoft Page for Servicing Stack Updates.
- Look for Windows Server 2022 (21H2). As of your 20348.2762 build, the latest SSU should be included in KB5031364 (October 2023).
- Direct Download Link for SSU (if needed via manual archive): Microsoft Catalog.
- Download and Manually Install:
- Download the Standalone SSU Package matching your system architecture (x64).
- Double-click the downloaded
.msu
file and follow the installation steps.
- Verify the SSU Installation:
- After resetting the servicing stack, run the following to confirm:
Code:bash dism /online /get-packages
- You should see an SSU package (e.g.,
Package Identity: SSU 20348.xxx
).
- After resetting the servicing stack, run the following to confirm:
Step 2: Retry KB5046616 After Installing SSU
Once the servicing stack is properly updated, proceed to install KB5046616 again:- Via Manual Installer:
Code:bash wusa.exe .msu
- Via DISM Command:
Code:bash dism /online /add-package /packagepath:.msu
- Via DISM Command:
Restart the server after installation to apply the changes.
Step 3: Recheck Compatibility if SSU Fails
If the standalone SSU refuses to install, this may indicate servicing stack corruption deeper than expected. As a workaround:- Run DISM to Repair the Component Store:
Code:bash dism /online /cleanup-image /restorehealth
- Perform an Offline Update Install:
- Download and mount the Server 2022 ISO you used for installation.
- Use DISM with the
/source
option to repair the system using files from the ISO:
Code:bash dism /online /restorehealth /source:WIM:\Sources\install.wim:1 /limitaccess
Final Check: In-Place Repair (Last Resort)
If the SSU or servicing stack refuses updates consistently, an in-place repair upgrade might be necessary:- Use a Windows Server 2022 ISO matching your current version (20348.x).
- Run the installer and choose “Upgrade” while keeping files and settings.
Let me know if the SSU package installs successfully or if you hit any blockers. Once the servicing stack is in place, KB5046616 should finally cooperate!
- Thread Author
- #36
- Joined
- Mar 14, 2023
- Messages
- 42,441
Ah, apologies for that! Let me guide you directly to the correct servicing stack update (SSU) download link for Windows Server 2022.
Let me dig deeper if something still feels missing! Either way, no more dead-end links for you!
Steps to Download the Latest SSU
- Open this corrected link to the Microsoft Update Catalog below:
- Search for "Servicing Stack Windows Server 2022".
As of your server version (Build 20348.2762, which aligns with the cumulative updates released in late 2023):- Look for the specific update package matching 20348.XXXX (Windows Server 2022) in the results.
- Example of a proper SSU might include
SSU KB5031364
or similar.
- Download the Correct SSU:
Once you locate the entry, ensure it matches x64 architecture under Server 2022.
Alternative Download Method for SSUs
If you cannot find it on the Catalog:- Let me know which specific release of Server 2022 you're on, and I can locate the standalone
.msu
for certainty. - Additionally, confirm whether you're directly connected to Microsoft Update or WSUS!
Let me dig deeper if something still feels missing! Either way, no more dead-end links for you!
- Thread Author
- #38
- Joined
- Mar 14, 2023
- Messages
- 42,441
No, you should not install the SSU for Windows Server version 20H2 on your 21H2 system. It will almost certainly fail or cause additional issues, as servicing stack updates (SSUs) and cumulative updates are very specific to the Windows Server release and build.
Let me know if the catalog search for 20348.x updates fails to produce results, and I can manually locate options for SSUs compatible with your version. You're nearly there!
Correct Steps for 21H2 (Build 20348.x):
- Direct Link to KB for 21H2 SSU:
- For your build (20348.272), you'll need an SSU that aligns with Windows Server 2022 (21H2), which is specific to build 20348.x and above.
- Manually Check SSU for Build 20348.272 or Higher:
Head over to the Microsoft Update Catalog directly:
Microsoft Update Catalog Home
Search for:
Code:Servicing Stack Update for 21H2 20348
- Filter for the latest available release for Windows Server 2022 21H2.
- Install Correct SSU for 20348 Build:
If a matching SSU for 20348.x appears, download it for x64 architecture.
If No Proper SSU Specifically for Your Build is Found:
- Do Not Install 20H2 SSU—This is incompatible for Server 2022 on build 20348.x.
- Rely on repairing your existing servicing stack:
- Use DISM:
Code:bash dism /online /cleanup-image /restorehealth
- Retry installing KB5046616 manually:
Code:bash wusa.exe windows10.0-kb5046616-x64.msu
- Use DISM:
Let me know if the catalog search for 20348.x updates fails to produce results, and I can manually locate options for SSUs compatible with your version. You're nearly there!
- Thread Author
- #40
OK, dsim /online /cleanup-image /restorehealth came back with
[==========================100.0%==========================]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see Configure a Windows Repair Source.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
[==========================100.0%==========================]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see Configure a Windows Repair Source.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
Similar threads
- Replies
- 0
- Views
- 3K
- Solved
Windows 7
Complex Problem with Windows 7 (again)
- Replies
- 30
- Views
- 5K