You can use the "Run as" feature to run a program, MMC console, or Control Panel tool by using the credentials of a user other than the currently-logged on user. This makes it possible for a user with multiple accounts to run a program as a different user. For example, you can use the "Run as" feature to start a program as an administrator if you want to perform administrative tasks when you are logged on as a member of another group, such as the Users or Power Users group.
To use the "Run as" feature, the Secondary Logon service must be running.
- Log on as Administrator or as a member of the Administrators group.
- Click Start, point to Administrative Tools, and then click Computer Management.
- Expand Services and Applications, and then click Services.
- In the right pane, right-click Secondary Logon, and then click Properties.
- Click the General tab.
- In the Startup type box, click Automatic, and then click Start under Service status.
- Click OK, and then close the Computer Management window.
- Locate the program that you want to start in Windows Explorer, the Microsoft Management Console (MMC), or Control Panel.
- Press and hold down the SHIFT key while you right-click the .exe file or icon for the program, and then click Run as.
- Click The following user.
- In the User name and Password boxes, type the user name and password of the user whose credentials you want to use to run the program, and then click OK.
- Some programs may not support the use of the runas command.
- The runas command does not function correctly when you run it by using the LocalSystem account.
- You may not be able to start a program, MMC console, or Control Panel tool from a network location by using the "Run as" feature if the credentials you use to connect to the network share are different from the credentials you use to start the program. The credentials that are used to run the program may not be able to gain access to the same network share.
ID articol: 325859 - Ultima examinare: 16 iun. 2009 - Revizie: 1