Monday, June 13, 2016

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

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…-:)

http://www.vladan.fr/3-ways-open-command-prompt-admin-privileges-windows-8-x/ 

No comments: