Home / Microsoft / Microsoft DOS / Change user in command prompt
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: 1 2 [All] - (Bottom) Print
Author Topic: Change user in command prompt  (Read 6683 times)
ŽOŠK
Guest
« on: April 11, 2007, 05:39:20 AM »

Hey! I'm a new member and I don't have enough time to read all the topics so I'm very sorry if someone else has asked about that before.
So, my question is: Is it possible to change user accounts in command prompt and how?

I know it is possible in Linux, but I want to learn how to do this in Windows Command Prompt.

Greetings!  8)
IP logged
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #1 on: April 11, 2007, 05:41:27 AM »

Please mention what OS you're using?
and
Do you want to create a new user or switch accounts?
IP logged

ŽOŠK
Guest
« Reply #2 on: April 11, 2007, 05:48:08 AM »

The OS I use is Windows XP
I want to switch accounts, not to create a new one
IP logged
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #3 on: April 11, 2007, 06:07:28 AM »

I don't think that is possible. You can edit accounts and stuff but i don't think you can switch users......
I searched for it and i didn't find anything. I could be wrong so wait for more replies.
IP logged

ŽOŠK
Guest
« Reply #4 on: April 11, 2007, 06:17:26 AM »

OK. Well, I actually don't want exactly to "switch" accounts. What I want is, for example, if I use a Limited account to be able to get the privileges of an Administrator. I used Fedora Core, so I'm sure it is possible in Linux but I don't know how to do it in Windows command prompt.
IP logged
GX1_Man
Moderator
Mastermind


Thanked: 23
Posts: 18,215

Because beige is beautiful !!!

« Reply #5 on: April 11, 2007, 06:33:35 AM »

Who's machine are you trying to hack with this? There would be no benefit to a home user that I can see.
« Last Edit: April 11, 2007, 11:24:10 AM by GX1_Man » IP logged

Please post as much information about your computer, operating system, and problem as possible, what happened prior to problems, etc. Too much info is OK, too little is pointless! Don't just say "My computer doesn't work. What's wrong?"
ŽOŠK
Guest
« Reply #6 on: April 11, 2007, 06:49:47 AM »

HAHA! I think you're wrong. See:
I use a Limited account. To switch on the Administrator Acount on my computer I need at least 5 minutes. Very often an error appears when I switch the accounts so I have to restart the computer and it takes more time. So if I want to so something that requires an administrator privileges I have to waste much time. For me it is absolutely inconvenient. There are some reasons why I can't use an Admin account but they are considered by the security of my system. So my account is Limited and I have to switch very often to an administrator which is absolutely inconvenient as i said.
IP logged
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #7 on: April 11, 2007, 06:55:31 AM »

Quote
Who's machine
IP logged

Sidewinder
Guru



Thanked: 97
Posts: 4,341

Experience: Familiar
OS: Windows 7

« Reply #8 on: April 11, 2007, 07:03:23 AM »

You can use the runas utility provided you know both the administrator logon and the password. This is not a hack and actually is documented in the XP Help and Support for this very purpose.

 8)
IP logged

If you don't know where you are going, any road will get you there

                                                                            -Lewis Carroll
ŽOŠK
Guest
« Reply #9 on: April 11, 2007, 10:27:41 AM »

Yeah I know about run as but what if I want to have an access as an administrator?! Also sometimes I have problems with some instalation files if I use the run as utility.
IP logged
GX1_Man
Moderator
Mastermind


Thanked: 23
Posts: 18,215

Because beige is beautiful !!!

« Reply #10 on: April 11, 2007, 11:26:16 AM »

HAHA! I think you're wrong. See:
I use a Limited account. To switch on the Administrator Acount on my computer I need at least 5 minutes. Very often an error appears when I switch the accounts so I have to restart the computer and it takes more time. So if I want to so something that requires an administrator privileges I have to waste much time. For me it is absolutely inconvenient. There are some reasons why I can't use an Admin account but they are considered by the security of my system. So my account is Limited and I have to switch very often to an administrator which is absolutely inconvenient as i said.

Too many questions remain. Good luck, though.
IP logged

Please post as much information about your computer, operating system, and problem as possible, what happened prior to problems, etc. Too much info is OK, too little is pointless! Don't just say "My computer doesn't work. What's wrong?"
Sidewinder
Guru



Thanked: 97
Posts: 4,341

Experience: Familiar
OS: Windows 7

« Reply #11 on: April 11, 2007, 12:44:43 PM »

HAHA! I think you're wrong. See:
Very often an error appears when I switch the accounts so I have to restart the computer and it takes more time.

Can you document the error?

Quote
Yeah I know about run as but what if I want to have an access as an administrator?! Also sometimes I have problems with some instalation files if I use the run as utility.

What problems?

If you have an administrator login and the password, you should be able to use fast user switching to switch into an administrator account.

Either there is more to this story (a school computer perhaps?) or the system has other problems.

Microsoft spends big bucks preventing back door elevations of privileges.  8)
IP logged

If you don't know where you are going, any road will get you there

                                                                            -Lewis Carroll
ŽOŠK
Guest
« Reply #12 on: April 11, 2007, 01:02:58 PM »

Can you document the error?

Well, the system crashes and doesn't allow me to type the Administrator's username and password.

What problems?

For example if I want to update my skype and I run the install file using run as after finishing the installation the new version is not installed and I have to switch on Administrator's account to install it.

Either there is more to this story (a school computer perhaps?) or the system has other problems.

It is  my computer at home.

But, guys, of course I can switch the accounts in normal way, of course I can use runas , I'm just interestig i it is possible to get an administrator's privileges from Command Prompt. I don't want to hack anything (hah only I know the administrator's password on my computer  :P).
IP logged
Zylstra
Moderator
Hacker



Thanked: 37
Posts: 5,274

Certifications: List
Experience: Guru
OS: Windows 7
The Techinator!

Technology News and Information 1
« Reply #13 on: April 11, 2007, 02:18:52 PM »

Try pressing the Windows Logo Key and L
(WinLogo+L)
If you have the administrator password, then you can log in as Admin.

If User Account Switching is dissabled, it must be installed first.

Click Start, then Logoff, and select "Switch User" to do the same as Logokey+L
IP logged

diablo416
Guest
« Reply #14 on: April 11, 2007, 09:11:46 PM »



if your an xp user you dont have to switch users to be administrator,
i think its in the right click menu of the file you want access to.. but you do need to no the administrators password..
IP logged
patio
Moderator
Genius



Thanked: 1069
Posts: 11,354

Experience: Beginner
OS: Windows 7


Maud' Dib

« Reply #15 on: April 12, 2007, 08:48:21 AM »



if your an xp user you dont have to switch users to be administrator,
i think its in the right click menu of the file you want access to.. but you do need to no the administrators password..

Wrong.
IP logged

   
"
All generalizations are false, including this one.  "
ŽOŠK
Guest
« Reply #16 on: April 12, 2007, 02:52:41 PM »

Well, guys, I suppose only this is close to what I was looking for:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx?mfr=true
I've been searching for a long time and I didn't found anything else.
Enjoy  ;)
IP logged
kvasten
Guest
« Reply #17 on: April 12, 2007, 02:57:56 PM »

i know a way to get administrator. get the computer in securemode. (im not sure if it named secure mode) but if you turn off the computer and turn on and off. then you can get into a account which only open things that you need. that user is administrator!
IP logged
diablo416
Guest
« Reply #18 on: April 12, 2007, 07:46:57 PM »



if your an xp user you dont have to switch users to be administrator,
i think its in the right click menu of the file you want access to.. but you do need to no the administrators password..

Wrong.


it does exist , my computer now doesent have it either.. but i have seen it, it might be something you have to enable first..
IP logged
Kip
Apprentice



Thanked: 21
Posts: 413

Computer: Specs
Experience: Experienced
OS: Linux variant



Kip's Developement Projects 1 1
« Reply #19 on: April 13, 2007, 07:04:09 AM »

if your an xp user you dont have to switch users to be administrator,
i think its in the right click menu of the file you want access to.. but you do need to no the administrators password..

Do you mean "Run as..."?

It looks like it might work for programs but I have not tested it.
IP logged

Happiness is not getting what you want, it is wanting what you get.
goodnatureddog
Guest
« Reply #20 on: April 13, 2007, 10:15:59 AM »

ok, but is it possible to switch your self from limited to admin through OS on xp
IP logged
patio
Moderator
Genius



Thanked: 1069
Posts: 11,354

Experience: Beginner
OS: Windows 7


Maud' Dib

« Reply #21 on: April 13, 2007, 10:44:16 AM »



if your an xp user you dont have to switch users to be administrator,
i think its in the right click menu of the file you want access to.. but you do need to no the administrators password..

Wrong.


it does exist , my computer now doesent have it either.. but i have seen it, it might be something you have to enable first..

Where ?
IP logged

   
"
All generalizations are false, including this one.  "
Zylstra
Moderator
Hacker



Thanked: 37
Posts: 5,274

Certifications: List
Experience: Guru
OS: Windows 7
The Techinator!

Technology News and Information 1
« Reply #22 on: April 13, 2007, 02:26:54 PM »

ok, but is it possible to switch your self from limited to admin through OS on xp
Yes
You click Start, then Log off (the picture of keys) and then "Switch Users"
This is how you do this.

If you are having problems with this, then please confirm the following:
I have Antivirus
I have Antispyware/adware
I have a valid copy of Windows XP
IP logged

uli_glueck
Guest
« Reply #23 on: April 16, 2007, 06:26:52 AM »

Seems you mean the "SU" command.
It is in Windows Ressource Kit
Check this link:
http://www.ss64.com/nt/su.html

hope it helps
uli
IP logged
ŽOŠK
Guest
« Reply #24 on: April 18, 2007, 10:54:12 AM »

Sorry, can you give me an example about this:
http://www.ss64.com/nt/su.html
IP logged
uli_glueck
Guest
« Reply #25 on: April 20, 2007, 07:00:25 AM »

You have to install the command on your machine and give the account the necessary rights. Read the helpfile of the command. There is also an example in the helpfile.

uli
IP logged
Pages: 1 2 [All] - (Top) Print 
Home / Microsoft / Microsoft DOS / Change user in command prompt « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.124 seconds with 19 queries.