Skip to content

Instantly share code, notes, and snippets.

@HiteaFR
Created September 26, 2023 20:15
Show Gist options
  • Save HiteaFR/1d95b3c9d7334c891bec8c46762c43ad to your computer and use it in GitHub Desktop.
Save HiteaFR/1d95b3c9d7334c891bec8c46762c43ad to your computer and use it in GitHub Desktop.
Ré-installer une fonctionnalité Windows Serveur supprimée
# Example for Windows Backup Feature
# Get info for the desired Feature
Dism /online /Get-FeatureInfo /FeatureName:WindowsServerBackup
# Mount an WinSxs folder from other server with net use. You can use credentials
net use p: \\SERVER_PATH\c$\Windows\WinSxS /user:USERNAME PASSWORD
# Finally, you can restore the feature
DISM /Online /Enable-Feature /FeatureName:WindowsServerBackup /All /LimitAccess /Source:P:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment