Solved

I'd like to set a group policy forcing a weekly system restore point creation.

Posted on 2016-08-02
17
61 Views
Last Modified: 2016-08-27
Windows 10 Pro workstations on a Windows Server 2008 R2 domain.  I'd like to set a weekly restore point creation on say Friday or Monday but the steps i've followed have lead to dead ends.  I was following this link:  https://social.technet.microsoft.com/Forums/windowsserver/en-US/85a9363c-7617-46fe-aebe-7ee5b6d2feca/configure-system-restore-schedule-via-group-policy?forum=winserverGP --

My problem:  When I get to Scheduled Tasks -> select "New" -> Scheduled Task -> It asks for the following:  Action, Name, Run, Arguments, Start In, Comments, Run As:,|  I created a name "System Restore Points" but it REQUIRES that I choose a program in the "Run" box.  Servers do not inherently have System Restore to my knowledge though it's browsing the local machine.  How do I have it call something from the workstation instead of the server?  I can't look at any of the other tabs until I choose something here.
0
Comment
Question by:Daniel Checksum
  • 11
  • 6
17 Comments
 
LVL 12

Assisted Solution

by:Gary Dewrell
Gary Dewrell earned 500 total points
ID: 41739361
To configure System Restore to run once a week via Group Policy, please refer to the following steps:
Create a new Task under [Computer Configuration\Preferences\Control Panel Settings\Scheduled Tasks],
type a name and choose SYSTEM account to run this task,
Switch to Triggers tab, click New, choose Weekly, click OK.
Switch to Action tab, click New, type " %windir%\system32\rundll32.exe"
in Program/script box, type " /d srrstr.dll,ExecuteScheduledSPPCreation"
in Add arguments box. Click OK.
Run "gpupdate /force" on client and check the task.
0
 
LVL 1

Assisted Solution

by:Daniel Checksum
Daniel Checksum earned 0 total points
ID: 41739433
Those were the steps I was attempting to follow from the link I posted.  I've attached a screenshot at the point i'm stuck at.  What do I put under "Run:"?
0
 
LVL 1

Assisted Solution

by:Daniel Checksum
Daniel Checksum earned 0 total points
ID: 41739435
0
 
LVL 12

Assisted Solution

by:Gary Dewrell
Gary Dewrell earned 500 total points
ID: 41739551
Sorry your screen shot does not appear to work.
I am using Server 2012r2 so my setup is a little different but hopefully this will point you in the right direction.

On mine I have the Run as: %windir%\system32\rundll32.exe
and the arguments as:  /d srrstr.dll,ExecuteScheduledSPPCreation
0
 
LVL 1

Assisted Solution

by:Daniel Checksum
Daniel Checksum earned 0 total points
ID: 41739605
OK, few things:  Number 1:  I was entering a scheduled tasks for Pre-Vista which is why I didn't get the "trigger" or "action" tabs.  Once I entered Later than Vista scheduled task I got the tabs the instructions mentioned.  I've implemented the GPO and ran gpupdate /force on my own machine but I don't see it in my "scheduled tasks"  --  should I be looking elsewhere?  The GPO is set to apply to "Domain Users" as we want this on every single machine in the office on the Domain.  I've set it for Monday at 7:30am so I won't REALLY know if it's working until Monday.  What's the next steps?
0
 
LVL 1

Assisted Solution

by:Daniel Checksum
Daniel Checksum earned 0 total points
ID: 41740857
I am now having the issue where I open "Group Policy Management" ->  Hit "Edit" on a policy to pull up the "Group Policy Management Editor" -> Create my group policy -> Go back to tree I want to "link existing GPO" to and my group policies don't appear in the list and upon going back to the editor, they have disappeared.  Why does this keep happening?
0
 
LVL 12

Assisted Solution

by:Gary Dewrell
Gary Dewrell earned 500 total points
ID: 41740899
Off the top of my head I have no clue. That does not make much sense. Are you editing an existing GPO or created a new one?
0
 
LVL 1

Assisted Solution

by:Daniel Checksum
Daniel Checksum earned 0 total points
ID: 41740945
Creating a new one.
0
Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

 
LVL 1

Assisted Solution

by:Daniel Checksum
Daniel Checksum earned 0 total points
ID: 41742466
I've tried gpresults and rsop but I can't see where the scheduled task is being displayed on my workstation.  I did fix the 1:30am to PM and changed the "when this network connection is available.." to "Any" (Side question:  Does 'any' include no connection?)  

I just need to know if the GPO is ACTUALLY being applied to my station or not, and if it is running, since it's a scheduled task it's time consuming to have to wait for my scheduled time though I supposed I could run a separate test GPO on just my station.
GPO-Settings.png
tree-for-group-policy.png
0
 
LVL 12

Assisted Solution

by:Gary Dewrell
Gary Dewrell earned 500 total points
ID: 41742491
On a workstation, from an elevated prompt, run:

gprusult /H GPOApplied.html

Then open GPOApplied.html in your browser. You may have to click the expand all link in the top right corner.

The use CTRL-F to do a find and search for System Restore Point.

Yes to your side question.
0
 
LVL 1

Assisted Solution

by:Daniel Checksum
Daniel Checksum earned 0 total points
ID: 41749332
No workstation is getting this group policy.  I can't find it in gpresults and I even created another group and policy JUST to test with, put myself in the group and have gotten nothing.  gpupdate /force says it needs a reboot to complete the task, but doesn't pull any more group policies after a reboot.  I am completely stuck at this point, doesn't make any sense.
0
 
LVL 12

Assisted Solution

by:Gary Dewrell
Gary Dewrell earned 500 total points
ID: 41749337
Look in the system event log on your pc for any warning, errors, critical events.
0
 
LVL 1

Assisted Solution

by:Daniel Checksum
Daniel Checksum earned 0 total points
ID: 41749351
The only error even remotely pertaining to the group policy is this one:

Security policies were propagated with warning. 0x534 : No mapping between account names and security IDs was done.

Advanced help for this problem is available on http://support.microsoft.com. Query for "troubleshooting 1202 events".

Error 0x534 occurs when a user account in one or more Group Policy objects (GPOs) could not be resolved to a SID.  This error is possibly caused by a mistyped or deleted user account referenced in either the User Rights or Restricted Groups branch of a GPO.  To resolve this event, contact an administrator in the domain to perform the following actions:

1.      Identify accounts that could not be resolved to a SID:

From the command prompt, type: FIND /I "Cannot find"  %SYSTEMROOT%\Security\Logs\winlogon.log

The string following "Cannot find" in the FIND output identifies the problem account names.

Example: Cannot find JohnDough.

In this case, the SID for username "JohnDough" could not be determined. This most likely occurs because the account was deleted, renamed, or is spelled differently (e.g. "JohnDoe").

2.      Use RSoP to identify the specific User Rights, Restricted Groups, and Source GPOs that contain the problem accounts:

a.      Start -> Run -> RSoP.msc
b.      Review the results for Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment and Computer Configuration\Windows Settings\Security Settings\Local Policies\Restricted Groups for any errors flagged with a red X.
c.      For any User Right or Restricted Group marked with a red X, the corresponding GPO that contains the problem policy setting is listed under the column entitled "Source GPO". Note the specific User Rights, Restricted Groups and containing Source GPOs that are generating errors.

3.      Remove unresolved accounts from Group Policy

a.      Start -> Run -> MMC.EXE
b.      From the File menu select "Add/Remove Snap-in..."
c.      From the "Add/Remove Snap-in" dialog box select "Add..."
d.      In the "Add Standalone Snap-in" dialog box select "Group Policy" and click "Add"
e.      In the "Select Group Policy Object" dialog box click the "Browse" button.
f.      On the "Browse for a Group Policy Object" dialog box choose the "All" tab
g.      For each source GPO identified in step 2, correct the specific User Rights or Restricted Groups that were flagged with a red X in step 2. These User Rights or Restricted Groups can be corrected by removing or correcting any references to the problem accounts that were identified in step 1
.
0
 
LVL 12

Assisted Solution

by:Gary Dewrell
Gary Dewrell earned 500 total points
ID: 41749366
I would start a new question with a Subject like GPO Policies not applying to see if we can get some experts in AD/GPO issues involved.
0
 
LVL 1

Assisted Solution

by:Daniel Checksum
Daniel Checksum earned 0 total points
ID: 41756426
Should my GPO be Create or Update?
0
 
LVL 1

Accepted Solution

by:
Daniel Checksum earned 0 total points
ID: 41765359
Found a solution.

Going to run this script:  
''''Script to create manual system restore point without user intervention''''
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 "ManualRestorePoint", 0, 100
End If
0
 
LVL 1

Author Closing Comment

by:Daniel Checksum
ID: 41772806
Going to use this VBS script as opposed to the arguments in my initial post.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now