R
Ralf Barth
Hi everyone,
I manage a Windows 7 computer at my parents' house. They work with a normal user account, no admin rights.
I was trying to put a batch file on the desktop to remind them of using the StandBy-mode when not using the computer:
@echo off
powercfg -h off
%windir%\System32
rundll32.exe powrprof.dll,SetSuspendState
The code works very well, but it requires the user to enter the admin password
Does anyone know, if there's a way to change that? Isn't it possible to do something like suid.. ?
Any answer is appreciated!
Thanks,
Ralf
I manage a Windows 7 computer at my parents' house. They work with a normal user account, no admin rights.
I was trying to put a batch file on the desktop to remind them of using the StandBy-mode when not using the computer:
@echo off
powercfg -h off
%windir%\System32
rundll32.exe powrprof.dll,SetSuspendState
The code works very well, but it requires the user to enter the admin password
Does anyone know, if there's a way to change that? Isn't it possible to do something like suid.. ?
Any answer is appreciated!
Thanks,
Ralf