Questions tagged [icacls]
55 questions
0
votes
1 answer
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 restricted user. In Windows XP to give this…

Matthew Rohrich
- 159
- 3
- 8
0
votes
1 answer
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) /deny *S-1-1-0:(RX,WDAC)
I have tried a good few…

Ben
- 1
- 1
0
votes
1 answer
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 permissions with iCacls the folders have inheriting…

Dan
- 1
- 1
0
votes
1 answer
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 first of them, it seems permissions had been changed…

3molo
- 4,330
- 5
- 32
- 46
0
votes
1 answer
How to set limited permissions using command line on windows?
user want to delete all permissions and keep only modify permission for everyone and full permission to system.
Like this.
But present with icacls command
icacls "%ProgramData%\myfolder\Licensing" /grant Everyone:M SYSTEM:F
how to remove all…

user2331760
- 155
- 4
- 12
0
votes
1 answer
Create a kind of dropbox folder on Windows server so users can copy files in, but not delete or modify
Is there a way to set NTFS rights on a folder so that users are allowed to copy files into that folder and read them afterwards, but not delete or write to them (once they were closed at the end of the copy process)?
The reason is that I want to…

Thomas
- 101
- 2
0
votes
1 answer
ICACLS escape asterisk character
Let's say I have managed to create a file named '*' (via MSYS or whatever)
Is there a way to properly escape this such that I can call ICACLS and only list that single file?
icacls * lists everything in the directory
The file itself shows up as
and…

LordAro
- 111
- 1
- 5
0
votes
2 answers
How to restrict all but defined accounts to access folders on MS server?
I've been trying to only allow defined members on Active Directory from accessing folders used for an IIS server.
There are too many accounts to deny one by one leaving only one or two users to access the subdirectory.
I cannot get past the…

Jim
- 1
- 1
-1
votes
2 answers
What prevents someone to use CACLS to modify any file?
I recently discovered the CACLS command, that allows someone to edit the ACL of a file. I saw it in a CTF write-up (hacking challenge) to get the root flag supposedly restricted to the Administrator:
CACLS filepath_to_root.txt /G User:R
This…

Dimitry
- 9
- 1
-1
votes
2 answers
Permissions not applied to folder on Brazilian machine, how to fix that?
I am applying permissions to a folder using RunWait by icacls.
It is working correctly on windows 10 64bit English machine.
But when I ran on the Brazilian machine, it is not applying.
So ran the command manually on the Brazilian machine and got…

uday
- 352
- 10
- 30