Run As

D

Diane Walker

In Windows XP, you hold down the SHIFT key and right-click the mouse to run
as a different user with more Administration priviledges. I do the same
for Windows Vista and got the option to "Run As Administrator". I do not
see an option to run as a different user. Is there a way to run the program
as a different user in Windows Vista?

Thanks.
 
G

Gordon

Diane Walker said:
In Windows XP, you hold down the SHIFT key and right-click the mouse to
run as a different user with more Administration priviledges. I do the
same for Windows Vista and got the option to "Run As Administrator". I do
not see an option to run as a different user. Is there a way to run the
program as a different user in Windows Vista?

Thanks.


Why would you want to run as a different user in the first place? Surely the
only reason to do "run as" is to run with elevated privileges.....what
EXACTLY are you trying to do?
 
D

Diane Walker

Thanks for your prompt response and information. Sorry for the dumb
question. How do you use "ShellRunas"? Thanks.
 
D

Diane Walker

I want to run Active Directory for Users and Computers as a Domain Admin
account. Thanks.
 
L

Lang

Diane,

You can write a cmd file to run something as another user...

1. Create a file named Runas.cmd (just a text file, really)

2. Type this:

runas /user:<usernamehere> exename.exe

3. Save file, double click on file icon.

4. A cmd window will open and you will be prompted for the pw for the
acct being used to run the app.

5. Enter pw.

6. App runs in user context you've chosen.

Alternatively, you can open a cmd window and type the command in step 2
above, without creating the cmd file.

Good luck,

Lang
 
L

Lang

Diane said:
I want to run Active Directory for Users and Computers as a Domain Admin
account. Thanks.

runas /user:DomainName\DomainAdminAcctName dsa.msc

Enter pw for username when prompted...

Lang
 
D

Diane Walker

I ran the command from the Command Prompt window and got the error message:

RunAs Error: unable to run - dsa.msc
193: dsa.msc is not a valid win32 application

Do you have any suggestions? Thanks.
 
L

Lang

Diane said:
I ran the command from the Command Prompt window and got the error message:

RunAs Error: unable to run - dsa.msc
193: dsa.msc is not a valid win32 application

Do you have any suggestions? Thanks.

Yeah, sorry... assumed more than I should have, I guess. The AD MMC
plug-ins are part of the Admin Tool Pack. (Dsa.msc being one of those
mmc plug-ins.)

Look here:

http://www.microsoft.com/downloads/...97-23CE-4A36-B7FC-D52065DE9960&displaylang=en

or just Google "Microsoft Remote Server Administration Tools for Windows
Vista (KB941314)"

After installing the Admin tools, you should have dsa.msc on your local box.

Good luck,

Lang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top