Questions tagged [icacls]
`icacls` is a command-line program shipped with Microsoft Windows. It is used to edit user permissions for files and directories.
79
questions
0
votes
1
answer
119
views
Windows 10 Permit Non-Admin User to Create Files on C Drive Root
I have an old application (DOS based) which must run with a non-admin account but must be capable to create files directly in the root folder of the C:\ drive.
Computers are joined to a MS AD domain.
...
1
vote
0
answers
60
views
Windows 10 Professional with TeamGroup SSD 256 GB, 4 TB HDD from Seagate
My computer is having a serious problem since it's run out of disk space. I keep trying to fix it by moving everything over to my 4TB HDD but it's not letting me move files and my computer can't ...
0
votes
0
answers
31
views
Different behaviors for restricted access of folders in local drive and network shared drive
I have the following file structure on both my local drive and the network shared drive:
Parent Folder
Folder A
Folder B
File A
So, Folder A is a sub-directory of Parent Folder, and Folder B ...
0
votes
2
answers
240
views
Make folder visible to user but do not allow them to access its contents (icacls)
I have the following file structure:
Parent Folder
Folder A
Folder B
File A
So, Folder A is a sub-directory of Parent Folder, and Folder B and File A are sub-contents of Folder A.
I would ...
2
votes
2
answers
461
views
What is the difference between WDAC and WO (icacls)?
I am planning to give "change permissions" (WDAC) permission to user. However, I came across this (WO) permission which represents "take ownership". What is the difference between ...
3
votes
1
answer
483
views
Strange behaviour on /deny DE,W with icacls
I have the following scenario where I (admin) applied the (DE,W) deny permissions to the following folder test_folder for test_user who already has inherited modify permissions from parent folder:
B:\&...
0
votes
0
answers
87
views
How to have a FOR Loop in CMD return only the child items
I'm trying to create a FOR Loop that will TAKEOWN only the child items of a folder (folders and files) and not the parent folder. Here's what I have so far, which will work but I don't want to take ...
0
votes
0
answers
3k
views
"WARNING: UNPROTECTED PRIVATE KEY FILE!" - can not sign in to VPS Ubuntu-account from local Windows 10 computer
Following this authoritative article, I created the SSH keys at Windows local PC and copied them to VPS (this article does not cover the Windows case, but I found appropriate solution).
Now, when I ...
1
vote
1
answer
222
views
Why doesn't icacls remove a deny ACE
I am trying to discover how to use icacls to remove a specific DENY ACE
In my test I deny a special permission like this:
icacls mydirectory /deny me:(DC)
Successfully processed 1 files; Failed ...
0
votes
0
answers
850
views
How to reset additional partition ownership and permissions to default in Windows 11?
How do you set/reset a partition's default ownership and security permissions in Windows 11?
For example, there might be Creator Owner, or Trusted Installer, etc...
This is especially important when ...
0
votes
1
answer
533
views
icacls on windows server 19 doesn't seem to work
First, I'm not a windows expert. Also, windows people that I've talked to do not seem to be familiar with "icacls", which I thought was strange. I found it via search.
I see someone asked ...
3
votes
2
answers
5k
views
How to set 600 permission on a .pem file in w10?
I am unable to change permissions to 600 on an AWS .pem file.
Note that "inherited permissions" were turned off in all efforts, and owner was set properly.
Tried using this guide with File ...
1
vote
1
answer
399
views
Give users permission to modify a file but deny permission to add new files to the folder in Windows 10
Been struggling with this since yesterday without success. Tried all kinds of combinations.
I have 2 files - an EXE and a config file. When users start the EXE they should be able to save their ...
4
votes
2
answers
5k
views
What does “ICACLS C:\Windows\winsxs” do?
Originally posted by me on Stack Overflow, reposted here because this seems like a more relevant site for this question. Some wording has been slightly edited and more information has been added.
When ...
2
votes
0
answers
286
views
Access Denied for file; can't view/edit/delete file even after taking ownership
I have a set of Android Studio files that I cannot figure out how to "take" ownership of.
I initially tried via the windows GUI prompt (right click -> security tab -> advanced button -&...