Unable to create logon script – Access denied

file-permissionsgroup-policywindows-server-2008-r2

I'm currently trying to create a logon script that will map a few network drives for all users.

I've created the script, but when I try placing the .bat file in the proper folder, I get an "Access Denied" message.

I'm logged in locally on the server as a domain admin, and domain admins have full control of the folder.

The folder in question is \\mydomain\sysvol\mydomain\Policies\{GUID}\User\Scripts.

I get an access denied message when attempting to add my user account to the list (shouldn't have to anyway).

Any ideas?

Best Answer

If you have UAC enabled, you need to copy the files from a privileged process.

Personally, I typically do not use the sysvol tree to store login scripts: a simple shared directory with properly configured ACL usually serves me much better.