[gelöscht] Is it possible to use SuRun from a command line (for usage in the scripts for example), not from Explorer?
Kay Yes it is. Just run [m]"SuRun <program>"[/m] to start <program> as Administrator. Additionally SuRun supports the following command line switches: [m]/QUIET do not display an messages /RUNAS <program> start <program> as different user /RESTORE <file> restore "SuRun Settings" from <file> /SETUP start "SuRun Settings" /INSTALL Install SuRun unattended /INSTALL <file> Install SuRun unattended and do "SuRun /RESTORE <file>" /UNINSTALL remove SuRun from the system[/m] Native support for console applications is already in the wish list but not done yet. cheers, Kay
[gelöscht] Thank you for the answer. Could you please add this text (just paste it :) to the ReadMe.txt? Also I see there is /RESTORE <file>, is there a corresponding /SAVE <file>?
cosmo digital wrote: Could you please add this text (just paste it :) to the ReadMe.txt? Good idea! Also place the info into the PDF-docu, please.
Kay "/BACKUP <file>" now is on the wish list. The info is already in the german documentation. I've put it to the english readme. :-) Unfortunately there is no english documentation yet.
[gelöscht] I ran surun /RESTORE file.txt (file.txt was backed up from the gui, and one setting was changed), but after that I see the setting is not changed in GUI.
[gelöscht] I changed UserTSA=2 to 0: [User0] Name=aa IsLocalUser=1 NoRunSetup=1 RestrictApps=0 UserTSA=0 HideFromUser=0 ReqPw4Setup=0 Backup was done on the same PC. When I restore from command line gui still shows "Display user status in taskbar" checked for this user. If I restore using gui, it is changed properly ("Display user status in taskbar" becomes unchecked). I used full path for the file as I read in another post - surun /RESTORE "C:\Documents and Settings\Administrator\Desktop\surun2"
Kay I found the bug! SuRun did not unquote the file name ("C:\Documents and Settings\Administrator\Desktop\surun2"). Thanks for reporting! :-) I fixed this internally. The next Beta will contain the fix. Until then just run surun /RESTORE C:\Documents and Settings\Administrator\Desktop\surun2 without any quotation marks.