Solved

Cannot restore previously backed up group policy objects

Posted on 2011-02-12
7
1,576 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
 
LVL 9

Expert Comment

by:MinoDC
ID: 34879484
0
 

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
Does Powershell have you tied up in knots?

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

 

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 250 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

Does Powershell have you tied up in knots?

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

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

920 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

18 Experts available now in Live!

Get 1:1 Help Now