a6amsunrise
May 25th, 2006, 09:07 AM
Running XP, i dont log in as admin all the time, but one program i wrote needs to have admin permsission. Normally i use the
RUNAS /USER:a6amsunrise C:\pyprogram.exe
command, but is there some win api function that will just escalate privileges by itself? Like a runas(functionname/thread, username, password)?
RUNAS /USER:a6amsunrise C:\pyprogram.exe
command, but is there some win api function that will just escalate privileges by itself? Like a runas(functionname/thread, username, password)?