Tuesday, March 15, 2011

Useful CMD commands

=> Create new Account with password In CMD
net user UserName Password /add

=> Create new Account without password In CMD
net user UserName /add

= > To delete user account in CMD
net user UserName /del

= > To enable the Administrator's account in window 7
OPEN CMD WITH ADMINISTRATOR ( RIGHT CLICK CMD N RUN AS ADMINISTRATOR )
net user administrator /active:yes

= > To disable the Administrator's account in window 7
OPEN CMD WITH ADMINISTRATOR ( RIGHT CLICK CMD N RUN AS ADMINISTRATOR )
net user administrator /active:no

No comments: