Cannot save SystemRestorePointCreationFrequency in registry


ldwilliams

New member
Local time
6:41 AM
Posts
11
OS
Windows 11 Pro 22H2
Hi,
System (Win 11 Pro Version 22H2 OS build 22621.2428 Windows Feature Experience Pack 1000.22674.1000.0) is not saving an added key in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore

EDIT - I have used the following as my ref point -

I am trying to create a new key (as admin) as follows -

SystemRestorePointCreationFrequency REG_DWORD 0
To allow more than 1 restore point per 24 hours but the system is Not keeping the new key.

I add the above (as admin) and it remains for the session, but on a restart the value is not saved.
I have tried manually adding it and using .reg files from the tutorials on here.
I wish to create this so that a system restore will be created on every start-up

Any thoughts?
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro 22H2
    Computer type
    Laptop
    Manufacturer/Model
    PC Specialist
    CPU
    AMD Ryzen 9 5900HX with Radeon Graphics 3.30
Here is a screenshot of the created SystemRestorePointCreationFrequency

 

Attachments

  • system-restore-pic.jpg
    system-restore-pic.jpg
    84.5 KB · Views: 1

My Computer

System One

  • OS
    Windows 11 Pro 22H2
    Computer type
    Laptop
    Manufacturer/Model
    PC Specialist
    CPU
    AMD Ryzen 9 5900HX with Radeon Graphics 3.30
You asked for suggestions, so here's the best one I have:
Put a little script in your STARTUP folder that will force a new Restore Point, every time you boot up your PC.
I've done that, and I always have a fresh restore point when I need one. Thank You , Shawn.

' Created by: Shawn Brink
' Ten Forums - Windows 10 Help and Support Forum
' Tutorial: Create System Restore Point shortcut in Windows 10


Function GetOS
Set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & ".\root\cimv2")
Set colOS = objWMI.ExecQuery("Select * from Win32_OperatingSystem")
For Each objOS in colOS
If instr(objOS.Caption, "Windows 11") Then
GetOS = "Windows 11"
End If
Next
End Function

If GetOS = "Windows 11" Then
If WScript.Arguments.length =0 Then
Set objShell = CreateObject("Shell.Application")
objShell.ShellExecute "wscript.exe", Chr(34) & WScript.ScriptFullName & Chr(34) & " Run", , "runas", 1
Else
const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore"
strValueName = "SystemRestorePointCreationFrequency"
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,0
CreateSRP
End If
End If


Sub CreateSRP

GetObject("winmgmts:\\.\root\default:Systemrestore").CreateRestorePoint "Instant Restore Point", 0, 100

End Sub
 

My Computer

Thank you but that does not address the situation of the system restore point frequency creation remaining after being created.

Its that which bugs me.
 

My Computer

System One

  • OS
    Windows 11 Pro 22H2
    Computer type
    Laptop
    Manufacturer/Model
    PC Specialist
    CPU
    AMD Ryzen 9 5900HX with Radeon Graphics 3.30
Back
Top Bottom