[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Cannot restore previously backed up group policy objects

Posted on 2011-02-12
7
Medium Priority
?
1,839 Views
Last Modified: 2012-05-11
Hi

I recently had to demote a server 2008 domain controller before promoting it back into a new domain.

Prefore demoting it i backed up the group policy object.

I am now trying to restore them but i am getting a very unhelpful eror message stating "The parameter is incorrect"

Any ideas.

thanks
0
Comment
Question by:timb551
  • 4
  • 3
7 Comments
 

Author Comment

by:timb551
ID: 34879553
Where do i run restore-gpo from?
0
 
LVL 9

Expert Comment

by:MinoDC
ID: 34879972
from powershell
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 

Author Comment

by:timb551
ID: 34879989
Trying to run it now but getting invalid arguments.
0
 

Author Comment

by:timb551
ID: 34880133
Ive tried the following commands but they fail.

Restore-GPO -ALL -Domain *******.local - Path \\server\admin\gpbackup\

The error msg was Value does not fall within the expected range. At line :1 char: 12

So i tried

Restore-GPO -Name "Accounts Desktop" -Path \\server\admin\gpbackup\

Parameter set cannot be resolved using the specified named parameters.

Am i doing something wrong?
0
 
LVL 9

Accepted Solution

by:
MinoDC earned 1000 total points
ID: 34880396
you have already tried using GPMC
http://www.windowsecurity.com/articles/Backing-up-Restoring-GPOs-using-GPMC.html

if so, look at:
http://www.gpanswers.com/component/content/article/104-chapter-11-scripting-chapter/321-restore-gpops1.html

or try in this way:

1) Create a new (blank) GPO
2) Right-click on the GPO and select IMPORT
3) Select backuped GPO
0
 

Author Closing Comment

by:timb551
ID: 34882968
Import worked perfectly, thanks
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

834 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