GuitarMaestro
New member
- Local time
- 3:18 PM
- Messages
- 2
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.
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.
Last edited:
My Computer
- Computer type
- Laptop
- Computer Manufacturer/Model Number
- lenovo
- OS
- Windows 7 Pro 32 bit