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

learn more… | top users | synonyms

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 ...
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. ...
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 ...
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 ...
1
vote
0answers
69 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 ...
1
vote
0answers
419 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
0answers
17 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 ...
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 ...
0
votes
0answers
99 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 ...
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
51 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
147 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
0answers
231 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
476 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 ...