Assign NTFS permissions to group of computers

In a 2008 domain I created a task that runs on all computers in the domain under the system account.
The tasks tries to copy a file from a network share. I only want a specified group of computers be able to access the file. I created an AD group, added the computers to the group and gave the group appropiate permissions to the file.
However, my task is not able to copy the file (access denied).

When i add the AD group "Domain computers" to the ACL of the file, or I add an single computer account directly everything works fine....
LVL 7
SjoerdvWAsked:
Who is Participating?
 
Mike KlineConnect With a Mentor Commented:
Did you reboot the computer after you added them to the group, that way the group membership is added to their token ThanksMike
0
 
Tony MassaCommented:
What are the SHARE permissions set to?

0
 
Mike KlineConnect With a Mentor Commented:
...and in 2008 you can use a nice trick Darren posted without the reboot   http://sdmsoftware.com/blog/2008/08/22/picking-up-computer-group-membership-changes-without-a-reboot/...but reboot should always work.

Thanks

Mike
0
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.

 
SjoerdvWAuthor Commented:
SHARE permissions: everyone FC (witch is enough cause it works when I add the computer directly to the file)
0
 
SjoerdvWAuthor Commented:
Thnx Mike, you're a live saver... Was working several hours on this without rebooting the machine!!!
0
 
Mike KlineCommented:
excellent glad to help, by the way this same principle applies if you add a user to a group.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.