question

KiranMaharjan-4801 avatar image
0 Votes"
KiranMaharjan-4801 asked HanyunZhu-MSFT commented

I need to Create an automatic restore point on startup. I want to deploy it via Endpoint manager.

I know we can schedule and create restore point on each start up but I am wanting to deploy it through endpoint manager. I have 1000's of device within the organization to run this.


Any help will be appreciated.

mem-cm-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered

Do you have a command-line to perform this operation? If so, then just deploy that command-line using a package, run script, or CI. There's nothing different really about doing this in ConfigMgr although I'd suggest that in general what you are wanting to do is a bad idea. Why aren't built-in restore points based on OS level changes sufficient?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HanyunZhu-MSFT avatar image
0 Votes"
HanyunZhu-MSFT answered HanyunZhu-MSFT commented

@KiranMaharjan-4801

Agree with Jason, we may achieve this via commline line or scripts.
Checkpoint-Computer -Description "RestorePoint1" -RestorePointType "MODIFY_SETTINGS"

Just add a step Run PowerShell Script in the task sequence and choose Enter a PowerShell script, then enter the script.

For the script, I also performed a quick test in the lab. You may try it in your environment to see if it works either.

Here's the screenshot for your reference:
97366-script.png

Hope the above information may help you.


If the response is helpful, please click "Accept Answer"and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



script.png (74.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@KiranMaharjan-4801, Hope things are going well. I am writing to see if there's any update on our issue. If yes, feel free to let us know.

0 Votes 0 ·