Auto shut down of computer
- completely shut down ,
- log user off windows 7
hello,
i have scheduled task built in machine shutdown computer. aware must inform users this result in loss of data have open , not saved.
create batch file shutdown.cmd containing , copy shutdown.exe netlogon folder:
;create scheduled task on remote workstation's
if not exist %systemroot%\tasks\at1.job @ 05:00 /every:m,t,w,th,f,s,su shutdown.exe /s /t 120 /c "this computer shutdown, please close open applications. administrator." /f
:copy shutdown.exe remote workstation
if not exist %systemroot%\system32\shutdown.exe copy "\\domainname\netlogon\shutdown.exe" "%systemroot%\system32\shutdown.exe"
best regards meinolf weber disclaimer: posting provided "as is" no warranties or guarantees , , confers no rights.
Windows Server > Group Policy
Comments
Post a Comment