-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
19 lines (16 loc) · 978 Bytes
/
Copy pathinstall.bat
File metadata and controls
19 lines (16 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo off
copy shader.scr "%SystemRoot%\System32\shader.scr" /y
REM Set as active screensaver for current user
reg add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d "%SystemRoot%\System32\shader.scr" /f >nul
reg add "HKCU\Control Panel\Desktop" /v ScreenSaveActive /t REG_SZ /d "1" /f >nul
reg add "HKCU\Control Panel\Desktop" /v ScreenSaveTimeOut /t REG_SZ /d "300" /f >nul
reg add "HKCU\Control Panel\Desktop" /v ScreenSaverIsSecure /t REG_SZ /d "0" /f >nul
REM Set as lock screen screensaver (runs on login/lock screen desktop)
reg add "HKU\.DEFAULT\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d "%SystemRoot%\System32\shader.scr" /f >nul
reg add "HKU\.DEFAULT\Control Panel\Desktop" /v ScreenSaveActive /t REG_SZ /d "1" /f >nul
reg add "HKU\.DEFAULT\Control Panel\Desktop" /v ScreenSaveTimeOut /t REG_SZ /d "30" /f >nul
echo Installed: %SystemRoot%\System32\shader.scr
echo.
echo To test now: shader.scr /s
echo To remove: screensaver_remove.bat
pause