Get the App
SLTechnology News&Howtos  ›  Servers  › 

The fifth application of AD script kixtart (user computer screensaver settings)

Shulou Source: shulou.com Published: 2022-06-02 11:23:55 10月02日 Update

Principles and settings are based on the previous series http://windyma.blog.51cto.com/661702/1967071

Just add the following to kixtart.kix

IF EXIST ("%userprofile%\$ScreenRes.scr")WriteValue("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "%userprofile%\$ScreenRes.scr", "Reg_SZ")GOTO screensaverENDIFIF EXIST("%logonserver%\netlogon\screensaver\$ScreenRes.scr")copy "%logonserver%\netlogon\screensaver\$ScreenRes.scr" "%userprofile%\$ScreenRes.scr" /c /rWriteValue("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "%userprofile%\$ScreenRes.scr", "Reg_SZ")ELSEIF EXIST ("%userprofile%\NEO2017.scr")WriteValue("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "%userprofile%\NEO2017.scr", "Reg_SZ")GOTO screensaverELSEcopy "%logonserver%\netlogon\screensaver\NEO2017.scr" "%userprofile%\NEO2017.scr" /c /rWriteValue("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "%userprofile%\NEO2017.scr", "Reg_SZ")ENDIFENDIF:screensaver

Tags: Content principles screensavers users computers scripts Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Information MariaDB Huawei Redmi