ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • VVF 9 and VCF 9
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2025
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

3 Ways to Open Command Prompt With Admin Privileges in Windows 8.x

By Vladan SEGET | Last Updated: March 17, 2015

Shares

I just wanted to give a quick heads up to admins using Windows 8 or planning to migrate users to W 8.x and then assist them as a support help. Things changes and the old days of  Windows XP are gone…. Oh well. Let's move on. Before, there was a simple way in Windows 7 to launch command prompt window as an admin – with a right click on an icon which were in the “Accessories” folder within the start menu. Clean, understandable and I'd say normal. Things have changed in Windows 8.1 as there is no icon in start menu. (He he, oh well there is no start menu). So how to get around that and Open Command Prompt With Admin Privileges ?

I've started to use W 8.1 as probably many of you, after all, and in Windows 7 I have had a habit to open command prompt with a shortcut Windows Key + R where I type “CMD”. In W7 when logged as a domain admin this would normally opens a command prompt with admin privileges. However in W 8.1 if you logged as an domain admin, this opens a command prompt without admin privileges, so not good.

I'll show 3 ways to Open Command Prompt with Admin Privileges in Windows 8.x

01. First Option

Hit Windows Key + X

Simple and easy. This brings a menu which has the option to open command prompt with admin privileges. Cool, anything else? Yes there are other ways to do it. Read on.

How to open the command prompt as administrator

02. Second Option

If you don't have any alternative start menu installed, the when you hit the start icon it brings the start screen with the tiles. You can type in the search panel there. Just type “command prompt” and it will bring the icons you need. There you can simply right click and chose Run as administrator.

How to open command prompt as administrator in Windows 8.1

03. Third option

The third way is to simply right click the start button, which brings the menu we have opened in the First option! But that's too easy as an option, isn't it… I have another option while here. You can open simple norma (not admin) command prompt, and then type a command to open a privileged command prompt from there!

You simply type this:

runas /user:mymachineadministrator cmd

This brings another window, this time with admin priviledges…

In my example, my Workstation's netbios name is SBOOK2, so I just typed:

runas /user:SBOOK2administrator cmd

You are prompted to enter the password for the local administrator account. (Note that you can reset this password via local management console (shortcut is compmgmt.msc ), if of course you are logged in with an account with sufficent priviledges.

How-to open the command prompt as administrator in Windows 8.1

I hope it helps to get you started. Enjoy…-:)

Shares
Vote !

| Filed Under: How To Tagged With: Open Command Prompt With Admin Privileges

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Terry Wrennall says

    August 6, 2014 at 6:00 am

    The last (runas) version dosnt work for me (Win 2008 R2, Win 8.1, Win 2012 R2 and Win 2012)

    and checking the trust level (runas /showtrustlevels) only shows basic (0x20000 (Basic User)) on all those

    Are you sure there is not another setting you need to add or have changed?

    • Vladan SEGET says

      August 6, 2014 at 6:46 am

      Hi Terry,

      Thanks for the comment. The last option shows how to run the elevated command prompt as a local admin of the system. You can do the same, if for example you’re logged in as a regular domain user (without administrtor’s priviledges) and want to elevate your priviledges as “domain admin” with “runas user:your_domain\administrator cmd”.

      Good explanations and options can be found on Technet: http://technet.microsoft.com/en-us/library/bb490994.aspx

      As concerning the “showtrustlevels” options I haven’t found much on the above link.

      • Terry Wrennall says

        August 6, 2014 at 10:00 pm

        I understand how to do a runas, I’m just saying that doing a, runas /user:xxx\yyy cmd, didn’t automatically run elevated (as an account with admin rights) in my testing on the operating systems I previously mentioned

        I was wondering if you’d set something else that was allowing that to happen (disabled UAC or GPO or similar)

        • Vladan SEGET says

          August 7, 2014 at 6:20 am

          I’d say that there is a difference to achieve things. Interactively (runas) OR permanent across reboots (GPO, UAC). But basically both do the same things. (Or it shall do the same things). If your result shows that the interactive command did not elevated your precised user for particular command….. Reading technet, they even evoke running this not for an admin, but more priviledged than average user, well. It’s just feels strange that it did not worked for you.

  2. Bert says

    September 24, 2015 at 2:44 pm

    the third one is not the same, it is just a command prompt with the administrators account, NOT with administrator privileges. As stated here http://msdn.microsoft.com/en-us/library/bb756922.aspx “runas” can’t be used to run a command line with elevated privileges .

  3. Steve says

    July 11, 2016 at 8:44 pm

    Another option is downloading psexec and extracting it to the Windows\System32 folder.

    To run an elevated command prompt, type > psexec -h cmd.exe

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • VMware vSphere Foundation (VVF 9) and VMware Cloud Foundation (VCF 9) Has been Released
  • Veeam Backup & Replication 12.3.2 – patch critical vulnerabilities for your dataprotection environments
  • Veeam confirming vSphere 9.0 and ESXi 9 upcoming support
  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in