Solved

Trying to add AD GPO template but getting access denied

Posted on 2014-09-10
5
4,668 Views
Last Modified: 2015-10-19
im trying to add this GPO template to my AD server but get access denied. Im domain and enterprise admin. I tried giving access to folder but its grayed out.

http://www.microsoft.com/en-us/download/confirmation.aspx?id=40905

Error I get at command prompt:

C:\>copy /y c"\kb2841134\inetres.admx c:\windows\policydefinitions\inetres.admx
c\kb2841134\inetres.admx c:\windows\policydefinitions\inetres.admx
The filename, directory name, or volume label syntax is incorrect.
        0 file(s) copied.

C:\>copy /y c:\kb2841134\inetres.admx c:\windows\policydefinitions\inetres.admx
Access is denied.
        0 file(s) copied.

Help please.
0
Comment
Question by:Thomas N
5 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 40315756
Can you simply try to right click and run the cmd prompt as Administrator and try
copy /y c:\kb2841134\inetres.admx c:\windows\policydefinitions\
0
 
LVL 56

Expert Comment

by:Cliff Galiher
ID: 40316190
If you are going to use the command line, remember to right click and "run as administrator"  ....just because you are an admin doesn't mean the command prompt is running with elevated privileges. And unlike a GUI, it won't trigger a UAC prompt. It'll simply deny access.
0
 
LVL 2

Accepted Solution

by:
Azurael earned 500 total points
ID: 40321871
You may also need to add yourself to the Schema Admins group.

Remember to run the script as administrator
0
 

Expert Comment

by:RoryMcC
ID: 40584337
I have done all of the above and I am still getting access is denied.  I log off and back on to the server after adding my username to the schema admin group.  Any other suggestions?
0
 

Expert Comment

by:AshALaw
ID: 41059889
Old post but thought I'd give the solution. For each of the two files MS say to overwrite, take ownership over the file away from Trusted Installer and give it to your admin account. Then set the file to inherit from the parent.

Once that is done, you can run the commands:
copy /y C:\temp\KB2841134\inetres.admx %SYSTEMROOT%\PolicyDefinitions\inetres.admx
copy /y C:\temp\KB2841134\en-us\inetres.adml %SYSTEMROOT%\PolicyDefinitions\en-us\inetres.adml

Open in new window


and it will work.
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

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now