Solved

Cannot restore previously backed up group policy objects

Posted on 2011-02-12
7
1,654 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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 tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

713 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