Running a Program as an Administrator or Another User

As mentioned earlier in this chapter, you can run a program as an administrator by right-clicking any shortcut for the program (in the Start menu or elsewhere), choosing Run As Administrator, and satisfying the UAC prompt with either consent or credentials. Here are two additional ways to do it:

  • Start a Command Prompt session as Administrator (by right-clicking a shortcut for Cmd.exe and choosing Run As Administrator). Then, in the Command Prompt window, type the name of the executable file for whatever program you want to run as administrator. To run Registry Editor, for example, type regedit. Because you’ve already passed UAC inspection for the Command Prompt session, and because whatever ...

Get Windows Vista® Inside Out Deluxe Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.