I have the poweroff.exe program recommended in another question on this website.
Using the login script at my company, just a standard .bat file that maps drives and file copies etc. I copied the poweroff.exe to the root of the C: drive.
Now, using the login script I want to apply the paramaters to the poweroff.exe program to setup a schedule to shutdown all computers at 8pm every night. I've followed the help/FAQ on the website above and put the following commands intot he login script.
C:\poweroff.exe shutdown -create_service -warn -warntime 120 -msg "You pc will Shutdown in 2 minutes\nPlease save your work" -force -scheduled -time 20:00 -days m,t,w,th,f,s,su -allow_remote -remote_pswd password -save_settings -save_svc_set
However this doesn't seem to work and it doesn't set the para's to the program!!! Can anyone help, as i need to get this enabled asap.