DISM and component servicing error
0x800F0907 CBS_E_GROUPPOLICY_DISALLOWED
Group policy stopped Windows from downloading the files it needed. Common on work PCs managed by an update server.
Where you will see it
- Turning on .NET Framework 3.5
- Optional features
Likely causes, most common first
- A policy that sends updates to WSUS or blocks Windows Update downloads.
- The policy Never attempt to download payload from Windows Update, with no alternate source path set.
How to fix it, in this order
Start with the first fix and check the result before moving on; each one says how to tell that it worked.
1. Ask the PC's administrator, or give DISM a source (moderate)
- On a work PC, ask IT to allow the feature install.
- Or install it from installation media with DISM /Source (see 0x800F081F).
It worked if: The feature shows as installed in Windows features.
2. Check the local policy on your own PC (Pro, Enterprise, Education) (moderate)
- Press Win+R, type gpedit.msc and press Enter.
- Open Computer Configuration, Administrative Templates, System, and double-click Specify settings for optional component installation and component repair.
- If it is Enabled with Never attempt to download payload from Windows Update ticked, untick that box or fill in an Alternate source file path, then press OK.
- In Terminal (Admin) run gpupdate /force, then turn the feature on again.
It worked if: The feature downloads and shows as installed in Windows features.
What Microsoft's documentation says
Microsoft's own wording for this code, quoted from the page named under each quote. The plain-English explanation and the fixes above are ours.
“This error code occurs if an alternative installation source is not specified or is invalid and if the Specify settings for optional component installation and component repair Group Policy setting is configured to Never attempt to download payload from Windows Update.”
The same code, written other ways
Search a log or a forum for any of these; they are all this code.
- 0x800F0907 (what Windows Update, DISM and installers print)
- -2146498297 (signed decimal, as PowerShell and some logs show it)
- 2148468999 (unsigned decimal)
How the code is put together
Read from the bits as Microsoft's [MS-ERREF] Windows Error Codes specification lays them out.
- Severity: 1 (failure) (bit 31)
- Customer bit: 0 (Microsoft) (bit 29)
- NTSTATUS inside: 0 (bit 28)
- Facility: 15 (FACILITY_SETUPAPI) (bits 16-26)
- Code: 2311 (0x907) (bits 0-15)
Codes that often come with it
- 0x800F081F CBS_E_SOURCE_MISSING
The source files could not be found: Windows servicing needed files for a feature or update and could not get them.
More than one code in your log?
Paste the whole CBS, DISM or Windows Update log into the decoder. It lists every code in it, in order, with the line it was on. Decoded in your browser; nothing is sent.
Open the error code decoder →Helping someone with the same problem?
Send them this page, or link to it from a forum reply or your own site.