How not to require UAC prompt for custom MMC files?


barreleye

Well-known member
Member
Local time
3:22 AM
Posts
180
OS
Windows 11
On my main system, a long time ago, I used Author Mode to save MMC files for Computer Management, Services, and some others so the window sizes, pane widths, etc would be remembered on subsequent runs. Running the .msc files always gives me a UAC prompt, and I've thought nothing of it for years. However, I just realized I don't get that prompt on my Windows 10 file server, and it's because I'm not using the custom .msc files to launch them. Indeed, when I run, for example, "%windir%\system32\services.msc" on my Windows 11 system, I don't get a UAC prompt. How can I get my custom files to work the same way? NB: I used Author Mode on a one-time basis, so I'd have to use it again to make changes, and it's not like my custom files are implicitly using Author Mode and thus eliciting the UAC prompt. That is, there's nothing under the File menu but "Options..." and "Exit" when I start them normally.
 

My Computer

System One

  • OS
    Windows 11
On my main system, a long time ago, I used Author Mode to save MMC files for Computer Management, Services, and some others so the window sizes, pane widths, etc would be remembered on subsequent runs. Running the .msc files always gives me a UAC prompt, and I've thought nothing of it for years. However, I just realized I don't get that prompt on my Windows 10 file server, and it's because I'm not using the custom .msc files to launch them. Indeed, when I run, for example, "%windir%\system32\services.msc" on my Windows 11 system, I don't get a UAC prompt. How can I get my custom files to work the same way? NB: I used Author Mode on a one-time basis, so I'd have to use it again to make changes, and it's not like my custom files are implicitly using Author Mode and thus eliciting the UAC prompt. That is, there's nothing under the File menu but "Options..." and "Exit" when I start them normally.


What level is your UAC set to? You may just have to lower it a notch.
 

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3527 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
What level is your UAC set to? You may just have to lower it a notch.

UAC is set to the default.

Both Windows 11 and 10 systems behave the same. Using services.msc as the example, launching the one in System32 does not invoke UAC. However, starting it by right-clicking and choosing "Author" does invoke UAC. Immediately doing a Save As to a new file on (say) the desktop produces a .msc file that invokes UAC when run normally, unlike the one in System32.
 

My Computer

System One

  • OS
    Windows 11
UAC is set to the default.

Both Windows 11 and 10 systems behave the same. Using services.msc as the example, launching the one in System32 does not invoke UAC. However, starting it by right-clicking and choosing "Author" does invoke UAC. Immediately doing a Save As to a new file on (say) the desktop produces a .msc file that invokes UAC when run normally, unlike the one in System32.


I'm lost as to WHY you're doing what you're doing.
In other words, what are you trying to accomplish?


If you're just trying to save window settings, there's a much easier way...


As for why some things are different in Windows 11... MS has tried to make Win 11 "more" secure.
I'm not sure they're succeeding, but they are trying. That may be why UAC behaves a bit differently on Win 11.

Personally, I just turn UAC down, in fact, I turn it OFF on Win 10 and Win 11. :-)
 

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3527 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
I'm lost as to WHY you're doing what you're doing.
In other words, what are you trying to accomplish?

I explained that in the first sentence of my first post.
 

My Computer

System One

  • OS
    Windows 11
The answer is rather obscure, but UAC & mmc have a known exceptions list for .msc files shipped with Windows, which are both digitally signed and located in \Windows\System32. If you use TrustedInstaller rights to replace System32\diskmgmt.msc with your custom .msc file, it still requires UAC to open.


So you would have to modify UAC rights to skip the prompt.
 

My Computer

System One

  • OS
    Windows 7
The answer is rather obscure, but UAC & mmc have a known exceptions list for .msc files shipped with Windows, which are both digitally signed and located in \Windows\System32. If you use TrustedInstaller rights to replace System32\diskmgmt.msc with your custom .msc file, it still requires UAC to open.


So you would have to modify UAC rights to skip the prompt.

Thank you. This mystery was really bugging me!
 

My Computer

System One

  • OS
    Windows 11
Last edited:

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3527 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
The answer is rather obscure, but UAC & mmc have a known exceptions list for .msc files shipped with Windows, which are both digitally signed and located in \Windows\System32. If you use TrustedInstaller rights to replace System32\diskmgmt.msc with your custom .msc file, it still requires UAC to open.



Excellent description. :-)
 

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3527 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
Add all the snap ins you want. Save the Mmc console. Use winaero tweaker to create an elevated shortcut. If you don’t want to use the tool to create it, you can read how it does it and create it manually. It uses the task scheduler
 

My Computer

System One

  • OS
    Windows 11 Pro
Add all the snap ins you want. Save the Mmc console. Use winaero tweaker to create an elevated shortcut. If you don’t want to use the tool to create it, you can read how it does it and create it manually. It uses the task scheduler

I will look into that. I've used Task Scheduler to avoid UAC for startup programs, and it would be cool if it could be used in a more general yet still strictly targeted sense for certain shortcuts I create. Lowering UAC from the default at the OS level as elsewhere suggested is a non-starter for multiple reasons.
 

My Computer

System One

  • OS
    Windows 11

Latest Support Threads

Back
Top Bottom