Skip to content

Instantly share code, notes, and snippets.

@gsmitheidw
Created April 14, 2021 19:11
Show Gist options
  • Save gsmitheidw/d5352277e83a93672426168454becb53 to your computer and use it in GitHub Desktop.
Save gsmitheidw/d5352277e83a93672426168454becb53 to your computer and use it in GitHub Desktop.
Active Directory Commands
Requires "Windows Server Backup from Roles" & Features
wbadmin start backup -backuptarget:\\ipaddress\share -systemstate -vsscopy
Boot DSRM on command line:
bcdedit /set safeboot dsrepair
shutdown /r /f /t 5
Exit DSRM:
bcdedit /deletevalue safeboot
shutdown /r /f /t 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment