The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
18 views

Setting Deny Permissions with ICACLS on “This Folder”

ICACLS "{PATH}" /DENY "{AD Group}:(D)" I want to deny the ability for {AD Group} to delete the parent folder but still have permissions to delete child folder and files. However, when I set the DENY ...
0
votes
0answers
20 views

Run icalcs inheritance from batch file - Russian encoding

i have some strange trouble. I succesfuly run this from cmd: icacls C:\Drive\МАША_и_МИША\ /inheritance:e /t /c > C:\logs\permissions.txt ant it worked well: Succesfully processed 6475 files; ...
0
votes
0answers
57 views

script batch file - icacls - multiple directories

Following a script to created in a previous thread, I am trying to use the below code to apply permissions to the 4th subfolder called specific folder, how can i change this code to apply the same. it ...
1
vote
1answer
108 views

How do I find all files that do NOT have SYSTEM permission?

I saw that I can use icacls to find all files matching a SID, but how do I find all files that DO NOT have access for SYSTEM user? ICACLS name /findsid Sid [/T] [/C] [/L] [/Q] finds all matching ...
7
votes
2answers
2k views

How to remove read-only attribute recursively on Windows 7

I need to remove read-only attributes of all files under a directory recursively on Windows 7 using command line. I think one can do this using icacls but I couldn't figure exactly how to do it. ...
1
vote
1answer
42 views

How to run a batch file with user set for file access using icacls

I am trying to run icacls utility for sharing files. But I have a set of users A, B, C and D only for whom I would need to provide access. One way of granting access is to write n lines for n users. ...
0
votes
0answers
116 views

icacls and Account Operators

I am having a problem with setting privileges on a Windows directory. I use icacls and i works fine, but not when I try to add "Account Operators" (tdk.dk/Builtin/Account Operators). I get the error ...
0
votes
0answers
126 views

What versions of Windows ship with ICACLS

Can someone point me to a list somewhere that states which versions of Windows (client and server) ship with ICACLS? I need to know going back to approximately the Windows XP era, and unfortunately ...
0
votes
2answers
244 views

matching dir /a:r and icacls

I am trying to see file permissions on command line. I came across a similar question but cannot understand icacls output. In the following example, c10.dat is a read-only file, as shown by dir /a:r ...
3
votes
1answer
1k views

icacls is giving access denied on remote file system

I am working on remote drive mounted on my system where i created some file i need to set some permission for that file. I used icacls but its not working. When i am trying to access file permission ...
1
vote
1answer
2k views

icacls batch file multiple directories with wildcards help needed

I have written the following batch file that does a great job combing through all folders beginning with the number 3 and applying folder permissions to any 2010 subfolder. Example of the batch ...
4
votes
2answers
12k views

batch script that grants admin rights and goes through all files and folders

I have this, pretty sure its a little harsh but does the job, gives me all the rights to the files and folders on a drive when run on a drive, now I need help getting it to go into sub directories, so ...
1
vote
0answers
297 views

Give user create/read, but revoke delete/overwrite

A little background: I've got a citrix server with about 20 accounts that are used in a round robin fashion by various remote users to access a published application. This application allows users to ...
0
votes
4answers
349 views

Files and folders inaccessible

It’s a sad day for me. Logging on to my Windows 7 system, I found I had no task bar icons, no desktop icons and no files in my start folders. Definitely not good!! Upon investigation, I found that the ...
5
votes
1answer
7k views

Explain the output of ICACLS.EXE, line by line, item by item

What does this mean: C:\foo\> icacls . . NT AUTHORITY\IUSR:(M) BUILTIN\IIS_IUSRS:(M) BUILTIN\IIS_IUSRS:(OI)(CI)(M) NT AUTHORITY\IUSR:(OI)(CI)(M) BUILTIN\IIS_IUSRS:(I)(OI)(CI)(RX) NT ...
3
votes
2answers
1k views

Permissions on new created files (Windows 7 specific)?

Maybe a noob question, but how ALCs are determined on new created files (by running MyApp.exe)? I'd like to grant "users" full control on new files created inside C:\ProgramData\MyApp when launching ...
0
votes
2answers
2k views

Why would the NTFS ACL utility `icacls` alter the system partition behind the scene?

I attached an hdd to my win7 machine and assigned the drive letter I: to the only partition on the hdd. The hdd was originally from another computer, and to avoid all those "you don't currently have ...
1
vote
1answer
527 views

ACL mess after rsync on Windows 2008

The permissions in the ACL are not in the right order on some files and directories after having used rsync to synchronize directory trees. The stuff works well as it is on Windows 2003. Can someone ...