Creating a restore point in Windows is typically done in the System Properties dialogue box for Windows Vista or Windows 7. However, if you want to create a restore point from a command prompt, you will need to create a script that can be run by a command. If you are running Windows XP and your system will not start, you will need to access System Restore from a command prompt by first booting into Safe Mode.
Click the "Start" button and then type “notepad” into the text box and click the “OK” button. This opens the Notepad program.
Type “set SRP = getobject(“winmgmts:.\root\default:Systemrestore”).” Press the “Enter” key to go to the next line.
Type “CSRP = SRP/createrestorepoint (“Restore Point Created”, 0, 100).” Press the “Enter” key to go to the next line. Type “If CSRP <> 0 then” and then press the “Enter” key.
Type “Msgbox “Error “ & CSRP & “: Unable to create System Restore point”” and press the “Enter” key. Type “End If” and click the "File" drop-down. Select the “Save” option and then select a location to save the file.
Enter a name for the file, such as “crp.vbs,” and then click the “Save” button.
Click the "Start" button and then type “cmd” into the text box and click the “OK” button. This opens a command prompt.
Type “wscript.exe C:\crp.vbs” and then press the “Enter” key. A message box should appear that says “Restore Point Created.”
Restart the computer and then press the “F8” key when the splash screen appears. Tab down and select the “Safe Mode with a command prompt” option.
Press the “Enter” key to boot into Safe Mode. Enter your administer user name and password when the system starts, if necessary.
Type “%systemroot%\system32\restore\retrui.exe” and then press the “Enter” key. This runs System Restore.
If an error appears when running the command, you will need to go back and check the code for the script.