Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: NTFS Permissions of File - View and Post


NTFS Permissions View and Post

How to View the NTFS Permissions of a File or Folder in Windows
Published by Pyprohly
13 Apr 2016
Published by

How to View NTFS Permissions of a File or Folder in Windows

information   Information
NTFS is a high-performance file system designed for the Windows operating system. It is one of the most advanced file systems available, with support for file compression, encryption, auditing, file attributes, reparse points, hard links, large volumes (such as storage networks like RAID), transactional journaling, and an extensively detailed permission system.

NTFS permissions allow for the intricate tuning of uncountably many file security configurations. As such, it can be difficult to properly communicate these permissions.

This tutorial suggests ways one may go about to effectively communicate NTFS permission settings.


CONTENTS:



NTFS Permissions of File - View and Post OPTION ONE NTFS Permissions of File - View and Post
Post a Screenshot of the Security Tab

1. Have your file displayed in an Explorer window or on your Desktop.

2. Right-click the file, select Properties -> Security -> Advanced

NTFS Permissions of File - View and Post-1.2_r2304.gif
3. Complete Steps 1 - 14 in the linked tutorial to upload the image.

Screenshots and Files - Upload and Post in Seven Forums




NTFS Permissions of File - View and Post OPTION TWO NTFS Permissions of File - View and Post
Using the Command Prompt and Icacls

1. Open a Command Prompt (or Elevated Command Prompt if requested) at the target item�s directory. Follow Step 2 if you are unsure of how this is done, else continue with Step 3.

2. In the Command Prompt console, type out the below command, substituting �<directory path>� with the directory containing the file or folder you wish to view NTFS permissions for. The Command Prompt�s prompt string should update to reflect the new active path.

cd /d <directory path>

NTFS Permissions of File - View and Post-2.2_r2304-s568.gif
3. Enter the following icacls command, substituting �<item name>� with the target item you wish to view permissions for. The surrounding double quotes are mandatory if the file name of the item includes one or more space characters.

icacls "<item name>"

NTFS Permissions of File - View and Post-2.3_r2304-s568.gif
4. Right-click the Command Prompt window and select Mark, then hold Left-click and drag across the area displaying the Icacls output. Make sure all relevant text is highlighted then right-click anywhere within the Command Prompt window again to copy the selected text region to the clipboard.

NTFS Permissions of File - View and Post-2.4_r2304-s568.gif
5. After pasting the command�s output to your post, you may want to edit the text to avoid disclosing any personal information. If you decide to change the name of a user or a group here please make the change is consistent throughout your thread.

6. Highlight the pasted Icacls text and click the hash icon () in the toolbar to wrap the text in [CODE] tags.

NTFS Permissions of File - View and Post-2.6_r2304.gif
7. Scroll down the page below your post content to a section labeled Additional Options and check Disable smilies in text.

NTFS Permissions of File - View and Post-2.7_r2304.gif




NTFS Permissions of File - View and Post OPTION THREE NTFS Permissions of File - View and Post
Using PowerShell

1. Open a Windows PowerShell session.

2. Enter one of the listed commands.
A) reveals: DACL

NOTE: The output will be copied directly to the clipboard.

Code:
(Get-Acl "C:\path\to\item").Access | Format-Table -AutoSize | Out-String -Width 4096 | foreach{$_.Trim("`r`n")} | clip
B) reveals: DACL, owner, current username

NOTE: The output will be copied directly to the clipboard. All lines should be copy-pasted all together at once into the terminal.

Code:
$a = (Get-Acl "C:\path\to\item")
({
	param($x)
	'Me: ' + [System.Security.Principal.WindowsIdentity]::GetCurrent().Name
	'Itm Path: ' + (Convert-Path $x.Path)
	'Itm Owner: ' + $x.Owner
	''
	$x.Access | ft id*,f*,is*,in*,p* -g a* -a | Out-String -Width 4096 | %{$_.Trim("`r`n")}
}).Invoke($a) | clip
Tip   Tip
Avoid using these last two options as they require special knowledge or tools to interpret.


C) reveals: security descriptor

NOTE: The output will be copied directly to the clipboard.

Code:
(Get-Acl "C:\path\to\item").Sddl | clip
D) reveals: security descriptor, directory structure

NOTE: Entering this command will create a xml file on your desktop. This file should be zipped before uploading.

Code:
Get-ChildItem -r "C:\path\to\item" | Get-Acl | Export-Clixml "$env:UserProfile\Desktop\aclfile.xml"
3. Conclude with Steps 5, 6, and 7 in Option Two as required.
19 Jan 2017   #1
Brink

64-bit Windows 10 Pro
 
 

Good job. :)


My System SpecsSystem Spec
15 Apr 2017   #2
Master Po

Windows 7 Home Premium 64bit
 
 

@Pyprohly
Thank you very much for this great tutorial which have helped me to solve my problem.
My System SpecsSystem Spec
Reply

 NTFS Permissions of File - View and Post




Thread Tools




Similar help and support threads
Thread Forum
Move an XP file in NTFS to Win7 NTFS is very slowed down on computer
I am setting up a Win7 install using a 'scratch disk which formatted and has the operating system. My media files are on older XP machine. The file transfer should be speedy on the same computer but it is very slow. Is there an instruction needed to 'pass through' more efficiently? ...
General Discussion
NTFS permissions inherited
Hi, if i disable inherit permission and i create a subfolder what permission does the new folder get? Thanks
General Discussion
Correcting NTFS permissions
Correct default NTFS permissions on disks after W7 installation. May be is some tutorial how to tune permissions.
Performance & Maintenance
Cannot get permissions to convert a drive to NTFS
Im trying to convert a drive on my laptop from FAT32 to NTFS as recommended by Microsoft baseline security analyzer. When I type in convert E: /fs:ntfs command in the cmd prompt I get a message that I dont have permissions to do so. How, on my own machine do I get permissions or what do I type in...
General Discussion
NTFS Security Permissions
I was screwing around with the permissions in Win 7 Premium, C:\Windows\winsxs and I now have them in a mess! System Restore wont work. Trying to rest the permissions with icals. From an elevated command prompt I did this: C:\Windows\winsxs>icacls * /T /Q /C /RESET After running awhile I...
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:03.
Twitter Facebook Google+