Solved

Cannot restore previously backed up group policy objects

Posted on 2011-02-12
7
1,674 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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

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

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 …
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…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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…

737 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