0

This question concerned a local group. I'm trying to use icacls for a remote group.

I've tried this way, but it didn't work :

> icacls \\HOST\shared_dir\file.txt /grant "HOST\GROUP":F
HOST\GROUP: No mapping between account names and security IDs was done.
Successfully processed 0 files; Failed processing 1 files

Does icacls work for remote groups ?

Amessihel
  • 113
  • 8

1 Answers1

1

I'm pretty sure that you'll either need to execute that on the remote server HOST or from a powershell remoting session to HOST. Your local machine doesn't know who HOST\GROUP is.

You could probably use the SID, like the accepted answer on the linked question suggested.

Katherine Villyard
  • 18,550
  • 4
  • 37
  • 59
  • Thanks, unfortunately it doesn't work... Sounds like icacls won't set permission if the SID/name isn't defined locally... Error message is : "No mapping between account names and security IDs was done.” – Amessihel Jul 21 '16 at 12:25
  • 1
    Accepted since I decided to use a remote powershell command. Thanks ! – Amessihel Jul 21 '16 at 13:20