Answer the question
In order to leave comments, you need to log in
Automatic shutdown of workstations. Implementation methods?
Добрый день.
Поставили задачу - рабочие станции пользователей должны автоматически/принудительно выключатся в конце рабочего дня. Какие способы реализации предложите? Развернут AD, рабочие станции преимущественно на 10-ке.
В идеале - предупреждение пользователя заранее, возможность продления на пару часов(опционально).
Политикой.сторонним софтом - не важно)
Заранее благодарю.
Answer the question
In order to leave comments, you need to log in
Has been working for several years now:
NightShutdown.cmd is triggered by the job at the right time (mine is 10pm and 11pm)
@echo off
chcp 1251 > nul
set LF=NightShutdown.%date:~6,4%.%date:~3,2%.%date:~0,2%.log
echo ----------- >> %LF%
echo %time% >> %LF%
echo ----------- >> %LF%
psshutdown.exe -k -f -t 00 -v 00 @NightShutdown.list >> %LF%
@echo off
chcp 1251 > nul
set LF=NightShutdown.%date:~6,4%.%date:~3,2%.%date:~0,2%.log
echo ----------- >> %LF%
echo %time% >> %LF%
echo ----------- >> %LF%
psshutdown.exe -r -f -t 00 -v 00 @NightShutdown.list >> %LF%
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question