It is necessary for me to install SQL Express 2008 R2 as a prerequisite to the main application install. However, for this to happen, most of the machines in our organization have to have a permission enabled - SeDebugPrivilege specifically. It's possible to use ntrights.exe to accomplish this but it requires that it be run as administrator.
1. Is it possible to run an .exe as administrator? I've included it as a temporary file but I'm given no other "Execution Options" other than "Immediate Execution"
2. If I build the ntrights.exe call into a .bat file, if I run "Deferred with no impersonation" will that run it "As Administrator"?
Thanks for any input you can give me!
FOLLOW US
Get the latest news in Application Packaging