Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Run program on startup as admin using MMC without UAC

27 Jan 2014   #1

Windows 7 Pro 32 bit
Run program on startup as admin using MMC without UAC

I've been searching for a solution to my problem for going on a week now but to no avail. here's the situation:

Laptop running Windows 7 Enterprise SP1. I've created custom software that needs to run as an administrator while a standard user is logged in. This software needs to write to a location that is forbidden to the standard user. I've turned off UAC because that is the only way I could get the program to launch from MMC (This software must run on startup and it must be setup so the standard users cannot disable it). i've tried adding permissions, modifying local policy, everything I can think of and read online. Nothing is helping. The program performs just fine from my admin account. The files aren't going to the VirtualStore either, and there is no erorr generated.

With UAC enabled on any level, the program doesn't run on startup. And running the program after the laptop is running gives me the admin credentials request windows from UAC.

The program is written in VB.NET 2010. Should I be looking to insert some code to run as admin???

i've also tried creating a shortcut to specify 'Run As Administrator', but this doesn't allow access to the critical location.

I just performed a test. The program never gets ran under the admin account with UAC turned off (task manager lists the owner as the standard user). If UAC is turned on and I manually start the program and enter the admin credentials, everything is fine and the admin is listed as the owner. Still stumped.

My System SpecsSystem Spec
27 Jan 2014   #2

64-bit Windows 10 Pro

Hello GuitarMaestro, and welcome to Seven Forums.

If you like, you could use the method in the tutorial below to create an elevated shortcut that a standard user will be able to run without being prompted by UAC.

Elevated Program Shortcut - Create for Standard User

However, Windows will not let anything run elevated at startup in a standard account for security purposes.

For you administrator account, you might be able to use the method in the tutorial below to run it elevated at startup without being prompted by UAC when UAC is on.

Elevated Program Shortcut without UAC Prompt - Create

Hope this helps some, :)
My System SpecsSystem Spec
27 Jan 2014   #3

Windows 7 Pro 32 bit

Thanks so much! Neither were quite exactly what I needed, but it got me on the right track.

I tried the shortcut method running 'runas', but still had issues.
I had to turn UAC completely off. then I created a .bat file to run 'runas'. For whatever reason, windows liked that instead of the shortcut. I see the CMD prompt appear while it is launching my program as admin, but that's now a big deal.
The MMC entry now points to the batch file.
Thanks again.
My System SpecsSystem Spec

27 Jan 2014   #4

64-bit Windows 10 Pro

You're most welcome. I'm glad it was able to help. :)
My System SpecsSystem Spec

 Run program on startup as admin using MMC without UAC

Thread Tools

Similar help and support threads
Thread Forum
Need To Schedule a Program Run Under Admin Priviledges
I am confused a bit as to how to make this work.. I need a program and a batch file to run on a schedule but they have to run under admin rights. First of all my account I sign in under is an admin account but just plain scheduling a program under task scheduler gives mixed results since it...
General Discussion
remove admin elevation for program
Hey everyone, I have a program that requires admin approval to run. However, I would like this program to be used by a power user account, instead of an admin account. I cannot have the admin elevation asking to elevate w/ password every time, as I may not be available when the user attempts...
Program needs to run with admin
Can I get a program to run with admin without giving users local admin or a local admin password. I have a programs which seems to need admin but do not want to grant local admin to my users. Power users is no use. Thanks
System Security
auto run admin rights Core Temp program at startup Vista/Windows 7
i found this on the web wile looking how to get core temp to auto run - core temp is a program that need admin rights maybe sticky this i dont know FYI i used this to auto run Energy saver from gigabyte by starting st step #2 I noticed a lot of people are trying to make Core Temp...
How do I run a program at startup without using an admin password?
I have a minor technical question I would love help on. I have the UAC on and log in as a standard user for protection. There are a few programs that I would like to run automatically when windows starts that require a password EVERY time I start windows, or if I select them manually. Is there any...
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:09.
Twitter Facebook Google+