Possible Duplicate:
How to run a program automatically as admin on Windows startup?
I'm working on an installer which will run a bat after install(putting the file name of the bat in run section), and put the bat location to the following reg to let the bat run when users log on. Root: HKLM; Subkey: SOFTWARE\Microsoft\Windows\CurrentVersion\Run;
On Win7 the bat does not work as admin in both situation, is there any way make the bat run as admin?
Thank you!