0
Thanks

A few words of thanks would be greatly appreciated.

Create a restore point to Windows 7 from a shortcut.


Create a restore point to Windows 7 from a shortcut.





Windows System Restore is a very handy feature, especially for those of us who install and remove software daily. But over time, most of us have become lazy with our restore points due to the lengthy process required to achieve this navigation tool. We'll see in this tutorial how to speed up the process of creating a restore point.
  • What types of files modified by System Restore?
    • System Restore modifies the Windows system files, registry settings and installed programs on your computer. Scripts, batch files and other executable file types can also be changed on your computer. Personal files, such as documents, email messages, photos and audio files are not modified.
  • To create a restore point in Windows 7, is through the Control Panel ? System ? System ? Security and Protection System ? Create.
  • Step 1: write a few lines in Visual Basic Script

It's not as difficult as it sounds. Just open Notepad and type (or copy / paste) this:

If WScript.Arguments.Count = 0 Then
Set objShell = CreateObject ("Shell.Application)
objShell.ShellExecute "wscript.exe", Chr (34) & WScript.ScriptFullName & Chr (34) & "Run", "runas", 1
Else
GetObject ("winmgmts: \ \. \ Root \ default: SystemRestore"). CreateRestorePoint InputBox ("Enter a description for the restore point:", "Create Restore Point - Quick Tutoriel.com"), 0, 100
Msgbox ("Restore Point created!")
End If
  • You will notice that there is a line ShellExecute with a "runas", the script will run as an administrator to create the restore point.
  • Now click on File then Save As. Name your file for example "CreateRestorePoint" . Instead of saving as a. Txt, type. Vbs after selecting your file name. You can save this file in any directory.
  • Step 2: Create a shortcut
    • Go to your desktop and right-click an empty space. Click New and select Shortcut.
    • Click Browse and find the file you just created. Click Open. Now, select the file you just created, then click Next.
    • Then enter a name for your shortcut, eg "Creating Restore Point"
    • The shortcut now appears on your desktop.
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Create a restore point to Windows 7 from a shortcut. », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!