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

    • Vivaldi 8.0.4033.48 by Razvan Serea Vivaldi is a cross-platform web browser built for – and with – the web. A browser based on the Blink engine (same in Chrome and Chromium) that is fast, but also a browser that is rich in functionality, highly flexible and puts the user first. A browser that is made for you. Vivaldi is produced with love by a founding team of browser pioneers, including former CEO Jon Stephenson von Tetzchner, who co-founded and led Opera Software. Vivaldi’s interface is very customizable. Vivaldi combines simplicity and fashion to create a basic, highly customizable interface that provides everything a internet user could need. The browser allows users to customize the appearance of UI elements such as background color, overall theme, address bar and tab positioning, and start pages. Vivaldi features the ability to "stack" and "tile" tabs, annotate web pages, add notes to bookmarks and much more. Vivaldi 8.0.4033.48 changes: [Chromium] Update to 148.0.7778.267 ESR (includes security fixes from 149.0.7827.114/115) [Crash] When closing devtools with input caret in a CSS property field (VB-128998) [Linux][Media] Fetch an updated proprietary media support file (VB-129132) [Permissions] Global Permissions counter shows all permissions (64) as overridden (VB-127713) Download: Vivaldi 64-bit | 139.0 MB (Freeware) Download: Vivaldi 32-bit | ARM64 View: Vivaldi Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Two variants of the KAMRUI H2 mini PC receive deeper discounts on Amazon by Steven Parker KAMRUI (sister company of AceMagic) reached out to us, letting us know that they are applying further discounts to two of their H2 mini PC variants, and in times like these, every little helps. First off, it's the Core i5 14450HX 32GB+1TB variant, which already received a discount from $699 to $567.99 on Amazon, so you may be asking what you get for that. Its most important features are listed below. 32GB Memory Configuration, Exceptional Value. Driven by rising AI demand, the DDR memory supply is tightening, making high-capacity memory more valuable. KAMRUI maintains high-quality standards while offering strong value with a 32GB RAM + 1TB SSD configuration, which delivers excellent performance and storage. Intel i5-14450HX, HX-Class Performance Powered by the Intel Core i5-14450HX (10 cores/16 threads, up to 4.8GHz, 54W TDP)-HX series delivers desktop-class performance. Enjoy up to 120% higher multi-core performance vs. i7-1185G7 and stronger sustained performance than Ryzen 9 6900HX under heavy workloads. With 14450HX performance, it handles coding, compiling, Docker with ease, runs 10+ apps simultaneously—Excel, Chrome, Zoom, video editing—with smooth multitasking and fast load times. 32GB RAM & 1TB NVMe SSD - expandable up to 4TB Mini pc W-11 Pro equipped with 32GB (16GB×2) DDR4 dual-channel memory and a 1TB NVMe PCIe 4.0×4 SSD, mini pc delivers fast system response and efficient data access for demanding workloads. Dual M.2 slots support storage expansion up to 4TB. Large memory support running multiple virtual machines simultaneously, enabling fast deployment and isolated sandbox testing, significantly improving development efficiency and multitasking performance. HX-Class Heat Dissipation, Higher Productivity 14450HX Mini computers W-11 pro equipped with upgraded silent centrifugal fans, dual copper heat pipes, dual fin-stack cooling modules, and an optimized dual-airflow design, the processor can maintain ≥95% of multi-core performance even under long-duration heavy workloads. The HX platform is specifically designed for multitasking, rendering, and content creation, and multitasking, delivering desktop-class stability and powerful performance. Triple 4K Productivity Power Supports triple 4K displays and handles complex workflows like coding, data processing, and multitasking with ease. WiFi 6 delivers fast, reliable connectivity for video, conferencing, and transfers. Bluetooth 5.2 ensures stable, low-latency wireless connections. Versatile Connectivity This mini computer comes with 1x Type-C(10Gbps data transfer), 1x RJ45 Ethernet, 2x USB3.2 Gen2 (10Gbps), 4x USB3.2 Gen1 Type-A (5Gbps), PD output, 1x HDMI 2.0, 1x DP 1.4, and 1x 3.5mm audio jack. It offers versatile connectivity to connect multiple devices effortlessly, reducing the need for frequent plugging and unplugging. Small Size, Big Performance Mini PC measures just 5.04 × 5.04 × 1.63 inches, over 80% smaller than a traditional desktop, yet equipped with the high-performance 14450HX processor for near-desktop-level power. With VESA mounting support, it transforms cluttered desks into clean, organized setups. Normally costing $699, but now down to $ 535.79, which includes an additional 6% off the Amazon listed price. That equals a total of 24% off the MSRP. KAMRUI Hyper H2 (Core i5 14450HX 32GB+1TB) for $ 535.79 (was $699) Use code 2UD2IW7D for the above price during checkout (expires on June 30) Editors note: This appears to be listed as a "frequently returned item" on Amazon, but you should take into account the reviews on the page that discuss a completely different PC, it would seem that this is yet another recycled sales page that is now listing this newer item, possibly to retain the positive 4.5 star rating on the page. Next up, we have the Core i9 14900HX/32GB+1TB variant, which normally costs $799.99 but is already discounted to $759.99 on Amazon. Again, the most important highlights for this variant are listed below. Upgrade 14th Intel Core i9-14900HX Processor KAMRUI Mini Computers features the 14th Gen Intel Core i9-14900HX processor (up to 5.8GHz, TDP 55W, 36MB cache, 24C/32T), delivering 25%–40% higher performance than the i5-14450HX (24C/32T) and i7-1280P in multitasking, creative work, and high-load applications. Manufactured using Intel 7 (10 nm) process technology, Mini Computer efficiently allocates workloads to deliver faster response times, smoother operation, and heightened productivity. 32GB DDR4 & 1TB SSD - Expandable to 4TB KAMRUI Intel Core i9-14900HX mini PC features dual-channel 32GB DDR memory (expandable to 64GB) and 1TB NVMe PCIe 4.0×4 SSD, delivering speeds 40% faster than PCIe Gen3. The KAMRUI Micro PC features two M.2 2280 SSD slots, each expandable up to 2TB, effortlessly accommodating a high-capacity system drive and an ultra-fast cache drive. This achieves a perfect balance of speed, capacity, and flexibility, effortlessly handling large projects and high-speed workflows. 4K UHD Triple Display KAMRUI 14900HX Mini PC features a 4K@60Hz UHD graphics card (Intel UHD Graphics), supporting 4K@60Hz high-definition video playback for a premium visual experience. Mini Gaming PC incorporates an HDMI 2.0 port + DP 1.4 port + USB3.2 Gen2 Type-C port, supporting 4K triple display output. Mini PC can connect to three monitors to fulfil your multi-screen collaboration requirements. Ultra-high-definition visuals and ultra-fast connectivity significantly enhance your productivity. RJ45 LAN Port+WiFi6E+BT5.2 KAMRUI Mini PC features a 1.0Gbps LAN port, suitable for high-speed broadband environments in homes, offices, and large enterprises. Bluetooth 5.2 enables connection to peripherals such as headphones, mice, and keyboards. Dual-band WiFi 6E and BT 5.2 deliver enhanced interference resistance and more stable wireless signals. Regardless of your network environment's complexity, the KAMRUI H2 mini computer delivers a relatively stable and smooth network experience. Professional-Grade Cooling System KAMRUI Mini gaming PC features an upgraded silent centrifugal fan, dual copper heat pipes, and a dual-fin module. Its all-copper structure enhances thermal conductivity, boosting airflow efficiency by 35% and overall heat dissipation by 40%, ensuring the CPU can stably deliver up to 55W performance under full load. Upgraded aluminum heatsink keeps the SSD cool to maintain read/write speeds, ensuring desktop-level stability and power for demanding workloads. Compact Size, Infinite Possibilities KAMRUI H2 mini computers measure just 5.04 x 5.04 x 1.63 inches, a fraction of the size of a traditional desktop, yet deliver powerful performance for demanding workloads. With the included VESA mount, you can easily attach a small pc behind a monitor or place it in your TV cabinet, turning your display into a sleek mini PC while saving valuable desk space. Versatile Connectivity This KAMRUI mini gaming computer comes with 1*USB3.2 Gen2 Type-C(up to 10Gbps data transfer), 1*RJ45 Ethernet, 2*USB3.2 Gen2 (10Gbps), 4*USB3.2 Gen1 Type-A (5Gbps), 1*HDMI 2.0, 1*DC, 1*DP 1.4, and 1*3.5mm audio jack. It offers versatile connectivity to connect multiple devices effortlessly, reducing the need for frequent plugging and unplugging. Normally costing $799, but now down to $721.99, which includes an additional 5% off the Amazon listed price. That equals a total of 10% off the MSRP. KAMRUI Hyper H2 (Core i9 14900HX/32GB+1TB) for $ 721.99 (was $799) Use code AQ5Z6A47 for the above price during checkout (expires on June 30) KAMRUI claims that they offer lifetime technical support along with a 12-month warranty. For either of these mini PCs, should you encounter any issues during use, KAMRUI claims it will do its utmost to assist customers. As an Amazon Associate, we earn from qualifying purchases.
    • Good. I hope more people sue them for focusing on this worthless junk.
    • How about fire the guy who approved all the bad decisions? The guy who bought these studios in the first place? Oh wait, Satya is safe with his billions while the workers pay the price.
  • Recent Achievements

    • 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
    • Veteran
      branfont went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      +Edouard
      200
    3. 3
      PsYcHoKiLLa
      110
    4. 4
      Steven P.
      89
    5. 5
      Nick H.
      71
  • Tell a friend

    Love Neowin? Tell a friend!