Link to home
Start Free TrialLog in
Avatar of timb551
timb551Flag for United Kingdom of Great Britain and Northern Ireland

asked on

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
Avatar of Mino DC
Mino DC
Flag of Italy image

Avatar of timb551

ASKER

Where do i run restore-gpo from?
from powershell
Avatar of timb551

ASKER

Trying to run it now but getting invalid arguments.
Avatar of timb551

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Mino DC
Mino DC
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of timb551

ASKER

Import worked perfectly, thanks