Discussion Locked

open programs as a different user

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

I need to be able to run/open programs as the administrator while I am logged onto my own account.

I wouldn't have thought this could be done, but it would be a great help if i could.

3 replies

by sprocket

Windows 2000 comes with a commandline utility, runas.exe , which allows you to run a program using the access rights of that user. What is required is the User name, Password, and Domain. For example, if you are logged onto Windows 2000 Professionalwith a normal user account and need to edit the registry, you can do so without having to logoff and back on with admin account.

runas /user:domain\myadminaccount regedt32.exe

Runas can be used to start any program, MMC console, or Control Panel item as long as the following requirements are met:

You provide the appropriate user account and password information.
The user account has the ability to log on to the computer.
The program, MMC console, or Control Panel item is available on the system and to the user account.
Using Runas across the network may fail. The credentials used to run the program may not have adequate access to the network share. If you try to start a program, MMC console, or Control Panel item from a network location using Run as, it might fail because the credentials used to connect to the network share are different from the credentials used to start the program.

Hope this helps.

This discussion is closed to new replies.