- notageek.it di Mirko Iodice - http://www.notageek.it -
NTFS Stuff v1 – Eng
Posted By Mirko On 15 aprile 2008 @ 11:11 In Progetti,Scripts | 18 Comments
VBS WSH Script
Authors: Mirko Iodice, Luca Alberti
Tested on: Windows 2000 Server, Windows 2003 Server, Windows XP Professional, Internet Explorer 6, Internet Explorer 7, Internet Explorer 8, Mozilla Firefox 3.X
Download [2]
It is hard for a Microsoft System Administrator to keep trace of all changes made to the "logical" structure of a fileserver, so many times we felt the need for a quick and easy tool that could help us to locate those "significant" folders that, in some way, affect the normal application of NTFS permissions based on the "inheritance" principle.
NTFS Stuff is an useful WSH script, written to be used on a fileserver, that generates an HTML report which displays the NTFS access permissions structure. Two different "verbosity" levels make possible to display only the details of "significant" folders or those of the entire folders tree. In addition to the DACL of each single folder the resultant report shows other information, such as: creation date, last modified date, owner, NTFS inheritance.
We have paid particular attention to the graphical representation of information, colours and symbols make easier to note changes in the normal application of NTFS permissions, precisely based, as we said before, on the “inheritance” principle.
The following screenshot highlights the main features of this script
NTFS Stuff, only when started on Windows 2000, prompts the user for a task priority level (1 by default). This setting is used to limit the cpu usage during the execution. It is recommended to not set the 0 level when using this script on production servers or old computers, this is because the WSH Engine normally uses the most of the machine resources and this setting could cause a system freeze. Windows XP/2003 or higher are not affected by this problem, on these systems the script is able to automatically change his task priority level to "low", in this way the resource allocation is left to the operating system.
We noticed that is impossibile to correctly view the output file on Windows Server 2003 systems with the "Internet Explorer Enhanced Security" feature turned on. To fix this problem is necessary to add about:internet in the IE Trusted Sites Zone.
NTFS Stuff uses functions took from XCACLS.VBS (Windows Support Tools) to display the NTFS permissions in a more readable format.
To understand special permissions refer to the following legenda.
General:
F = Full control
M = Modify
X = read & eXecute
R = Read
W = Write
Advanced:
E = Synchronize
D = Take Ownership
C = Change Permissions
B = Read Permissions
A = Delete
9 = Write Attributes
8 = Read Attributes
7 = Delete Subfolders and Files
6 = Traverse Folder / Execute File
5 = Write Extended Attributes
4 = Read Extended Attributes
3 = Create Folders / Append Data
2 = Create Files / Write Data
1 = List Folder / Read Data
Folders created by macintosh systems, especially those named with the use of special characters, can cause an unexpected error.
Mirko Iodice
mirko -at- notageek (.dot) it
Article printed from notageek.it di Mirko Iodice: http://www.notageek.it
URL to article: http://www.notageek.it/wsh-vbs-ntfs-stuff-eng.html
URLs in this post:
[1] cliccate qui: http://www.notageek.it/wsh-vbs-ntfs-stuff-ita.html
[2] Download: #download
[3] ntfsStuff_v1.zip: http://www.notageek.it/wp-includes/files/ntfsStuff_v1.zip
[4] http://www.microsoft.com/te....c=it: http://www.microsoft.com/technet/technetmag/issues/2006/05/ScriptingGuy/default.aspx?loc=it
[5] http://msdn2.microsoft.com/en....85).aspx: http://msdn2.microsoft.com/en-us/library/aa390773(VS.85).aspx
[6] http://msdn2.microsoft.com/en....85).aspx: http://msdn2.microsoft.com/en-us/library/aa394402(VS.85).aspx
[7] http://msdn2.microsoft.com/en....85).aspx: http://msdn2.microsoft.com/en-us/library/aa379566(VS.85).aspx
[8] http://www.microsoft.com/te....007.mspx: http://www.microsoft.com/technet/scriptcenter/resources/qanda/oct04/hey1007.mspx
[9] http://kbalertz.com/88386....ervice.aspx: http://kbalertz.com/883866/display-access-blocked-Preview-computer-running-Windows-Service.aspx
Click here to print.
Copyright © 2009 notageek.it. All rights reserved.