Question Locked

open users account from command prompt

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Could any body helpme to open users account from command prompt in windows XP,

Please let me know the command if there is any.

MD Aslam

6 replies

by p.j.hutchison

To login to another user account use:
NET USER username [password]
e.g. NET USER administrator password

To run a command as another user use:
RUNAS /USER:username command

To logout of current session:
SHUTDOWN -l

To open another user's profile:
Explorer "C:\Documents and Settings\username"

by ak_gates2010

Thats fine but what i want is to open gui window of user management in control pannel.

Like we go to control pannel and click on users account and a windows is opened.... I want this window to open from command prompt.....

Any ways thanx. information given was quite helpfull........

curious to read written from you....
MD Aslam

by cg it

no GUI in DOS mode which is what you get using the CLI.

what you want is something like Dameware or remote desktop.

by p.j.hutchison

Some more command here:
lusrmgr.msc - Open Local User manager window
control
Control nusrmgr.cpl - Open alt user manager window

NET USER userid pass /ADD - Add a username
NET USER userid /DELETE - Delete a username

by p.j.hutchison

If telnet is enabled you can login to another computer using another account from a dos prompt.

This discussion is closed to new replies.