π ~1 min read
Table of contents
Symptom & Impact
After a DISM /restorehealth on Windows Server 2012 R2, optional features such as RSAT or IIS components remain in a partially installed state.
Environment & Reproduction
Reproduces when the repair source WIM lacks the full feature payload and DISM completes with limited data.
dism /online /cleanup-image /restorehealth /source:WIM:E:sourcesinstall.wim:1 /limitaccess
Root Cause Analysis
DISM only restores payloads available in the source; features missing from a Server Core WIM stay disabled even on full Desktop Experience hosts.
Quick Triage
List features that are installed but report as partially configured.
Get-WindowsFeature | Where InstallState -EQ InstallPending
Get-WindowsCapability -Online | Where State -EQ NotPresent
Step-by-Step Diagnosis
Cross-check installation media SKU and edition against the running OS.
dism /get-imageinfo /imagefile:E:sourcesinstall.wim

Solution β Primary Fix
Re-run repair against a WIM that matches the OS edition exactly and reinstall the missing features.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
dism /online /cleanup-image /restorehealth /source:WIM:F:sourcesinstall.wim:2 /limitaccess
Install-WindowsFeature RSAT-AD-Tools -IncludeAllSubFeature

Solution β Alternative Approaches
Use the FoD ISO matching the build and add capabilities via Add-WindowsCapability.
Add-WindowsCapability -Online -Name 'Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0' -Source D:FoD
Verification & Acceptance Criteria
Get-WindowsFeature reports all required roles as Installed and Get-WindowsCapability lists capabilities Present.
Get-WindowsFeature RSAT* | Format-Table Name,InstallState
Rollback Plan
Restore from system state backup if partial states persist and rebuild components.
wbadmin start systemstaterecovery -version:
Prevention & Hardening
Use the FoD ISO matching the OS build and host it on an internal share for all repair operations.
# Pin FoD ISO matching base OS build
Related Errors & Cross-Refs
Related: DISM 0x800f081f, SFC unable to repair, and FoD feature missing errors.
Related tutorial: View the step-by-step tutorial for Windows Server 2012 R2.
View all Windows Server 2012 R2 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Microsoft Learn documentation on Features on Demand and DISM repair sources.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.