The tag has no usage guidance, but it has a tag wiki.

learn more… | top users | synonyms

0
votes
0answers
14 views

Disable Narrator.exe in windows 8 and above

The Narrator is one annoying windows feature and i wanted to get rid of it. So i decided to change the file permissions. I took ownership of the Narrator.exe which was located in the Windows System ...
1
vote
2answers
38 views

What does IC in ICACLS stand for?

The command-line program to modify user permissions for files in Windows is called icacls, where ACL is for access control list, and i'm guessing the S indicates plural. What does IC stand for?
0
votes
0answers
13 views

How do i revoke the folder access?

I used the following command in a computer working with Windows XP system in user mode: cacls "Folder" /G SYSTEM:F The access to the folder in denied. I tried in administration mode. I'm denied ...
3
votes
1answer
48 views

Create List of Access Denied Files & Folders

I want to make a list of access denied files/folders for a given account. I'm aware "icacls" handles making lists of files/folders given an account name. e.g. This command lists access denied per ...
0
votes
1answer
117 views

Setting NTFS permissions to share root breaks inheritance

I'm having an issue with Windows 2012 R2 where setting NTFS permissions on the root of a share breaks inheritance, and the NTFS permissions are effectively replaced with the new ACE. The only way I ...
0
votes
0answers
88 views

Store OpenVPN username and password in Windows Credentials

Is there a way to store OpenVPN login info as a Windows credential in such a way that either the OpenVPN service or GUI can access it to login? Barring that, is there a way to store a plaintext file ...
1
vote
0answers
64 views

Batch file using icacls not executing

I'm reading the users from a file and I try to grant them access to a specific folder, but when I execute the batch file below nothing happens. Can someone please explain me what is wrong? Edit: I'm ...
0
votes
0answers
1k views

Permissions inheritance problems with Windows 10

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
0answers
44 views

Read only permission for a folder using the command is not working in icacls

I initially used icacls to change the permission. I used the command Icacls "D:\Desktop\test" /Deny Student:(CI)(OI)(X,WD,AD,WA,WEA,D) /inheritance:E /grant:r Administrators:(CI)(OI)F to deny all the ...
0
votes
0answers
119 views

How to use icacls to deny execute permissions for all files under a directory

So i'm running this in a command prompt icacls C:\Users\User\Downloads /deny User:(X) /T And it works for all executable files currently in the folder and subfolder. However, if I make a new file, ...
0
votes
2answers
1k views

Changing Folder Permissions in vbscript

I have a vbscript that will create a folder, but I need the User to have Full Permissions. I have put my code below. (Windows 8 system) FSO.CreateFolder(lclFolder) oWS.exec "icacls " & lclFolder ...
0
votes
1answer
411 views

Remove inherited permissions with SetACL

I'm using SetACL as an alternative to icacls to process objects' DACL SACL and ownership. After reading the documentation, I see that the clear parameter clears the ACL of any non-inherited ACEs, ...
0
votes
2answers
2k 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
220 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; ...
1
vote
1answer
410 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 ...
34
votes
2answers
57k 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
78 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
470 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
488 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 ...
4
votes
2answers
5k 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
3k 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 ...
5
votes
2answers
28k 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
414 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
728 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
18k 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
2k 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 ...
2
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
555 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 ...