原理和设置基于前一编http://windyma.blog.51cto.com/661702/1967071一样
只需要在kixtart.kix中添加如下内容
IF EXIST ("%userprofile%\$ScreenRes.scr") WriteValue("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "%userprofile%\$ScreenRes.scr", "Reg_SZ") GOTO screensaver ENDIF IF EXIST("%logonserver%\netlogon\screensaver\$ScreenRes.scr") copy "%logonserver%\netlogon\screensaver\$ScreenRes.scr" "%userprofile%\$ScreenRes.scr" /c /r WriteValue("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "%userprofile%\$ScreenRes.scr", "Reg_SZ") ELSE IF EXIST ("%userprofile%\NEO2017.scr") WriteValue("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "%userprofile%\NEO2017.scr", "Reg_SZ") GOTO screensaver ELSE copy "%logonserver%\netlogon\screensaver\NEO2017.scr" "%userprofile%\NEO2017.scr" /c /r WriteValue("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "%userprofile%\NEO2017.scr", "Reg_SZ") ENDIF ENDIF :screensaver
转载于:https://blog.51cto.com/windyma/1967103