HelpJayPlz
MIS
Hi Guys
I’m trying to affect the Windows Pre Logon Environment, basically I want to set the Screen Saver and Wallpaper to the corporate defaults.
I’m doing this at the moment by hacking the registry as the user logs in, but if the user doesn’t have Local Admin rights the registry remains unaffected.
Is there anyway to set the Pre Logon Environment with GPO?
If not is there anyway to run a script at logon/start-up so it runs with Local Admin Rights?
Here’s my script;
'Apply Registry Settings
'Screen Saver & Wallpaper Settings (Pre-Logon Environment)
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\ScreenSaveActive", 1, "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\ScreenSaveTimeOut", 600, "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\ScreenSaverIsSecure", 0, "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\SCRNSAVE.EXE", "C:\Policy\HFScreenSaver.scr", "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\WallPaperStyle", "2", "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\TileWallPaper", "0", "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\WallPaper", "C:\Policy\HFLogonWallPaper.bmp", "REG_SZ"
Any help on this would be greatly appreciated
I’m trying to affect the Windows Pre Logon Environment, basically I want to set the Screen Saver and Wallpaper to the corporate defaults.
I’m doing this at the moment by hacking the registry as the user logs in, but if the user doesn’t have Local Admin rights the registry remains unaffected.
Is there anyway to set the Pre Logon Environment with GPO?
If not is there anyway to run a script at logon/start-up so it runs with Local Admin Rights?
Here’s my script;
'Apply Registry Settings
'Screen Saver & Wallpaper Settings (Pre-Logon Environment)
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\ScreenSaveActive", 1, "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\ScreenSaveTimeOut", 600, "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\ScreenSaverIsSecure", 0, "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\SCRNSAVE.EXE", "C:\Policy\HFScreenSaver.scr", "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\WallPaperStyle", "2", "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\TileWallPaper", "0", "REG_SZ"
WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\WallPaper", "C:\Policy\HFLogonWallPaper.bmp", "REG_SZ"
Any help on this would be greatly appreciated