Windows 8- Run everything as Administrator


Recommended Posts

I have been reading this thread, and many of you make good points.  I have never disabled system restore myself, however I could see how you might want to reclaim disk space it takes up especially if you do regular backups.  Most people don't backup their PCs. At least that's been my experience.

 

As for UAC, yeah, it looks like launching things as Administrator by default can NOT be done without breaking lots of Metro apps. You can auto-allow processes to elevate when requested, but several of you want to force everything to be elevated by default.
 

Proceed with caution!  There are plenty of good reasons why UAC exists.  But here are a couple of things you can do.

 

First of all, it's not the shortcut that you'd modify for "run as administrator".  It's the 'properties' on the executable.  This is an important distinction because it means if you set the "Run this program as an administrator" attribute on an executable, it doesn't matter how you run it (from command line, from shortcut, etc.) that program will run as administrator.
 

Secondly, you do not have to modify every program.  A process will automatically be elevated if the parent process is elevated.  So if you always launch your processes from one parent, make that parent run 'as an administrator' and you're set.

 

I can think of three likely UI entry points for launching new processes:
- The Metro screen "search" feature
- The old-school Run box which is still accessible via the [start]-R key combination
- You might launch processes using a classic start menu such as 'Classic Start Menu'

 

In all three cases, the parent is c:\windows\explorer.exe.

 

Unfortunately, you cannot make explorer "run as administrator" because there are no "properties" exposed for explorer.exe in the UI. However, there are ways to run explorer.exe elevated.  For example:
1. Launch an elevated command prompt  (cmd or powershell)
2. taskkill /im:explorer.exe /f
3. run explorer by typing "start explorer" - or if you're in powershell, you'll type "iex explorer"

This kills the existing explorer process and replaces it with an elevated one.

 

I found a simple tool called "U Are in Control" which makes this a little easier. It will work in Windows 8 RT or full, as it is just scheduled tasks and CMD scripts.  It lets you shift into 'everything is admin' mode when you want to run normally, and switch back into 'everything is normal' mode when you need to launch Metro apps.  When in 'normal' mode, only new processes are run with normal privilege.  Existing processes would still run as admin.

 

 

U Are In Control.zip

  • Like 2
  • 5 months later...

Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "0"

shutdown -r -t 0

 

This worked perfectly for me - I was struggling getting things like webex and gotomeeting to run, so I was always futzing around with my settings and having to "run as administrator" wherever possible... Thanks a lot!

  • 1 year later...

Actually, as it turns out, what I posted will also break the Microsoft Store. I practically never disable UAC and was unaware of this limitation.

If you entered my registry change to disable UAC, re-enable it with the following command:

PowerShell as Administrator (This requires a restart)

Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "1" #Default value is 1

shutdown -r -t 0

To enable automatic silent UAC elevation for administrators without breaking the Microsoft Store you should do the following instead.

PowerShell as Administrator (This takes effect immediately)

#The following is equal to the Security Policy "User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode" = "Elevate without prompting"
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value "0" #Default value is 2

#The following is equal to the Security Policy "User Account Control: Allow UIAccess applications to prompt for elevation without using the secure dekstop" = "Enabled"
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableUIADesktopToggle" -Value "1" #Default value is 0

 

Sorry to necropost, but created an account just to say this helped resolve my irritation over UAC popups (by hiding, but leaving it enabled).

 

Thanks!

  • 1 year later...
On ‎20‎/‎06‎/‎2013 at 9:59 AM, Thanal said:

I have been reading this thread, and many of you make good points.  I have never disabled system restore myself, however I could see how you might want to reclaim disk space it takes up especially if you do regular backups.  Most people don't backup their PCs. At least that's been my experience.

 

As for UAC, yeah, it looks like launching things as Administrator by default can NOT be done without breaking lots of Metro apps. You can auto-allow processes to elevate when requested, but several of you want to force everything to be elevated by default.
 

Proceed with caution!  There are plenty of good reasons why UAC exists.  But here are a couple of things you can do.

 

First of all, it's not the shortcut that you'd modify for "run as administrator".  It's the 'properties' on the executable.  This is an important distinction because it means if you set the "Run this program as an administrator" attribute on an executable, it doesn't matter how you run it (from command line, from shortcut, etc.) that program will run as administrator.
 

Secondly, you do not have to modify every program.  A process will automatically be elevated if the parent process is elevated.  So if you always launch your processes from one parent, make that parent run 'as an administrator' and you're set.

 

I can think of three likely UI entry points for launching new processes:
- The Metro screen "search" feature
- The old-school Run box which is still accessible via the [start]-R key combination
- You might launch processes using a classic start menu such as 'Classic Start Menu'

 

In all three cases, the parent is c:\windows\explorer.exe.

 

Unfortunately, you cannot make explorer "run as administrator" because there are no "properties" exposed for explorer.exe in the UI. However, there are ways to run explorer.exe elevated.  For example:
1. Launch an elevated command prompt  (cmd or powershell)
2. taskkill /im:explorer.exe /f
3. run explorer by typing "start explorer" - or if you're in powershell, you'll type "iex explorer"

This kills the existing explorer process and replaces it with an elevated one.

 

I found a simple tool called "U Are in Control" which makes this a little easier. It will work in Windows 8 RT or full, as it is just scheduled tasks and CMD scripts.  It lets you shift into 'everything is admin' mode when you want to run normally, and switch back into 'everything is normal' mode when you need to launch Metro apps.  When in 'normal' mode, only new processes are run with normal privilege.  Existing processes would still run as admin.

 

 

U Are In Control.zip

 

Sorry for necroposting.

 

Thanal, thank you for this information. That is what I am looking for.  Can you upload the file?

 

With a single post, I am not assuming you will see it. But perhaps you will get an email!

Wow. The amount of condescending posts from half-witted experts who run "real-time antivirus, system-restore and UAC" on their computers, probably decreasing response time 3-fold, is amazing. Poor OP got quite a beating for asking help on an enthusiast forum. I will tell you why:

 

 

5 monkeys were locked in a cage, and a banana was hung from the ceiling with a ladder placed right underneath it.

 

Immediately, one of the monkeys raced towards the ladder, intending to climb it and grab the banana. However, as soon as he started to climb, the researcher sprayed the climbing monkey with ice-cold water. In addition, he also sprayed other four monkeys.

 

When a second monkey tried to climb the ladder, the researcher again sprayed the monkey with ice-cold water, and applied the same treatment to its four fellow inmates; likewise for the third climber and the fourth one. They all learned their lesson about how things work: they were not going to climb the ladder again – banana or no banana.

 

Then the researcher replaced one of the old monkeys with a new one. As expected, the new monkey spotted the banana, thinking "Why don’t these idiots go get it?!" and started climbing the ladder. Then, however, it got interesting: the other four monkeys, familiar with the cold-water treatment, ran towards the new guy – and beat him up. The new guy, blissfully unaware of the cold-water history, got the message: no climbing up the ladder in this cage – banana or no banana.

 

When the researcher replaced a second old monkey with a new one, the events repeated themselves – new monkey ran towards the ladder; other monkeys beat him up; new monkey does not attempt to climb again – with one notable detail: the first new monkey, who had never received the cold-water treatment himself (and didn’t even know anything about it), with equal vigor and enthusiasm, joined in the beating of the new guy on the block.

 

When the researcher replaced a third monkey, the same thing happened; likewise for the fourth until, eventually, all the monkeys had been replaced and none of the ones in the cage had any experience or knowledge of the cold-water treatment.

 

Fianlly, a 5th new monkey was introduced into the cage. It ran toward the ladder only to get beaten up by the others.

 

Why would these all new monkeys beat each other up over the banana, when none of them ever experienced the cold water treatment?

 

Probably because like humans, they learned: "That’s the way we do things around here"

 

 

Yes, I run my system without an antivirus, without system-restore, and without UNC. I like it lean and mean, unlike the monkeys. I make my money from this, and I do not like to be hampered on my on system over unnecessary restrictions so that I might avoid a malware some day.

 

As if malware is not able to bypass your UAC, is not able to infect your system restore or disable your antivirus. If 99 can't, one will. I have seen people infected despite all these. And yet I have never been.

 

Put a good firewall and use common sense. Do an offline ghost image once a month.  Then you will see you don't need babysitting.

 

But if you still do, leave those of us who do not want to be tormented, alone and keep your prejudices to yourself.

 

 

 

Edited by 6_6_6
a
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Snap Inc. launches new SPECS augmented reality glasses (for 'just' $2,195) by Aditya Tiwari Image: Snap Inc. Smartglasses powered by augmented reality are the latest fashion because the smartphone market is slowly reaching saturation. Snap Inc. announced its latest AR-powered smartglasses, called SPECS, that aim to strike a middle ground between underpowered AI glasses and heavy headsets you can't wear all the time. Available in two sizes, Snap SPECS are made from high-performance Swiss TR90 polymer and feature removable inserts to support prescription lenses. Its 47mm model weighs about 132g; the bigger 52mm model weighs 136g. Snap Inc has been spreading the word about the new glasses for a while now. Earlier this year, it even spun off its smart glasses team into a subsidiary called Specs Inc. Its proprietary LCOS (Liquid Crystal on Silicon) display delivers a 51-degree field of view and 16 million colors. Snap says the device gives the feel of a 24-inch desktop monitor when you're working, and of a 115-inch home cinema screen placed about 10 feet away when watching a movie. A pair of custom stereo speakers and 6x high-SNR MEMS microphones are built into the temples of the smartglasses to deliver open-ear audio while you cast a screen, stream content, open a whiteboard, or collaborate with others. Snap Inc. patted itself on the back, saying the smartglasses don't need tethering or a puck to connect to a computer. Under the hood, SPECS draw its power from two Snapdragon processors: one for computer vision and another for running Lenses. The device supports fast hand tracking, low latency, and responsive interactions that help digital content feel anchored in the real world, according to the company, which claims that SPECS can "deliver 7-millisecond motion-to-photon latency." The smartglasses offer up to four hours of battery life on a single charge while providing AI assistance, Bluetooth notifications, Lenses, audio/video playback, and more. The battery life could jump to 20 hours of mixed use when the charging case is included. Image: Snap Inc. You can view and interact with AR Lenses anchored directly to the physical world around you, and an on-board AI assistant uses the camera to see what's around to answer questions or provide real-time help with tasks. Snap Inc. noted that it filed more than 7,000 patents during the development of SPECS. It's trying to build the required digital ecosystem around the smartglasses, and said that developers have already published hundreds of Lenses for SPECS. Moreover, their electrochromic lenses use the same technology available in Boeing 787 Dreamliner windows, enabling them to shift from clear to tinted in just 10 seconds when you walk out of your house. Snap SPECS are now available for pre-order on the official website with a $2,195 price tag ($200 refundable deposit). The smartglasses are expected to ship in the US, UK, and France during the Fall this year.
    • Sound Booster 1.13 Build 575 by Razvan Serea Increase volume on your laptop. Boost the volume of even very quiet speakers. Raise volume above maximum. Letasoft Sound Booster can be used as an extra amplifier when the volume of the program you are listening to is too low for comfortable listening and you feel that your PC’s speakers can produce a louder sound. This can be the case when the audio or video has been recorded at the level below normal. Or, for example, when the other person’s microphone you are talking to on Skype, is not working properly. There can be a plenty of other reasons why the sound is being too quiet and there is not much you can do about it except buy external speakers. Sound of any application that is being played in the system can be amplified up to 500%. Letasoft Sound Booster can raise volume of programs like web browsers, on-line communication software (Teams, Discord, Zoom), any kind of media player or games. Simply put, volume of virtually any program that can play any sound in PC, can be boosted to a comfortable level with Letasoft Sound Booster. You can control current volume with the pop-up slider from the system tray. Alternatively, you can assign system-wide hot keys for increasing and decreasing, and use them when you need to adjust volume Letasoft Sound Booster constantly monitors current gain level and prevents samples from clipping, thus reducing all major sound distortions. Sound Booster 1.13 Build 575 changelog: usability improvements minor bug fixes Download: Letasoft Sound Booster 1.13.0.575 | 5.4 MB (14-Day Free Trial) View: Letasoft Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I own these and the normal QuietComfort ones from Bose. The QC are amazing and I want to love these, but for the life of me, I have a terrible time getting them attached to my ears.
    • Thanks for the tip. I am giving it a try. Initial quick impression: I like it.
    • Welcome to Neowin. Enjoy your time here!
  • Recent Achievements

    • Conversation Starter
      NovaEdgeX earned a badge
      Conversation Starter
    • One Year In
      Console General earned a badge
      One Year In
    • One Year In
      Twozo Technologies earned a badge
      One Year In
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      506
    2. 2
      +Edouard
      184
    3. 3
      PsYcHoKiLLa
      108
    4. 4
      Steven P.
      89
    5. 5
      ATLien_0
      67
  • Tell a friend

    Love Neowin? Tell a friend!