Auto-commit: 2025-10-31 08:58:35
This commit is contained in:
BIN
ActiveSetup_Example/ActiveSetup.reg
Normal file
BIN
ActiveSetup_Example/ActiveSetup.reg
Normal file
Binary file not shown.
3
ActiveSetup_Example/ScreenSaver.bat
Normal file
3
ActiveSetup_Example/ScreenSaver.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
reg add "HKCU\Control Panel\Desktop" /v ScreenSaveActive /t REG_SZ /d 0 /f
|
||||
reg add "HKCU\Control Panel\Desktop" /v ScreenSaveTimeOut /t REG_SZ /d 599940 /f
|
||||
reg add "HKCU\Control Panel\Desktop" /v ScreenSaverIsSecure /t REG_SZ /d 0 /f
|
||||
3
ActiveSetup_Example/install.bat
Normal file
3
ActiveSetup_Example/install.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
copy "%~dp0screensaver.bat" c:\windows\screensaver.bat /Y
|
||||
regedit /s "%~dp0activeSetup.reg"
|
||||
pause
|
||||
13
ActiveSetup_Example/readme.md
Normal file
13
ActiveSetup_Example/readme.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Active Setup Example – Screensaver
|
||||
|
||||
This project is a **simple Active Setup example** that demonstrates how to register a per-user action during login.
|
||||
|
||||
In this case, the example installs a **screensaver configuration** using:
|
||||
- `ActiveSetup.reg` → Registry template for Active Setup
|
||||
- `install.bat` → Installation script
|
||||
- `ScreenSaver.bat` → Example payload executed for each user
|
||||
|
||||
## 📌 Purpose
|
||||
|
||||
The goal is to provide a **minimal working sample** showing how Active Setup can deploy or configure settings (like a screensaver) for all users automatically at logon.
|
||||
|
||||
Reference in New Issue
Block a user