Go Premium for a chance to win a PS4. Enter to Win

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

CreateEnvironmentfromXML - permission denied

i am running the cscript CreateEnvironmentFromXML and I have a large number of user policies (surprisingly not every GPO ) that have not been created


Error message is:

Importing settings from c:\GPObackups\{long number} to GPO OUName User Policy in domain domainname.com.

Error importing settings into OUName User Policy
0x800a0046 - Permission denied


thanks
0
titn003
Asked:
titn003
  • 2
1 Solution
 
anil_uCommented:
Some suggestions
1. Are you logged in as domain admin (im sure you are but had to ask)
2. Did you include the template in the command line when you ran the script
0
 
titn003Author Commented:
logged in as Domain admiistrator

and i did include the tempate command
0
 
anil_uCommented:
ok, open the xml in internet explorer and confirm all gpo that are being imported exist in your gpo folder
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

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