i'm just user, got no administrator rights
i have a .bat which use psexec to run a program with local administrator
Code: Select all
"psexec64.exe" -i -d -u administrator -p "xxx" -w "%cd%" -accepteula program.exe
- from trial version :
- double click on .bat : the program is NOT running with administrator
- right click on .bat + run as administrator : the program is NOT running with administrator
UAC command line is c:\windows\syswow64\cmd.exe /C xxx.bat
- from free version :
- double click on .bat : the program is running with administrator
- right click on .bat + run as administrator : the program is running with administrator
UAC command line is c:\windows\system32\cmd.exe /C xxx.bat)