Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1937
  • Last Modified:

Cannot restore previously backed up group policy objects

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
timb551
Asked:
timb551
  • 4
  • 3
1 Solution
 
timb551Author Commented:
Where do i run restore-gpo from?
0
 
MinoDCCommented:
from powershell
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
timb551Author Commented:
Trying to run it now but getting invalid arguments.
0
 
timb551Author Commented:
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
 
MinoDCCommented:
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
 
timb551Author Commented:
Import worked perfectly, thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now