Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
wkdpaul

[Guide] [Windows] Run any application as an admin by default

Recommended Posts

Posted (edited) · Original PosterOP

This guide won't give you access to the admin account of your device.

 

 

This is a quick guide to show you multiple methods on how to run any software as admin every time it's opened (for occasional "run as admin" a "right click > run as admin" is good enough of course).

 

 

Method 1 ;

 

Compatibility tab

 

Spoiler

 

Go into the shortcut properties, then in the Compatibility tab, check the "Run as Admin" box ( thx @Murasaki for the screenshot) ;

wsbfnDJz.png&key=6e84e03cc5881ab75823f5d

 

 

 

 

 

Method 2 ;


Shortcut properties

Spoiler

 

 

Right click on the shortcut of the application you want to run as an admin, and go into the properties ;

image.png.c89fc8f486f9b5431f8698d3f1b5e0e5.png

 

 

Click on Advanced, and in the popup window, check the box "Run as Administrator", if this is greyed out, see method 2 ;

image.png.e28287a6cb9e9df3d2be8a7f062ef066.png

 

 

It's possible that you get an "access denied" popup, simply press Continue (you may have to provide the local admin credentials) ;

image.png.917adb02f0d488dda5b9048b2220df14.png

 

 

 

 

Method 2 ;

 

"Run AS" shortcut

 

Spoiler

 

For this method to work, you have to make sure the admin account you're using is active, often, the account Administrator will be deactivated ;

image.png.7834dfa480e93721cd2bf86399f93178.png

 

 

If that's the case, type the following command ;


net user administrator /active:yes

Then type the following command to set the password ;


net user administrator password

 

 

 

Right click on your desktop and select New > Shortcut ;

image.png.d594b519fd8b7a19a8f943012ebe20a9.png

 

 

 

In the "Location of the item" box, type the "runas" command, followed by the software you want to run ;

 


runas /user:Administrator /savecred "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"

the "/savecred" argument is going to save the password in Windows credential manager, so you will have to enter the admin password once for this to work ;

image.png.0a462b5277312c3a521d19060c91b230.png

 

Change the name of the shortcut on the next screen ;

image.png.cd5e94f6e396eb100ef6e0d2784e3a13.png

 

image.png.0f921358f81d33a10d4d3d05a011bf6f.png

 

 

The icon can be changed in the shortcut properties.

 

 

 

Then when you run it for the first time, a CMD window will open and ask you the admin password (note that you won't see anything appear as you'll type the password) ;

image.png.6c8e8683d513c5e6b3539b38fb540907.png

 

 

 

 

Method 4 ;

 

1337 keyboard shortcut (that has to be done every time the application is open, so not technically what this guide advertises, but I thought it might interest people that prefer keyboard shortcuts)

 

Spoiler

 

Press the Windows key to open the start menu

 

type the name of the application you want to open as an admin

 

The do the following key presses ;

 

CTRL + SHIFT + ENTER

 

This will open the application in admin

 

Edited by wkdpaul

If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites
Posted · Original PosterOP
1 minute ago, SupaKomputa said:

ok

you're welcome. (⌐■_■)


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites
Posted · Original PosterOP
1 minute ago, Kilrah said:

Or... just right-click and Run As Admin when needed.

 

 

Clipboard01.png

Of course, but what if you want to run the software as an admin everytime? This is a question that comes back from time to time, so I thought a quick guide for people to link to would help ;)


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites
Posted · Original PosterOP
2 minutes ago, Kilrah said:

Then it might be worth adding that bit to the title/description ;)

Good point, done :)


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites
5 minutes ago, wkdpaul said:

Of course, but what if you want to run the software as an admin everytime? This is a question that comes back from time to time, so I thought a quick guide for people to link to would help ;)

well..

wsbfnDJz.png


Used -700% storage

Link to post
Share on other sites
Posted · Original PosterOP
3 minutes ago, Murasaki said:

well..

wsbfnDJz.png

I don't mind adding this one too ... but then I might add all the other ways too while I'm there!


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites
6 minutes ago, Murasaki said:

well..

wsbfnDJz.png

This is the method I have always used, it's good because it "remembers" it so even if you have the annoyance of having to tick that box once that's it.


Workstation Rig:
CPU:  Intel Core i9 9900K @5.0ghz  |~| Cooling: beQuiet! Dark Rock 4 |~|  MOBO: Asus Z390M ROG Maximus XI GENE |~| RAM: 32gb 3333mhz CL15 G.Skill Trident Z RGB |~| GPU: nVidia TITAN V  |~| PSU: beQuiet! Dark Power Pro 11 80Plus Platinum  |~| Boot: Intel 660p 2TB NVMe |~| Storage: 2X4TB HDD 7200rpm Seagate Iron Wolf + 2X2TB SSD SanDisk Ultra |~| Case: Cooler Master Case Pro 3 |~| Display: Acer Predator X34 3440x1440p100hz |~| OS: Windows 10 Pro.
 
Personal Use Rig:
CPU: Intel Core i9 9900 @4.75ghz |~| Cooling: beQuiet! Shadow Rock Slim |~| MOBO: Gigabyte Z390M Gaming mATX|~| RAM: 16gb DDR4 3400mhzCL15 Viper Steel |~| GPU: nVidia Founders Edition RTX 2080 Ti |~| PSU: beQuiet! Straight Power 11 80Plus Gold  |~|  Boot:  Intel 660p 2TB NVMe |~| Storage: 2x2TB SanDisk SSD Ultra 3D |~| Case: Cooler Master Case Pro 3 |~| Display: Viotek GN34CB 3440x1440p100hz |~| OS: Windows 10 Pro.


HTPC / "Console of the house":

CPU: Intel Core i7 8700 @4.45ghz |~| Cooling: Cooler Master Hyper 212X |~| MOBO: Gigabyte Z370M D3H mATX|~| RAM: 16gb DDR4 3333mhzCL16 G.Skill Trident Z |~| GPU: nVidia Founders Edition GTX 1080 Ti |~| PSU: Corsair TX650M 80Plus Gold |~| Boot:  SSD WD Green M.2 2280 240GB |~| Storage: 1x3TB HDD 7200rpm Seagate Barracuda + SanDisk Ultra 3D 1TB |~| Case: Fractal Design Meshify C Mini |~| Display: Toshiba UL7A 4K/60hz |~| OS: Windows 10 Pro.
Link to post
Share on other sites
Posted · Original PosterOP

I added the compatibility tab one ( @Murasaki stole your screenshot! ) and the keyboard shortcut (though that last one isn't what the guide is about).


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites
Posted · Original PosterOP
Just now, Kilrah said:

Ooh, didn't know about the shortcut. That's gonna be handy.

it totally is, I always have to open a damn CMD window as an admin and this is so much quicker! :P


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites

I have 2, one is cmd and the other is virtualbox which I need to run as admin when running a raw disk VM, but don't need/want to for others.

Link to post
Share on other sites
Posted · Original PosterOP

@Kilrah I'm often on client's devices using different accounts, so my guide isn't really helpful for my day-to-day work, but that keyboard shortcut is really helpful!


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites

Now I can finally run Minesweeper as administrator by default!

 

Jokes asside this is great. Especially if I want to use Run commands.


"Put as much effort into your question as you'd expect someone to give in an answer"- @Princess Luna

Make sure to Quote posts or tag the person with @[username] so they know you responded to them!

Purple Build Post ---  Blue Build Post --- Blue Build Post 2018 --- RGB Build Post 2019 --- Project ITNOS --- P600S VS Define R6/S2

CPU i7-4790k    Motherboard Gigabyte Z97N-WIFI    RAM G.Skill Sniper DDR3 1866mhz    GPU EVGA GTX1080Ti FTW3    Case Corsair 380T   

Storage 1x Samsung EVO 250GB, WD Black 3TB, WD Black 5TB    PSU Corsair CX550M    Cooling Cryorig H7 with NF-A12x25

Link to post
Share on other sites
Posted · Original PosterOP
2 minutes ago, TVwazhere said:

Now I can finally run Minesweeper as administrator by default!

Why else would you use that!!

 

Minesweeper FTW !!!!!


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites

I remember back in XP, Windows introduced separation of "admin" accounts and "limited" accounts, (or at least that's when I first saw it), and since then there's been one big question no one seems to have an answer to: if I, as the user of an admin account, choose to run something, how is that different than "run as admin", when I'm already an admin and I'm running it?

 

image.png.3c9fc02fbfb237716dd6afd9c9dc9325.png

Link to post
Share on other sites
Posted · Original PosterOP
11 minutes ago, Ryan_Vickers said:

*snip*

Yeah, that was never really explained, but basically when you run something "normally", you use it with your "user" privileges, when you go with "run as admin", then you run it with admin privileges, admin users have 2 (or more) access privileges. At first, this was really annoying because some things wouldn't work unless you were literally logged in with the account named administrator, but thankfully it's gotten much better since.

 

I personally have 2 accounts on all my devices, my day-to-day user account, and an admin account (this can be the default "administrator" account, but I prefer leaving that one disabled and using a different account for admin stuff).


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites
36 minutes ago, wkdpaul said:

Yeah, that was never really explained, but basically when you run something "normally", you use it with your "user" privileges, when you go with "run as admin", then you run it with admin privileges, admin users have 2 (or more) access privileges. At first, this was really annoying because some things wouldn't work unless you were literally logged in with the account named administrator, but thankfully it's gotten much better since.

 

I personally have 2 accounts on all my devices, my day-to-day user account, and an admin account (this can be the default "administrator" account, but I prefer leaving that one disabled and using a different account for admin stuff).

So basically having an admin account means you are allowed to run things as admin but it doesn't run everything this way by default?  Hm I suppose I really should have realized that on my own by now, given the UAC prompts, etc.

Link to post
Share on other sites

Exact.

In XP everything you ran with an admin account ran as admin, but that was recognised to be dangerous so an extra layer was added (UAC). An admin account basically simplifies you accessing what you need by just clicking ok on UAC prompts instead of an admin account's full user/pass for a simple user account.

 

Equivalent in linux / mac os to getting a password prompt or having to sudo things, just UAC is actually more convenient.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×