Solved

Trying to add AD GPO template but getting access denied

Posted on 2014-09-10
5
4,471 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 28

Expert Comment

by:becraig
Comment Utility
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
Comment Utility
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
Comment Utility
You may also need to add yourself to the Schema Admins group.

Remember to run the script as administrator
0
 

Expert Comment

by:RoryMcC
Comment Utility
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
Comment Utility
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

762 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

5 Experts available now in Live!

Get 1:1 Help Now