Tuesday, February 01, 2011

Add / Delete user and include as administrator member in Windows XP Windows 7 using shell/Registery in registory

Add User
Open Notepad and add the below
net user username password /add
net localgroup Administrators /add username
pause

Save it as Create_User.bat

If your operating system is Windows Xp
Double click Create_User.bat and execute it

If your operating system is Windows 7
Right click Create_User.bat and select run as administrator

Delete User
Open Notepad and add the below
net user UserName /del

Save it as Delete_User.bat

If your operating system is Windows Xp
Double click Delete_User.batand execute it

If your operating system is Windows 7
Right click Delete_User.bat and select run as administrator

No comments: