Files

23 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2026-02-10 19:49:36 +00:00
---
2026-04-17 09:04:35 -05:00
title: "Registry Backup (Daily Task 12:30am) - Enable"
2026-02-10 19:49:36 +00:00
description: ""
---
2026-02-18 12:37:09 -06:00
2026-06-03 16:07:49 -05:00
```json {filename="config/feature.json",linenos=inline,linenostart=79}
"WPFFeatureRegBackup": {
2026-04-17 09:04:35 -05:00
"Content": "Registry Backup (Daily Task 12:30am) - Enable",
2026-01-14 20:28:45 +02:00
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
"category": "Features",
"panel": "1",
"feature": [],
"InvokeScript": [
"
2026-01-07 19:55:35 +00:00
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager' -Name 'EnablePeriodicBackup' -Type DWord -Value 1 -Force
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager' -Name 'BackupCount' -Type DWord -Value 2 -Force
$action = New-ScheduledTaskAction -Execute 'schtasks' -Argument '/run /i /tn \"\\Microsoft\\Windows\\Registry\\RegIdleBackup\"'
$trigger = New-ScheduledTaskTrigger -Daily -At 00:30
Register-ScheduledTask -Action $action -Trigger $trigger -TaskName 'AutoRegBackup' -Description 'Create System Registry Backups' -User 'System'
"
2026-01-14 20:28:45 +02:00
],
2026-01-07 19:55:35 +00:00
```