This guide shows you how to bring back Windows features that were stripped out of a lightweight or debloated Windows 11 installation. You’ll learn how to re-enable built-in components like Windows Defender, Print and Scan services, and legacy tools using built-in Windows tools, without needing to reinstall the whole operating system. Before starting, make sure you have administrator access and a stable internet connection, as some features may require downloading files from Windows Update.
What You’ll Need
- A Windows 11 PC with administrator privileges
- Internet connection (for features that need Windows Update)
- Patience – some steps require a reboot
Step-by-Step
-
Open Windows Features Dialog
Press Win + R, typeoptionalfeatures, and press Enter. This opens the “Windows Features” window, which lists all built-in components that can be turned on or off. -
Check What’s Missing
Scroll through the list. Lightweight installs often remove things like “Print and Document Services”, “Windows Defender Application Guard”, “Media Features”, or “Legacy Components”. If a feature you need is unchecked or entirely absent, that’s what you’ll restore. -
Re-enable a Feature
Check the box next to the feature you want. For example, if printing isn’t working, expand “Print and Document Services” and check “Internet Printing Client” and “Windows Fax and Scan”. Click OK. Windows will apply the changes – this can take a few minutes. -
Reboot When Prompted
If Windows asks you to restart, do it. Some features only become active after a reboot. If no prompt appears, a restart is still a good idea to ensure everything loads cleanly. -
Use DISM to Add Removed Packages
If a feature is completely missing (not just unchecked), it may have been removed as a package. Open Command Prompt as Administrator (right-click Start → “Terminal (Admin)” or “Command Prompt (Admin)”) and run:DISM /Online /Get-FeatureInfo /FeatureName:Printing-Foundation-Features
ReplacePrinting-Foundation-Featureswith the feature you need. If it shows “Disabled”, you can enable it with:DISM /Online /Enable-Feature /FeatureName:Printing-Foundation-Features /All
The/Allflag also installs parent features. -
Restore Windows Defender
If Defender was removed, open PowerShell as Administrator and run:Set-MpPreference -DisableRealtimeMonitoring $false
If that fails, you may need to reinstall Defender via Settings → Privacy & Security → Windows Security. If the whole app is gone, run:Get-AppxPackage Microsoft.Windows.SecHealthUI | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} -
Reinstall Removed Apps via PowerShell
For missing built-in apps (Calculator, Photos, Notepad), open PowerShell as Admin and run:Get-AppxPackage -AllUsers | Where-Object {$_.Name -like "*WindowsCalculator*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
ReplaceWindowsCalculatorwith the app’s package name (e.g.,Microsoft.Photos,Microsoft.WindowsNotepad). -
Use Windows Update to Fill Gaps
Sometimes features are tied to cumulative updates. Go to Settings → Windows Update → Check for updates. Install all pending updates, then check if the missing feature appears inoptionalfeaturesagain. -
Verify the Feature Works
After enabling, test the feature. For printing, try adding a printer. For Defender, open Windows Security and run a quick scan. If it works, you’re done.
Common Mistakes
- Skipping the reboot – many features won’t activate until you restart.
- Using the wrong DISM feature name – copy the exact name from
Get-WindowsOptionalFeature -Online(PowerShell) or the DISM output. - Running commands without admin rights – all DISM and PowerShell commands must be run as Administrator, or they’ll fail silently.
- Forgetting that some features need parent components – use
/Allwith DISM to install dependencies automatically. - Trying to reinstall an app that was removed via package removal – if the Appx package is gone, the
Add-AppxPackagecommand won’t work; you may need to download the app from the Microsoft Store instead.
Tips
- Before making changes, create a system restore point (search “Create a restore point” in Start). This lets you roll back if something breaks.
- Use
DISM /Online /Get-FeatureInfo /Format:Tableto list all features and their states – it’s easier to read than the GUI. - If you’re restoring a feature for a specific app, check that app’s documentation for which Windows feature it needs.
- For lightweight installs that removed the Store, you can reinstall it with a single PowerShell command:
wsreset -i(run in Command Prompt as admin). - Keep a list of what you removed originally – that makes restoration much faster.
Troubleshooting
Feature doesn’t appear after enabling
Try running DISM /Online /Cleanup-Image /RestoreHealth as Admin. This fixes corrupted system files that might prevent the feature from installing.
DISM says “Error: 0x800f081f”
This means the source files are missing. You can point DISM to a Windows 11 ISO or USB drive: DISM /Online /Enable-Feature /FeatureName:... /Source:D:\sources\install.wim /All (replace D: with your drive letter).
Windows Security won’t open after reinstalling Defender
Run the PowerShell command again, but first uninstall the app package completely: Get-AppxPackage Microsoft.Windows.SecHealthUI | Remove-AppxPackage, then reinstall with the Add-AppxPackage command above.
Printing still broken after enabling Print Services
Check that the Print Spooler service is running. Press Win + R, type services.msc, find “Print Spooler”, right-click and Start it, then set its startup type to Automatic.
Feature is enabled but app doesn’t see it
Some apps cache system capabilities at launch. Close the app completely and restart it. If that fails, reboot again.
Windows Update fails after restoring features
Run DISM /Online /Cleanup-Image /RestoreHealth then sfc /scannow in an admin Command Prompt. Then retry Windows Update.
Frequently Asked Questions
Q: Can I restore all missing features at once?
A: No, but you can enable multiple checkboxes in the Windows Features dialog before clicking OK. For DISM, you’d need to run one command per feature.
Q: Will restoring features slow down my lightweight Windows 11?
A: Some features add background services (like Defender). The impact is usually minimal, but you can disable them again later if you don’t need them.
Q: What if a feature isn’t listed in optionalfeatures at all?
A: It was likely removed as a package. Use DISM to check if it exists: DISM /Online /Get-Features. If it’s not there, you may need to repair Windows using an ISO.
Q: Do I need to reinstall Windows to get back removed apps?
A: No. Most built-in apps can be reinstalled via PowerShell or the Microsoft Store. Only a few system components (like the old Paint) require feature restoration.
Q: Is it safe to use DISM commands?
A: Yes, DISM is a built-in Windows tool. As long as you run it as Administrator and use the correct feature names, it won’t harm your system.
Q: Why did the lightweight install remove these features in the first place?
A: To reduce disk usage and background processes. Restoring them adds back the functionality but also the associated system overhead.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Change Google Text-to-Speech Voice on Android
- How to Adjust Volume Levels on a Windows PC
- Reset Chrome Sync to Fix Problems
- Fix Mouse Not Working in Windows 11
- Fix Windows Defender Failed to Initialize Error
- Windows 11 KB5083769 Boot Loop: Fix Steps