diff --git a/TCSE-Computer-Deploy.bat b/TCSE-Computer-Deploy.bat index 748cd6f..07be561 100644 --- a/TCSE-Computer-Deploy.bat +++ b/TCSE-Computer-Deploy.bat @@ -3,6 +3,9 @@ :: Set PowerOptions so the PC will not go to sleep during the script Powercfg /x -standby-timeout-ac 0 +:: Set PowerOptions so the monitor will not go off +powercfg -change -monitor-timeout-ac 0 + :: Install Office 2016 echo Installing Office 2016... C:\Scripts\Software\Office2016\setup.exe /adminfile C:\Scripts\Software\Office2016\TCSE.MSP @@ -87,6 +90,9 @@ powershell -ExecutionPolicy Bypass -File "C:\Scripts\Patches\Windows\Initial-Win :: Set PowerOptions so the PC will sleep after 60 minutes Powercfg /x -standby-timeout-ac 60 +:: Set PowerOptions so the monitor will go off after 15 minutes +powercfg -change -monitor-timeout-ac 15 + :: Restart System echo Restarting system in 2.5 minutes... timeout /t 150