The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
11 views

Permissions inheritance problems with Windows 10 [migrated]

Since upgrading to Windows 10, I have moved over my hard drive from Windows 8.1 which contained my Users folder. I have previously made migrations like this with no issues, but this time, I'm getting ...
0
votes
1answer
178 views

icacls for a local group of a remote machine

I'm trying to use icacls to adjust permissions on a remote folder, when the grantee is the local group of the remote server. From machine Foo, I'm trying to grant modify rights for group Bar\Users to ...
1
vote
2answers
332 views

icacls variables in batch file

I'm moving users to a new domain, file server and user name format. I'm trying to write a simple DOS batch to copy the data and set the permissions. X: is mapped to the old server and E: is the local ...
0
votes
0answers
44 views

using icacls to copy a specifc user's folder permissions and apply them to another

Let me preface this with that I know the 'right way' to do this is with security permissions, but for curiosity's sake, let's take this scenario: user1 and user2 are part of the same security group ...
0
votes
0answers
77 views

using icacls to set traverse/execute without setting change permissions

I'm having trouble with network shares. Specifically with mac clients accessing home shares on a NAS. The fix has been to remove certain permissions on the Library folder. in the past, i've used ...
2
votes
1answer
98 views

Locking directory structure

As the title suggests, I'm trying to lock the directory structure for a folder-hierarchy. Multiple (W7) users access shared projects on a (QNAP) SMB NAS (ACL & Auth against AD). When new ...
0
votes
1answer
292 views

Icacls works from command line, not from batch file

The OS is Windows server 2012. I am trying to use command icacls C:\folder\targetfile /grant domain\usergroup:(rx) to give permissions on certain file. The command works when executed on command ...
1
vote
1answer
4k views

Remove file permission using icacls [closed]

Could someone help me to remove particular security groups from a file using icacls? The file has all security settings inherited from the folder, where the file resides. So I would like to remove ...
7
votes
2answers
24k views

How to replace permissions and everything inside with icacls on Windows Server 2012?

Using Windows Server 2012 R2 AND Windows Server 2008 R2. I have a folder called C:\temp\test and I want to grant access to SYSTEM and a user and all files and subdirectories, and remove everthing ...
4
votes
1answer
7k views

Unable to assign group permissions with ICACLS on Windows Server 2012

I cannot get icacls to accept my group for adding permissions. I am using an elevated power shell with the following command: icacls 'C:/foo' /grant:r 'Group Foo':f I get the following error: ...
3
votes
2answers
4k views

ICACLS Substitute Failing “No mapping between account names and security IDs was done.”

Running a really simple ICACLS command after I copied a directory over to a new server with permissions intact. I need to change a SID from an old server user group to a new server user group. ...
1
vote
1answer
3k views

Replace permission entries on all child objects using icacls

I'm trying to set Replace permission entries on all child objects using icacls but I can't seem to do it. I want new folders/files to receive the permissions as well so I want to check the box ...
2
votes
2answers
2k views

How to setup NTFS ACL with Acces Based Enumeration

We're in the process of migrating from Novell Netware to Windows 2K8 R2 infrastructure (AD, File server, print server... etc) My question is about ACL. While Netware and Windows are totally ...
2
votes
1answer
428 views

icacls equivalents of explorer basic permissions

I am using icacls to set permissions on a large number of directories for various groups. I want to assign what icacls help refers to as "modify access". It seems to do this correctly. However when ...
3
votes
2answers
17k views

Grant MODIFY on “All Subfolders and Files” with icacls, but only give Read to top level folder

One of our Windows servers that has some user folders on it has some pretty screwed up permissions. What I want it for SYSTEM and Domain Admins to have full control of all folders. I want the users to ...
1
vote
1answer
1k views

ICACLS IIS AppPool\DefaultAppPool = invalid parameter

The following command: icacls c:\inetpub\wwwroot\ /grant "IIS AppPool\DefaultAppPool":F Constantly returns Invalid parameter "IIS AppPool\DefaultAppPool" For any app pool name on any folder, ...
3
votes
2answers
4k views

CACLS “Access is denied”

I am on Windows Server 2008. I'm trying to set deny permissions for a certain user on the Windows folder with the following command: cacls Windows /E /D sneakyUser I get the error message ...
-1
votes
1answer
3k views

icacls to make folder read-only

I'm just learning about icacls to set permissions to a folder. Better yet, I want to make sure that a folder is readonly. Anyone have any ideas? C:>icacls.exe C:\TEMP\Reports [switches]
2
votes
2answers
1k views

Finding files/folders with write/full control permissions for Everyone on Windows 2003

Trying to clean up permissions on this IIS6 w/ PHP CGI server, it seems that several files/folders have write permissions for Everyone. (You can probably guess what is happening, repeatedly.) So, ...
0
votes
1answer
4k views

icacls in windows 7 does not give full permission to write files in root drive

icacls in windows 7 does not give full permission to write files in root drive. We have a very old application based on Omnis7 that needs to create and read/write files on drive C: when running as a ...
0
votes
1answer
308 views

How to deny execution of a file although allow deletion of it (XCACLS/ICACLS)

Very frustrating problem, as the title suggests, I am trying to deny the user from executing the file, although I want to allow them to be able to delete the file icacls bat.exe /grant *S-1-1-0:(D) ...
4
votes
1answer
2k views

NTFS ACL's: What is the difference between object and container inhertiance?

I am looking at using icacls.exe. However, before proceeding, I wanted clarification on the difference between these two ACL's: (OI) - object inherit (CI) - container inherit ...
0
votes
1answer
707 views

Setting inheritance on folder structure with iCACLS

New to this forum. I am trying to finish up a script that creates a folder structure and assigns permissions via icacls. I have the script working correctly except for one thing. When setting ...
1
vote
2answers
576 views

Windows Server 2003 redirected folder permissions cannot be altered

I have a Windows SBS 2003 SP2 DC that is severely messed up. This system has 55 users and they are all using redirected "home" folders to "e:\Users Shared Folders" I need to backup the files in each ...
1
vote
2answers
10k views

Force ownership of folder structure without replacing other permissions - Windows Server 2008 R2 - takeown is erasing all other permissions

Logged on as local Administrator. Trying to put Administrator as owner of all files and folders on a drive. The drive contains an existing folder structure with securities/permissions/acls copied from ...
0
votes
1answer
1k views

Hyper-v, missing .vhd file after reboot

After a (patch and) reboot, I got an error message reading something about corrupt recycle-bin for e:\ (where I store my virtual machines). Two of the virtual machines could not be started. On the ...
0
votes
1answer
2k views

Error using iCacls

I saved an ACL using icacls using this command icacls File.zip /save aclsFile That worked fine, but whenever I try to restore the file I get an error message: icacls * /restore aclsFile Not all ...