?
Solved

CreateEnvironmentfromXML - permission denied

Posted on 2008-10-01
3
Medium Priority
?
381 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 1500 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

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.

Question has a verified solution.

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

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
The article explains the process to deploy a Self-Service password reset portal I developed a few years ago. Hopefully, it will prove useful to someone.  Any comments, bug reports etc. are welcome...
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month4 days, 13 hours left to enroll

601 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