Main Forum > Tweaking.com Support & Help
SOLVED : issue when creating System Restore Points from TRW
MerleOne:
Hi, I am using version 2.8.4 and running Windows 8.1 on a Lenovo G505.
Since recently, creating System Restore Point from within Tweaking.com Windows Repair is not working most of the time. When I click on Create, I get instantly a message saying a point has been created. It usually takes 30s or so. When I check after while, I see no created system restore point. Only when using the Windows GUI I can create new points, and this time it does take some time.
This is annoying to have a false positive message saying a point has been created.
Thanks for your help.
PS : the captcha are really hard to read...
Shane:
The program uses WMI to create the restore point, and if WMI isnt working properly then it wont create one, but it hasnt told the program that it couldnt create it, I will look into it more and see if WMI will return anything, but tats if WMI was even working.
90% of the repairs all have to do with the registry. All you really need is a registry backup, which my program does for you, and if there are any problems you just restore the registry with the program :-)
Shane
MerleOne:
Thanks for your reply. The strange thing is that it does work from time to time, or maybe it was with previous versions. I use your program not only to take new System Restore Points of course, but that's very convenient to use actually, just 3 mouse clicks to launch.
Shane:
Yeah the program just uses WMI to do it since there is no direct way for my program to talk to system restore.
You can actually do this with a vbs script file and just run it from that if you liked as well :-)
The code is pretty easy,
First thing the program does is try to turn restore on if it is off
Dim obj As Object
Set obj = GetObject("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")
'The date and ID are auto added
Call obj.Enable("C:\")
Pretty easy, WMI makes it simple, but you dont have any control lol.
After I run that command I then just run the create restore command
Dim obj As Object
Set obj = GetObject("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")
'The date and ID are auto added
Call obj.CreateRestorePoint("Tweaking.com - Windows Repair", 12, 100)
And thats it. No more code that is needed. So the program does rely on WMI to do the work.
If you like I could put this in a vbs file that you can edit with notepad and simply double click to run. Then you will only need to double click the one file to make a restore point, so that would be even faster than using my program. :-)
Shane
MerleOne:
Thanks, that's very kind from you. I think I still prefer to use the full program, since I also perform a Registry Backup (BTW, why is the default setting now "enable fallback mode always", I have to reset it at every install - preferences are not kept apparently). I tend to wear braces and a belt as we say over here.
Could you tell me how to check if the WMI component is working ? If there is a script for that that would be great (I guess there is a script for almost everything nowadays...).
Also, is there a way to check after the System Restore point is created that it is indeed created, even if WMI doesn't return an error. It's really annoying to feel safe while one is not.
Navigation
[0] Message Index
[#] Next page
Go to full version