Solved

CreateEnvironmentfromXML - permission denied

Posted on 2008-10-01
3
366 Views
Last Modified: 2010-03-17
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
Comment
Question by:titn003
  • 2
3 Comments
 
LVL 8

Expert Comment

by:anil_u
ID: 22612531
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
 

Author Comment

by:titn003
ID: 22612865
logged in as Domain admiistrator

and i did include the tempate command
0
 
LVL 8

Accepted Solution

by:
anil_u earned 500 total points
ID: 22612883
ok, open the xml in internet explorer and confirm all gpo that are being imported exist in your gpo folder
0

Featured Post

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

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

829 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