Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

Running a Program as an Administrator or Another User

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/10/2011 9:06:03 AM
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 you run from Command Prompt is a child process of Command Prompt, you don't have to deal with any further UAC prompts. This method is excellent for situations where you need to run a sequence of programs as an administrator. Keep one administrative-level Command Prompt window open, and run your programs from the command line.

  • Type the name of the program you want to run in the Start menu search box. Then press Ctrl+Shift+Enter.

To run a program under a different user account, you can use the Runas command. Runas no longer appears on the shortcut menus for programs, as it did in Windows XP. But you can still use it from the Command Prompt window or a shortcut. The syntax is

runas /user:username programname

After you issue the command or activate the shortcut, you'll be prompted to enter the password for the specified user account. For security reasons, you cannot save the password with the shortcut. Note that the Runas command does not work with Microsoft Management Console (MMC) snap-ins.

Other -----------------
- Managing Running Programs and Processes with Windows Task Manager
- Managing Startup Programs
- Configuring Legacy Devices
- Managing Devices with Device Stage
- Managing Devices with Devices And Printers
- Monitoring Performance in Real Time (part 2) - Using Resource Monitor
- Monitoring Performance in Real Time (part 1) - Using Windows Task Manager
- Establishing a Performance Baseline
- Installing Programs on 64-Bit Editions of Windows
- Running Legacy Applications in Windows XP Mode (part 4) - Sharing Data with Windows 7
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server