Skip to content

Instantly share code, notes, and snippets.

@fcicq
Created April 17, 2020 19:47
Show Gist options
  • Select an option

  • Save fcicq/e33bd05f2596e1a24bdbfefbffdb6061 to your computer and use it in GitHub Desktop.

Select an option

Save fcicq/e33bd05f2596e1a24bdbfefbffdb6061 to your computer and use it in GitHub Desktop.

Revisions

  1. fcicq created this gist Apr 17, 2020.
    5 changes: 5 additions & 0 deletions SetupComplete.cmd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    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