Social Icons

Wednesday 1 August 2012

How to Add and Del User From Command Prompt and Give Administrator And Local Group Access Easy

You can create user accounts separate for each person that will be using your computer. This will allow each Windows user to have their own settings, documents folder, visual style, wallpaper and so on. So separate account for every computer user is much better idea and you can do this simple from command line. To create a new user in windows or to delete a user just follow the steps below.

This guide is tested in Windows XP, Vista and Windows 7.

To add a new user account

Step-1

Press Windows Key + R then type in “cmd” (without quotes) and hit enter, this will run command line

Step-2

In command line type this command net user UserName Password /add

Where:
UserName = Name of the user account
Password = Password of the user account

add-new-widnows-account-using-cmd

See the new user account has been added (Start Menu > Control Panel > Users)

add-new-widnows-account-using-cmd-2

To delete user account

Step-1

Press Windows Key + R then type in “cmd” (without quotes) and hit enter, this will run command line

Step-2

In command line type this command net user UserName /del

Where:
UserName = Name of the user account that you want to delete

remove-widnows-account-using-cmd-1

TIPS NO 2

In Windows computer we can add users to a group from command line. We can use net localgroup command for this.

net localgroup group_name UserLoginName /add

For example to add a user to administrators group, we can run the below command. In the below example I have taken username as John.

net localgroup administrators John /add

Few more examples:

To add a domain user to local users group:

net localgroup users domainname\username /add

This command should be run when the computer is connected to the network. Otherwise you will get the below error.

0 comments:

Post a Comment

make-money-468x60