Jump to content

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

WkdPaul

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 !

Link to comment
Share on other sites

Link to post
Share on other sites

ok

Ryzen 5700g @ 4.4ghz all cores | Asrock B550M Steel Legend | 3060 | 2x 16gb Micron E 2666 @ 4200mhz cl16 | 500gb WD SN750 | 12 TB HDD | Deepcool Gammax 400 w/ 2 delta 4000rpm push pull | Antec Neo Eco Zen 500w

Link to comment
Share on other sites

Link to post
Share on other sites

(⌐■_■) nice glasses

Ryzen 5700g @ 4.4ghz all cores | Asrock B550M Steel Legend | 3060 | 2x 16gb Micron E 2666 @ 4200mhz cl16 | 500gb WD SN750 | 12 TB HDD | Deepcool Gammax 400 w/ 2 delta 4000rpm push pull | Antec Neo Eco Zen 500w

Link to comment
Share on other sites

Link to post
Share on other sites

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

 

 

Clipboard01.png

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

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 !

Link to comment
Share on other sites

Link to post
Share on other sites

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

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

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 !

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Link to post
Share on other sites

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 !

Link to comment
Share on other sites

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.

Personal Desktop":

CPU: Intel Core i7 10700K @5ghz |~| Cooling: bq! Dark Rock Pro 4 |~| MOBO: Gigabyte Z490UD ATX|~| RAM: 16gb DDR4 3333mhzCL16 G.Skill Trident Z |~| GPU: RX 6900XT Sapphire Nitro+ |~| 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.

Luna, the temporary Desktop:

CPU: AMD R9 7950XT  |~| Cooling: bq! Dark Rock 4 Pro |~| MOBO: Gigabyte Aorus Master |~| RAM: 32G Kingston HyperX |~| GPU: AMD Radeon RX 7900XTX (Reference) |~| PSU: Corsair HX1000 80+ Platinum |~| Windows Boot Drive: 2x 512GB (1TB total) Plextor SATA SSD (RAID0 volume) |~| Linux Boot Drive: 500GB Kingston A2000 |~| Storage: 4TB WD Black HDD |~| Case: Cooler Master Silencio S600 |~| Display 1 (leftmost): Eizo (unknown model) 1920x1080 IPS @ 60Hz|~| Display 2 (center): BenQ ZOWIE XL2540 1920x1080 TN @ 240Hz |~| Display 3 (rightmost): Wacom Cintiq Pro 24 3840x2160 IPS @ 60Hz 10-bit |~| OS: Windows 10 Pro (games / art) + Linux (distro: NixOS; programming and daily driver)
Link to comment
Share on other sites

Link to post
Share on other sites

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 !

Link to comment
Share on other sites

Link to post
Share on other sites

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

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

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 !

Link to comment
Share on other sites

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.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

@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 !

Link to comment
Share on other sites

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!

 RGB Build Post 2019 --- Rainbow 🦆 2020 --- Velka 5 V2.0 Build 2021

Purple Build Post ---  Blue Build Post --- Blue Build Post 2018 --- Project ITNOS

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

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

Link to comment
Share on other sites

Link to post
Share on other sites

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 !

Link to comment
Share on other sites

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

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to comment
Share on other sites

Link to post
Share on other sites

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 !

Link to comment
Share on other sites

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.

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to comment
Share on other sites

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.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

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

×