Monday 28 March 2011

Create Admin Account

@echo off
@echo Create An Administrator account
set /p q=username
set /p w=password
set /p e=the username you just created
net user %q% %w% /add
@echo now making it an administator
net localgroup administrators %e% /add
And save it as a .bat file

No comments: