-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathv3beta
More file actions
28 lines (28 loc) · 1.64 KB
/
v3beta
File metadata and controls
28 lines (28 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
echo ----------------------WARNING----------------------
echo This will only work on NEWLY installed windows installations.
echo ---------------------------------------------------
set /p UserName=Please enter a new account username:
net user %UserName% /add
NET LOCALGROUP Administrators %UserName% /ADD
echo Created Account %UserName%
echo -----------------------------------------------------------------------------------------
echo Adding necessary registry edits........
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OOBE" /f /v "DisablePrivacyExperience" /t REG_DWORD /d 1
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Polices\System" /f /v "EnableCursorSupprression" /t REG_DWORD /d 0
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup" /f /v "OOBEInProgress" /t REG_DWORD /d 0
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup" /f /v "SetupPhase" /t REG_DWORD /d 0
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup" /f /v "SetupType" /t REG_DWORD /d 0
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /f /v "VerboseStatus" /t REG_DWORD /d 1
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup" /f /v "CmdLine" /t REG_SZ /d " "
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup" /f /v "RespecializeCmdLine" /t REG_SZ /d " "
echo -----------------------------------------------------------------------------------------
echo Adding necessary system edits....
net user Administrator /active:no
echo -----------------------------------------------------------------------------------------
echo Done! Would you like to restart?
set /p restart?=Please press Y or N:
If /I "restart?%"=="Y" goto restart
:restart
shutdown /r
:no
pause>null