Thomas N
asked on
Trying to add AD GPO template but getting access denied
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\policydefinitio ns\inetres .admx
c\kb2841134\inetres.admx c:\windows\policydefinitio ns\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\policydefinitio ns\inetres .admx
Access is denied.
0 file(s) copied.
Help please.
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\policydefinitio
c\kb2841134\inetres.admx c:\windows\policydefinitio
The filename, directory name, or volume label syntax is incorrect.
0 file(s) copied.
C:\>copy /y c:\kb2841134\inetres.admx c:\windows\policydefinitio
Access is denied.
0 file(s) copied.
Help please.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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?
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:
and it will work.
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
and it will work.
copy /y c:\kb2841134\inetres.admx c:\windows\policydefinitio