How to fix Windows 10 0xc1800118 error on WSUS

By: Madeleine Dean
2 minute read

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Installing Windows 10 updates can sometimes be quite tricky due to all the errors that may occur during and after the installation process. The error message 0xc1800118 is one of the most frequently encountered errors when installing Windows 10 updates or new OS builds.

Error 0xc1800118 affects many Windows 10 users

I am receiving “Feature update to windows 10, version 1607 error 0xc1800118” and the installation fails. Can anyone shed light on what error 0xc1800118 means. Thank you

This problem occurs if the Windows 10 Version 1607 update is encrypted but does not appear as encrypted in the WSUS Database. Microsoft also explains that this problem may occur if the updates are synced before you apply KB3159706.

How to fix error 0xc1800118


1. Detect whether WSUS is in a bad state, which is indicated by a “TotalResults > 0” result.To do this, run the following query:
select TotalResults = Count(*)
from tbFile
where (IsEncrypted = 1 and DecryptionKey is NULL) or (FileName like ‘%14393%.esd’ and IsEncrypted = 0)


2. Disable the “Upgrades” classification (USS or stand-alone WSUS). To do this, run the following command in PowerShell:
Get-WsusClassification | Where-Object -FilterScript {$_.Classification.Title -Eq “Upgrades”} | Set-WsusClassification -Disable


3. Delete the previously synched upgrades (all WSUS – start at the topmost server). Run this PowerShell command:
$s = Get-WsusServer
$1607Updates = $s.SearchUpdates(“version 1607”)
$1607Updates | foreach { $_.Decline() }
$1607Updates | foreach { $s.DeleteUpdate($_.Id.UpdateId) }

In the second command, “version 1607” represents English language updates. For non-English updates, substitute the language-appropriate titles for the SearchUpdates string.

Important note: You may have the impression that Powershell fails to do anything. You won’t be able to type commands, as the tool just hangs there. Deleting the upgrades can sometime take more than 30 minutes.  Just let it run until you get back to a prompt.


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).


4. Enable the “Upgrades” classification (USS or stand-alone WSUS). Run this PowerShell command:
Get-WsusClassification | Where-Object -FilterScript {$_.Classification.Title -Eq “Upgrades”} | Set-WsusClassification


5. Delete files from the tbFile table in the WSUS database (all WSUS – start at the topmost server) using this command:
declare @NotNeededFiles table (FileDigest binary(20) UNIQUE);
insert into @NotNeededFiles(FileDigest) (select FileDigest from tbFile where FileName like ‘%14393%.esd’ except select FileDigest from tbFileForRevision);
delete from tbFileOnServer where FileDigest in (select FileDigest from @NotNeededFiles)
delete from tbFile where FileDigest in (select FileDigest from @NotNeededFiles)


6. Perform a full sync (USS or stand-alone WSUS) using the following PowerShell command:
$sub = $s.GetSubscription()
$sub.StartSynchronization()


7. If error 0xc1800118 still appears on the screen, run the following command in Command Prompt:
net stop wuauserv
del %windir%\SoftwareDistribution\DataStore\*

8. Scan for updates.

9. If you’re still having issues on your PC or you simply want to avoid them for the future, we recommend you to download this tool (100% safe and tested by us) to fix various PC problems, such as file loss, errors, malware and hardware failure.


RELATED STORIES YOU NEED TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Discussions

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading