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

learn more… | top users | synonyms

0
votes
0answers
13 views

Why Windows administrative shares allows to create folder and add data to all domain users?

I have got a problem with shares on my Windows 2008 R2 server : All shares including administratives shares as c$ allows all users to create data and create folders. I have tried to reset permissions ...
0
votes
1answer
20 views

CMD with icacls issue for windows 10 upgrade - invalid parameters

I'm trying to upgrade my laptop to windows 10 but it says my system reserved partition is low on available size so i'm following microsoft solution on the internet and somehow got stuck with these ...
2
votes
1answer
52 views

Command line to permanently get access to folder

I cannot access certain folders e.g. c:\Program Files\WindowsApps. Via command line I get an error of "Access is denied" and via Windows Explorer I get a pop up a dialog box stating "You don't ...
0
votes
1answer
45 views

Cygwin mkdir makes directory I don't have permissions to

Using latest version of cygwin64 in Windows 10. I have managed to get a directory foo that has something strange about its permissions. I'm not quite sure how this happened but here are the symptoms: ...
0
votes
0answers
22 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
67 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
14 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
69 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
196 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
103 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
71 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
2k 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
56 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
167 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
481 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
3k 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
234 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
433 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 ...
35
votes
2answers
64k 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
478 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
495 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
30k 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
421 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
739 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
20k 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 ...