Stef Merlijn
asked on
System restore point
Hi,
With my Delphi application I create a restorepoint.
See: https://www.experts-exchange.com/questions/28926866/Create-a-Restore-Point-In-Windows-10.html
As far as I know a restorepoint is a copy of the registry at a specific date and time. Restoring it will set things back to those settings. Therefor I need to create a new restorepoint each time a user makes (registry) changes by using my application.
Currently a restorepoint is only created the very first time. Any subsequent tries to create a new restorepoint (these execute very fast) do not create new entries in the list of Windows restorepoints.
Therefor I would like to know how to set this up correctly?
With my Delphi application I create a restorepoint.
See: https://www.experts-exchange.com/questions/28926866/Create-a-Restore-Point-In-Windows-10.html
The idea is:
1. make a restorepoint
2. user sets some systemchanges (with my application)
3. Settings are saved
4. If user doesn't like the outcome of the changes, he will undo them by restoring a specific restorepoint
So a new restorepoint must be created each time the user saves some changes. As far as I know a restorepoint is a copy of the registry at a specific date and time. Restoring it will set things back to those settings. Therefor I need to create a new restorepoint each time a user makes (registry) changes by using my application.
Currently a restorepoint is only created the very first time. Any subsequent tries to create a new restorepoint (these execute very fast) do not create new entries in the list of Windows restorepoints.
Therefor I would like to know how to set this up correctly?
1.
Does a restorepoint needs to be ended immediately after it's created? Using: BEGIN_SYSTEM_CHANGE and END_SYSTEM_CHANGE2.
Does a previously created restorepoint needs to be removed before a new restorepoint can be created for the same application and/or with the same name?ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much!
ASKER
1. Must I use the same name in order to 'end' it or do I need to use a unique name here too: f.e. 'MyRestorePoint002'?
2. Will StartRestorePoint and EndRestorePoint create one or two entries in the list of restorepoints?
Microsoft creates multiple restorepoints with the same name: like "Windows update". So it must be possible to create multiple restorepoints with the same name.
3. Can I use the same name 'RestorePoint001' for any new StartRestorePoint (as long as I 'end' it first) or do I need to use unique names every time?
4. Or do I need to delete any previous restorepoint first before creating a new one with the same name?