All Questions
Tagged with file-permissions windows
100 questions
0
votes
0
answers
82
views
Receiving Destination Folder Access Denied error on new file server even though group has all necessary permissions
Recently set up a new file server to replace an old one. I copied all of the old files and permissions from the last file server using a script and everything seems correct just looking at it. However,...
0
votes
0
answers
61
views
In Windows, how to add and verify execution permission to a file?
Here is a typical situation, assuming that I am the user desktop-6083m7k\pengc running powershell:
PS D:\git\HMD-Air\Library\PackageCache\[email protected]\Editor\VSWhere> whoami
...
0
votes
1
answer
104
views
Windows NTFS filesystem - user cannot access file using Administrators group permissions
There is a shared folder on the computer running Windows 2012R2 with a NTFS filesystem.
There is a local User X who is part of the local Group Administrators on the computer.
The Shared folder is ...
0
votes
0
answers
1k
views
pg_ctl start on Windows gives error: could not open file "global/pg_control": Permission denied
On Windows Server 2022, I am logged in as Administrator and trying to do a pg_ctl start on a Postgresql database that was initially created by user SYSTEM, but get the following error in the cmd ...
0
votes
0
answers
212
views
How to set file permissions if user logged on using Smart Card or Windows Hello for Business
I have a hybrid joined Windows domain and have set up log-on with Smart Cards and Windows Hello for business. I would like to be able to set file server permissions based on whether a user logged on ...
1
vote
0
answers
236
views
Automating NFSv3 File/Folder permissions in Windows
I'm a Windows/MSSQL DBA who is inheriting a quirky system through no fault of my own, and had a quick question.
Background
I have an Azure NFSv3 volume that is being exported to a Windows Server 2019 ...
0
votes
1
answer
902
views
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\...
-1
votes
1
answer
54
views
Limit drag & drop mess
I have a Windows Server 2016 acting as a file server with thousands of files in a well-defined tree. Different people have different access to different parts of the tree.
The problem is that some ...
1
vote
2
answers
5k
views
SSH connection issue : How to change folder / file permissions in Windows similarly to Linux?
I have hard times connecting my local PC through SSH to another remote PC. I set the public key on both machines in the authorized_keys folder following this tutorial : https://help.ubuntu.com/...
0
votes
1
answer
396
views
NTFS permissions with multiple user groups
I do not know how to search for this, so I am sorry if this has already been asked.
Also, I am new to Windows administration so if I say something wrong do not hesitate to correct me!
I have a folder ...
0
votes
1
answer
958
views
Prevent deletion of other's files on a shared folder
We have a shared folder so all employees can upload and save file or create folders to it. But we want to prevent workers to delete other's files and folders. I assigned all permissions except "...
0
votes
2
answers
678
views
Does Windows Server 2019 behave different with NTFS then Server 2012R2?
Background info:
The admin account of a key user needs unrestricted access to a folder on a server.
-> he is working on the server per RDP or directly with the folder (shared)
Said admin account is ...
0
votes
1
answer
400
views
How to deny git pull and cd into a folder/file in Windows?
So I find myself being forced to use a Windows machine just because thats what the financial institution feels is more secure for an outside contractor.
I am using powershell and I just received some ...
0
votes
1
answer
580
views
Powershell returns access denied on non-os files used by IIS site
I am connected as a local administrator using RDP to my WIN2K16 server, and manage it using gui and powershell.
Overall I have full control over the machine, and never had permission errors using both ...
3
votes
1
answer
19k
views
Check 'effective permissions', 'effective access' from command-line, Windows/NTFS
How do I mimic Advanced Security Settings 'Effective Access' tab in command line (Win10 notably)? Prefer built-in tools, I'm about to evaluate if sysinternals AccessChk can accomplish this
icacls ...
0
votes
1
answer
2k
views
Cannot write to local shared directory
I wondered if anyone has experienced this issue...
We noticed a permissions error on a server that uses a case management system. It works by writing to locally hosted shared folders. After a reboot, ...
3
votes
2
answers
10k
views
Windows: How to fix broken permission-inheritance?
On our network-shares, we have all kinds of broken permission-inheritance.
Just one example:
The folder "D:\Shares\PublicRelations" has full access for the groups "PublicRelations" and "HR" (both ...
1
vote
1
answer
1k
views
Where do these NTFS permissions actually live? How are they created?
Alrighty, not sure how to word this but:
Where do the NTFS permissions themselves get created? For example, I can set "Full Control" or "Read", but where are those programmed at?
Here is why I ask:
...
0
votes
1
answer
111
views
What could prevent me from renaming a file locked?
I've run into a very weird issue on a build server where it won't let me rename any file 'locked' on the entire D drive as it throws a permissions error.
I have local admin rights which allow me to ...
1
vote
3
answers
5k
views
Windows permission - Deny sub-folder creation but allow files editing
I'm currently trying to setup a folder on a file server (Windows Server 2012 r2) where some users can create and edit files, but not create sub-folders. I assumed it would be easy with advanced ...
0
votes
0
answers
60
views
Are there any versions of Windows where the default permissions for the %LOCALAPPDATA% directory give access to other users?
The application that I'm developing assumes that files that we create under a user's %LOCALAPPDATA% directory being accessible only by (1) that specific user, (2) adminstrators, and (3) LOCALSYSTEM.
...
0
votes
1
answer
434
views
SeBackupPrivilege, but cannot read all files
I am trying to read full directories independent of the current file-permissions. But even though I do have "SeBackupPrivilege", the following code leads to an "UnauthorizedAccessException". How can ...
1
vote
0
answers
96
views
Modify permissions on files without taking ownership
There's a windows machine sharing a folder over samba and multiple users are leaving their files there.
I can access as the machine's local administrator.
Is there a way that I can access all the ...
0
votes
1
answer
933
views
Grant access to user for all user folders and subfolders in c:/users
We have an RDS server with dozens of user profiles and I am trying to run cleanup scripts to get rid of some old software folders from the users C:\users*username\appdata\local\softwarenamedfolder
...
2
votes
1
answer
3k
views
Windows file permissions - Admin permissions don't seem to work as expected / access denied
I have just inherited a server and I have an issue accessing some folders. I usually get this solved "in the end", usually by forcing a takeown command and then starting from scratch - but, it's ...
1
vote
1
answer
2k
views
Folder redirection GP and CREATOR OWNER inheritance/scope
We use the folder redirection group policy to place users' My Documents folders on a network share.
We have configured the share with Microsoft's recommended NTFS permissions, as defined here: https:/...
2
votes
1
answer
10k
views
SMB issue- Access denied
i have a windows server 2012 R2 for file sharing purpose, clients are using win 7 64 bit. network drives are mapped on profile.
Issue: some user drives disconnect suddenly with the message of Access ...
4
votes
2
answers
14k
views
Domain Admin can not take ownership of files
I have a very strange issue where a domain admin can not see the permissions of a file i.e. has no read permissions. This means I can not use takeown or icacls (even running as administrator) to ...
3
votes
2
answers
96
views
What are my options in terms of controlling document management
In REF to Shared network drive with Office and delete permissions disabled leads to not being able to save
We have several businesses that are now pushing over 30+ employees and many of these ...
0
votes
1
answer
2k
views
how to reset original owner after assigning permissions to Windows specific folders using ICACLS and takeown?
For a specific requirement i need to assign permissions to "Starks" for C: and C:\Windows C:\Windows\System32 and few other windows specific folders on a Win7 machine without tampering existing ...
1
vote
1
answer
2k
views
Program started with Task Scheduler can't open file for writing
i have a C# program that executes some commands and writes output to a txt file. It has to run indefinitely so i added it to Task Scheduler to start it every ten minutes if it isn't running already. ...
0
votes
1
answer
533
views
How do I provide read-only permission for a user on a Windows File Share?
I am trying to provide read-only permission to folder/sub-folders for particular users in windows NAS server with following scenarios:
if user already has some permission remove all of that.
provide ...
1
vote
1
answer
56
views
Trouble with windows permissions
I've a folder, in which there is a file. I want user to have full control on a specific file, and should be denied every access to the other files. The first thing I did was to disable inheritance of ...
1
vote
1
answer
1k
views
Permissions with NFS and native windows file sharing of same folder
I have a folder shared via NFS, and also via native windows file sharing. I'm using username/uid mapped via AD and I thought it was working all OK.
I've now found that all files created via a windows ...
-1
votes
1
answer
70
views
Properly Created Windows Share with Different Permissions
In my network, I have 3 workstations and 1 server.
I want the user at each computer to be able to save their files to a share on the server. Each user should have their own directory.
As the names ...
1
vote
1
answer
103
views
allow file attributes to be read without allowing content to be read
I have a shared folder with with files separated into folders by department (e.g. accounting, IT, etc.) and have permissions set up so people who need to can access those folders.
Is there a way to ...
0
votes
1
answer
2k
views
Windows Administrators cannot write files
I need two accounts on a Windows 2012 Server which can act as equally as administrators via Remote Desktop. Let's say I have created accounts Alice and Bob and they are both members of the the Group ...
1
vote
5
answers
2k
views
NTFS Write-Once Files
for backup purposes I have an external HDD, an I'm on Windows.
What and how should I set (up?) so that files can be written to the drive once but there should be no way they can be deleted or ...
4
votes
2
answers
6k
views
Why do I sometimes get numbers back from the FileSystemRights access field when checking the ACL Access?
Sometimes I'll run a command like this, and I'll get back some easy to read, easy to interpret text:
PS D:\test> (get-acl test.txt).Access | Select FileSystemRights
FileSystemRights
----...
0
votes
0
answers
109
views
Windows: add user group to file created by a specific process
In our (mixed) Windows network we have a machine with a shared folder. This shared folder can be accessed by anyone belonging to the group User.
However, in this folder, there are files that are ...
1
vote
2
answers
130
views
Prevent non-privileged user from changing file extension and invocation parameters
On an office LAN, I want to install an MS-Access database. I will place the database in its own hidden folder. On another folder (folder1), I will place a link to the hidden db file in folder1 (hidden ...
3
votes
1
answer
7k
views
IIS_IUSRS Can Access a File, but Application Pool Identity User Cannot
I am trying to understand IIS file permissions. A given file has "full control" permissions for IIS_IUSRS. But it seems all Application Pool Identity users cannot access the file. (I have noticed ...
1
vote
1
answer
353
views
dcpromo /forceremoval as a file server
I'm working on a customers infrastructure where most of the DCs were not replicating with each other. I managed to bring up another two DC's, bring them to the domain and switch over the FSMO roles.
...
0
votes
2
answers
194
views
How to add new text,but unable to modify old text [closed]
how do I set permission for a file on Windows such as .docx so that network user can ONLY add new text into the file.They must NOT be able to edit the old text,but the CAN add new ones.
What I'm ...
-1
votes
2
answers
4k
views
Windows Server 2012R2 access denied when changing files [closed]
I have been running Windows 2012r2 in testing for a while. One of the things keeping the OS from going into production is "Access Denied" message when changing config settings in either Program Files ...
0
votes
2
answers
2k
views
NFS mount in Windows - can't copy files with 600 permissions
I have a Netapp with some NFS exports for VMware storage. I want to mount the snapshots on a Windows 2012 R2 server in order to copy all of the virtual machine files to tape. I can mount the share ...
0
votes
3
answers
951
views
What is the most suitable path on Windows workstations to store admin scripts? [closed]
We have a need for a GPO to store admin scripts locally on Windows workstations (7 and above), and I was wondering if Microsoft has any recommendations or if you have any experience or thoughts on ...
0
votes
0
answers
3k
views
Share Permissions: Why can a group access a share, but not members of that group (Windows Server Environment)?
This is a Windows Server 2012 environment. Several 2012 DCs with just one 08. I have one primary share for everyone.
Through "Advanced Sharing", the groups have full permission, including ...
0
votes
1
answer
76
views
Folder Permissions for AD Users
When giving users permissions to specific folders, it applies those permissions to every single file and folder. I do want this but it takes a while for these permissions to be applied to every single ...
-1
votes
1
answer
384
views
How to deny directory listing on C:\Windows?
I created a special user who should never be able to CD into several system directories like program files, Windows directory, etc.
Whilte I can use icacls to setup the permissions on most of them, I ...