Windows server 2003 and Windows XP – How to enable or disable Windows user

Posted by aidas | Posted in Command line, Windows 2003, Windows XP | Posted on 17-05-2009

0

This post will show you how to enable or disable Windows user. Lets say we have local user account “testuser” and we want to disable it.

1. COMMON WAY

Right click mouse on “My computer” and select “Manage” to open Computer Management window. Expand “Local users and groups” and select “Users”. In the right pane right click mouse on “testuser” user and select “Properties”. In “testuser Properties” window select “General” tab.

Windows user disable

To disable “testuser” check “Account is disabled”, hit “OK” and you are done.

If you want to enable “testuser” account remove check mark from “Account is disabled” and hit “OK”.

2. ADVANCED WAY

To disable “testuser” account open command line on your Windows machine and type:

net user testuser /active:no

To enable “testuser” account type:

net user testuser /active:yes

Windows server 2003 and Windows XP – How to add windows user to group

Posted by aidas | Posted in Command line, Windows 2003, Windows XP | Posted on 17-05-2009

0

This post will show you how to add local user to group on your Windows machine. Lets say we want to add local user account “testuser” to group “Administrators”.

1. COMMON WAY

Right click mouse on “My computer” and select “Manage” to open Computer Management window. Expand “Local users and groups” and select “Groups”. In the right pane right click on “Administrators” and select “Properties”.

windows user group

In “Administrators properties” window click “Add…” . Type testuser and hit “Check Names” to verify that user exists on local system. Press “OK” and you are done !

2. ADVANCED WAY

To add “testuser” to “Administrators” group open command line on your Windows machine and type:

net localgroup Administrators testuser /add

Windows server 2003 and Windows XP – How to create windows user

Posted by aidas | Posted in Command line, Windows 2003, Windows XP | Posted on 17-05-2009

0

This post will show you how to create local user on your Windows machine. Lets say we want to create local user account named “testuser” with password “Passw0rd”.

1. SIMPLE WAY

Right click mouse on “My computer” and select “Manage” to open Computer Management window. Expand “Local users and groups”, right click on “Users” and select “New User…”

windows user

In “New User” window enter this information:

User name: testuser
Password: Passw0rd
Confirm password: Passw0rd
Disable “User must change password at next logon” option.

Click “Create” button and you are done.

2. ADVANCED WAY

To create local user account “testuser” open command line on your Windows computer and type:

net user testuser Passw0rd /ADD