Search code examples
windowswinapisnapshotvolume-shadow-service

How to create a system restore point?


alt text

Installing paint.net, I found a string Creating system restore point...
I guess it is creating a restore point for Volume Shadow Service. -Isn't it? I'm not sure.

If I'm right, how do I do this in my app?
Let me know please if there are proper Apis.


Solution

  • You can do this using the System Restore API.

    See the documentation for the SRSetRestorePoint function, along with adetailed example.