Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 957
  • Last Modified:

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....
0
SjoerdvW
Asked:
SjoerdvW
  • 3
  • 2
2 Solutions
 
Tony MassaCommented:
What are the SHARE permissions set to?

0
 
Mike KlineCommented:
Did you reboot the computer after you added them to the group, that way the group membership is added to their token ThanksMike
0
 
Mike KlineCommented:
...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
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
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

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now