Login    
   Windows Server to Workstation
   Convert Windows Server 2008/2008 R2/2012 to a Workstation!
    Register FAQ  •  Search    
It is currently Sat May 18, 2013 4:48 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 60 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: System Restore
PostPosted: Wed Jul 20, 2011 1:34 pm 
Offline

Joined: Tue Jul 19, 2011 1:05 pm
Posts: 3
Location: Johannesburg, South Africa
Hi Guys,

I also need to have System Restore available for Windows Server 2008 R2, however, the link provided is broken. For some reason, the MegaUpload page opens, I then wait to access the regular download link and boom, "Safari failed to open...". This error also appears across all available browsers.

Is it possible for you to re-upload the file or provide an alternative download link?


 Profile  
 Post subject: Re: System Restore
PostPosted: Wed Jul 20, 2011 10:34 pm 
Offline
Win2008Workstation Expert
Win2008Workstation Expert
User avatar

Joined: Wed Dec 10, 2008 9:09 pm
Posts: 250
Location: Czech Republic
Here you are. ;-)

Attachment:
System Restore.zip


You do not have the required permissions to view the files attached to this post.

_________________
Image


 Profile  
 Post subject: Re: System Restore
PostPosted: Fri Aug 05, 2011 1:37 pm 
Offline

Joined: Fri Aug 05, 2011 1:26 pm
Posts: 3
Thanks for a great post! I have a question pertaining to WMI for System Restore. I wrote the following simple script for creating a restore point and verified that it works on a true Windows 7 machine.

+++++++++
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\default")
Set obj = objWMIService.Get("SystemRestore")

If (obj.CreateRestorePoint("Scripted", 12, 100)) = 0 Then
wscript.Echo "Success"
Else
wscript.Echo "Failed"
End If
+++++++++

But after installing your package on a Win 2008 R2, the script fails because "SystemRestore" WMI class is missing. Do you have any suggestions? I see that your package includes srwmi.dll. I also tried copying sr.mof and sr.mfl files, but that did not help.

Thanks


 Profile  
 Post subject: Re: System Restore
PostPosted: Fri Aug 05, 2011 5:14 pm 
Offline

Joined: Fri Aug 05, 2011 1:26 pm
Posts: 3
UPDATE

Following some information I found online, I was able to get one step further by copying sr.mof file from a Windows 7 machine to C:\Windows\System32\wbem directory, and compiling it with mofcomp.exe. I got one step further, but now I am getting a 80041013 Provider load failure for SystemRestore WMI provider.

Any ideas?


 Profile  
 Post subject: RESOLVED: System Restore
PostPosted: Tue Aug 09, 2011 1:10 pm 
Offline

Joined: Fri Aug 05, 2011 1:26 pm
Posts: 3
RESOLVED
=======

I figured out the missing piece and felt that this information may be of value to others.

The CLSID registry entry for srwmi.dll required for COM was missing. I found and exported this key from my Windows 7 box, and now I can invoke System Restore functions from WMI scripts (indeed, as far as I can tell, the only way to actually trigger a system restore is through WMI). The reg key to import is HKLM\SOFTWARE\Classes\CLSID\{a47401f6-a8a6-40ea-9c29-b8f6026c98b8}.

Vasu


 Profile  
 Post subject: Re: System Restore
PostPosted: Mon Oct 17, 2011 4:33 pm 
Offline
Win2008Workstation Expert
Win2008Workstation Expert

Joined: Sat Apr 10, 2010 8:56 am
Posts: 553
I used a Windows 7 loader to activate my R2 as a Windows 7 machine. Upon rebooting my server was pretty much disfunctional. Server Manager was inaccsessible, Windows Server Backup, Share and Storage Management...pretty much everything. Windows thought I was the client (Windows 7) machine. Upon creating a restore point, I rebooted and went into the recovery console aka "Repair your computer". I created a restore point called "Test". Upon entering system restore (rstrui) I noticed that it allowed me to restore my computer. However I am only able to recover restore points when my licensing on my PC is switched to "Windows 7-mode" if you want to call it that. So this makes me believe that the reason why we are not able to restore R2 using R2-licensing is not because of a missing DLL or registry, but a integrity check that is somehow checking to see if we have the right edition of Windows installed. I tried changing the "EditionID" registry string to 7 but that didn't help. I'll try to investigate this matter later....atleast I know I'm on the right path. It's definietely not a missing system file or DLL...its not writing to the "System Reserved" partition somehow.

_________________
Image


 Profile  
 Post subject: Re: System Restore
PostPosted: Wed Nov 02, 2011 2:58 am 
Offline

Joined: Wed Nov 02, 2011 2:55 am
Posts: 2
You do not need to follow this procedure tu enable system protection, you just have to install it via server manager, add features, System Protection, and then enable it by right clicking on computer, advanced system settings, system protection, and enabling system restoring on desired disk/partition. I hope this be useful for someone, bye :)


 Profile  
 Post subject: Re: System Restore
PostPosted: Thu Nov 03, 2011 12:23 am 
Offline
Win2008Workstation Expert
Win2008Workstation Expert

Joined: Sat Apr 10, 2010 8:56 am
Posts: 553
sebasia wrote:
You do not need to follow this procedure tu enable system protection, you just have to install it via server manager, add features, System Protection, and then enable it by right clicking on computer, advanced system settings, system protection, and enabling system restoring on desired disk/partition. I hope this be useful for someone, bye :)


You are mistaken my friend. Windows Server 2008 R2 does not contain any roles or features that will enable system restore. The closest thing Server has is system state backups which requires the Windows Server Backup utility. It is a more a system wide backup...in essence you are virtually re-imaging your entire machine every time you run it. System Restore is a little more generic but it makes it great if you want to restore you machine from an application that is incompatible or you need to revert to a previous state a lot quicker than a system state restore.

_________________
Image


 Profile  
 Post subject: Re: System Restore
PostPosted: Mon Nov 07, 2011 10:38 pm 
Offline

Joined: Mon Nov 07, 2011 9:16 pm
Posts: 4
Is Desktop Experience required for System Restore?

When I try to run rstrui.exe no window opens. System Protection tab exists, restore point created successfully.
Features:
  • .NET Framework 3.5 Features YES
  • Windows Server Backup YES
  • Desktop Experience NO


 Profile  
 Post subject: Re: System Restore
PostPosted: Sat Nov 12, 2011 12:12 pm 
Offline

Joined: Mon Nov 07, 2011 9:16 pm
Posts: 4
halladayrules wrote:
cd \windows\system32
regsvr32 srcore.dll
regsvr32 srwmi.dll

This helped :D


 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 60 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
phpBB skin developed by: John Olson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[ Time : 0.052s | 12 Queries | GZIP : Off ]