Run As Administrator Xp

Learning has never been so easy!

How to Run CMD As Admin from Search. Enter cmd into Windows 10 search. When Command Prompt is displayed in the search result, there are 2 methods to Run as administrator – Right-click Command Prompt and select Run as administrator. Another way is to look beneath Command Prompt (right pane) and click Run as administrator. It's possible that if you're not running an Administrator account, certain things don't show up in the Start menu, like the Command Prompt. Forgot about that possibility. But I'm not completely sure, since I usually only work with Admin accounts on XP and Vista.

This How-to will show you the proper method to run the MMC with an elevated administrator account, prompting for a password every time.

Edit: Just to make this clear; this creates a shortcut so you only have to enter your admin password. You do not have to right-click an .exe every time and put in your credentials and password.

Learn, in this guide, how to activate the hidden administrator account in Windows XP (Instructions for Windows Vista/7.) Activate the Hidden Administrator Account. To active the administrator account, you should do the following (please note the administrator account is available in Safe Mode without registry editing.) Open Regedit and navigate to.

4 Steps total

Step 1: Open MMC manually with admin account

At the cmd line, open MMC with elevated privileges using the RunAs cmd;

C:WindowsSystem32runas.exe /user:domainusername 'mmc'

Use your own admin domainusername. You will be prompted for your password.

Step 2: Load snap-ins to MMC

Go to File>Add/Remove Snap-in...or hit CRTL+M.

Add all that you need to fill this 'toolbox'.

Once finished, got to File>Options...and rename the Console to something more descriptive.

Then change the Console mode to User mode - full access. Hit OK, then go to File>Exit to save this as a .msc file.

Save/move this .msc file to a known location on your C: drive. Something like C:toolbox.

Step 3: Create shortcut to .msc file

On your desktop (or wherever you will launch this from), create a new shortcut and point to any file. It doesn't matter which one as we will be changing this shortly.

Open the properties of the shortcut, and change the Target to use the RunAs cmd like this;

C:WindowsSystem32runas.exe /user:domainusername 'mmc C:path_to_Admin_ToolsAdmin_Tools.msc'

Change the Start in field to wherever the .msc directory is;

C:path_to_Admin_Tools

You can change the icon here as well by clicking Change Icon...and selecting the %SystemRoot%System32mmc.exe file to get the MMC icon.

Step 4: Launch MMC with admin credentials

Double-clicking the shortcut will bring up a cmdline prompt, asking for your admin password. Enter it and you are running the MMC with the .msc file loaded, as an admin.

To make any changes to the .msc file, find it and right-click the file, selecting Author.

All being well, you should have a new shortcut which will load your MMC in the proper context.

Published: Nov 09, 2017 · Last Updated: Nov 14, 2017

Run Windows Update As Administrator

14 Comments

  • Cayenne
    rbleattler Nov 9, 2017 at 08:58pm

    Thanks for that. This is definitely some useful information to have!

  • Sonora
    NoAutoSummary Nov 10, 2017 at 12:47am

    Yours' was the first post I liked on SpiceWorks. Interesting content that can make my day a little better. Thanks!

  • Ghost Chili
    Briser_fae_the_broch Nov 10, 2017 at 09:54am

    Nice one, really useful as well! It can be really annoying to be logged in as a Domain Admin and still have to force extra admin privs out of the machine

  • Pimiento
    Jason5542 Nov 10, 2017 at 03:17pm

    You can also Shift-Right Click on 'MMC' from the start menu and click 'Run as different user.' This will prompt for credentials so just use your domain admin creds instead of logging in and out.

  • Chipotle
    stephen jabs Nov 10, 2017 at 03:24pm

    Pressing Ctrl-Shift as you are clicking on any app or search result will open it with Administrator privileges.

    So if you click Start, then type MMC, hold down Ctrl-Shift when you click on it.

  • Cayenne
    CarlosTech Nov 10, 2017 at 04:20pm

    you can cut this down further.
    -Create the '.msc' file (with elevated privileges) and save it.
    -Create a 'Shortcut' to the .msc file
    -Then right-click the shortcut click 'Properties' then the 'Advanced' button, you get the option to 'Run as administrator' (which applies to the shortcut)

    you then get an elevated privilege prompt when you double click the .msc shortcut.

  • Poblano
    TC-Marcus Nov 10, 2017 at 05:00pm

    glad to see the answer to my question yesterday being readily shared with others!

  • Poblano
    Kory.Keenan Nov 20, 2017 at 09:40pm

    When I step 1 from an admin command prompt, I get RUNAS ERROR: Unable to run - mmc 740: The requested operation requires elevation.

  • Sonora
    brandonmoncrief2 Nov 21, 2017 at 05:14am

    Kory,
    Try this

    Runas / user:domainusername powershell.exe

    Once the new admin powershell opens type mmc

  • Pimiento
    mjamm Nov 28, 2018 at 01:01am

    There are multiple ways to open the MMC's as an Administrator, however, if you follow these instructions, the .msc file will allow you to enter your admin credentials 'ONCE' and then bounce from one MMC snap-in to another without having to re-enter your credentials.

  • Sonora
    dcontibr Nov 30, 2018 at 05:57pm

    Hello pmandryk,

    I followed all the instructions but when I get prompted to enter my password nothing else happens, it just close the CMD window.

    Any suggestions?

    Thanks

  • Serrano
    pmandryk Nov 30, 2018 at 07:53pm

    My advice would be to run each piece separately and once they all work, then join the command together.
    So, perform the 'mmc C:path_to_Admin_ToolsAdmin_Tools.msc' first on the cmd line, then the runas to run that cmd, then create the shortcut.
    The most important is this 'mmc C:path_to_Admin_ToolsAdmin_Tools.msc'.

    Paste what your process and I'll have a look.

  • Serrano
    bryndonbooth Dec 5, 2018 at 12:53am

    I'd already tried the runas from the command line to run dsa.msc (AD users and computers). Which requires elevation so the cmd window closes after pw input without opening the console.

    As Carlostech pointed out, yes, you can modify the shortcut to run with admin rights. However this gave me a credential window to put in my admin account details, both username AND password before the runas command window for the password prompt. Not ideal.

    Of course the whole point is to be able to open the console with my admin credentials when I am logged in with my non-admin account.

    Any other bright ideas?

  • Sonora
    dcontibr Dec 21, 2018 at 10:54pm

    I found this solution online which resolved my issue.

    Change the Target filed with the following:

    C:WindowsSystem32runas.exe /user:DOMAINUSERNAME 'cmd /c mmc C:Path_to_Admin_ToolsAdmin_Tools.msc'

Control panel shows links to various configuration utilities, which are handy for administrators for computer maintenance. Run command to open control panel is ‘control’.

Open control panel from Run

You can follow the below steps to open control panel from Run window.

Enable Run As Administrator Xp

  1. Open Run window from Start menu. Alternatively, you can press the shortcut key combinations [Windows]+[R]
  2. Type in control and press enter.

This works on all Windows editions – Windows 7, Windows 7 and Server 2008, Server 2012 editions.

Run Control panel as administrator

Run

We can use runas command to launch any program with a different user credentials. If you need to run control panel with administrator privileges, use the below command. We can run this either from Run window or from command prompt. In both the cases you would be prompted for administrator’s password.

Run Control Panel As Administrator Xp

Run As Administrator Xp

How To Run Everything As Administrator

Example:

It opens up control panel window after printing the above message.