Skip to content

Instantly share code, notes, and snippets.

@fcicq
Created April 17, 2020 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fcicq/e33bd05f2596e1a24bdbfefbffdb6061 to your computer and use it in GitHub Desktop.
Save fcicq/e33bd05f2596e1a24bdbfefbffdb6061 to your computer and use it in GitHub Desktop.
REG ADD HKLM\SYSTEM\Setup /v SetupType /t REG_DWORD /d 0 /f
REG ADD HKLM\SYSTEM\Setup /v SetupPhase /t REG_DWORD /d 0 /f
REG ADD HKLM\SYSTEM\Setup /v OOBEInProgress /t REG_DWORD /d 0 /f
REG ADD HKLM\SYSTEM\Setup /v CmdLine /t REG_SZ /d "" /f
net user administrator /active:yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment