Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

394 lines
14 KiB

---- Commands Supported ----
behavior Control file system behavior
dirty Manage volume dirty bit
file File specific commands
fsinfo File system information
hardlink Hardlink management
objectid Object ID management
quota Quota management
reparsepoint Reparse point management
sparse Sparse file control
usn USN management
volume Volume management
x is an invalid parameter.
---- Commands Supported ----
behavior Control file system behavior
dirty Manage volume dirty bit
file File specific commands
fsinfo File system information
hardlink Hardlink management
objectid Object ID management
quota Quota management
reparsepoint Reparse point management
sparse Sparse file control
usn USN management
volume Volume management
---- BEHAVIOR Commands Supported ----
query Query the file system behavior parameters
set Change the file system behavior parameters
x is an invalid parameter.
---- BEHAVIOR Commands Supported ----
query Query the file system behavior parameters
set Change the file system behavior parameters
Usage : fsutil behavior query <option>
<option>
disable8dot3
allowextchar
disablelastaccess
quotanotify
mftzone
Usage : fsutil behavior set <option> <value>
<option> <values>
disable8dot3 on | off
allowextchar on | off
disablelastaccess on | off
quotanotify 1 through 4294967295 seconds
mftzone 1 through 4
disable8dot3 = off
allowextchar = off
disablelastaccess = off
quotanotify = 4294967295
mftzone = 0
Usage : fsutil behavior set <option> <value>
<option> <values>
disable8dot3 on | off
allowextchar on | off
disablelastaccess on | off
quotanotify 1 through 4294967295 seconds
mftzone 1 through 4
Usage : fsutil behavior set <option> <value>
<option> <values>
disable8dot3 on | off
allowextchar on | off
disablelastaccess on | off
quotanotify 1 through 4294967295 seconds
mftzone 1 through 4
---- DIRTY Commands Supported ----
query Query the dirty bit
set Set the dirty bit
x is an invalid parameter.
---- DIRTY Commands Supported ----
query Query the dirty bit
set Set the dirty bit
Usage : fsutil dirty query <volume pathname>
Eg : fsutil dirty query C:
Usage : fsutil dirty set <volume pathname>
Eg : fsutil dirty set C:
---- FILE Commands Supported ----
findbysid Find a file by security identifier
queryallocranges Query the allocated ranges for a file
setshortname Set the short name for a file
setvaliddata Set the valid data length for a file
setzerodata Set the zero data for a file
createnew Creates a new file of a specified size
x is an invalid parameter.
---- FILE Commands Supported ----
findbysid Find a file by security identifier
queryallocranges Query the allocated ranges for a file
setshortname Set the short name for a file
setvaliddata Set the valid data length for a file
setzerodata Set the zero data for a file
createnew Creates a new file of a specified size
Usage : fsutil file findbysid <user> <pathname>
Eg : fsutil file findbysid scottb C:\users
Usage : fsutil file queryallocranges offset=<val> length=<val> <pathname>
offset : File Offset, the start of the range to query
length : Size, in bytes, of the range
Eg : fsutil file queryallocranges offset=1024 length=64 C:\Temp\sample.txt
Usage : fsutil file setshortname <pathname> <shortname>
Eg : fsutil file setshortname C:\testfile.txt testfile
Usage : fsutil file setvaliddata <pathname> <datalength>
Eg : fsutil file setvaliddata C:\testfile.txt 4096
Usage : fsutil file setzerodata offset=<val> length=<val> <pathname>
offset : File offset, the start of the range to set to zeroes
length : Byte length of the zeroed range
Eg : fsutil file setzerodata offset=100 length=150 C:\Temp\sample.txt
---- FSINFO Commands Supported ----
drives List all drives
drivetype Query drive type for a drive
volumeinfo Query volume information
ntfsinfo Query NTFS specific volume information
statistics Query file system statistics
x is an invalid parameter.
---- FSINFO Commands Supported ----
drives List all drives
drivetype Query drive type for a drive
volumeinfo Query volume information
ntfsinfo Query NTFS specific volume information
statistics Query file system statistics
Drives: A:\C:\D:\E:\F:\G:\
Usage : fsutil fsinfo drivetype <pathname>
Eg : fsutil fsinfo drivetype C:
Usage : fsutil fsinfo volumeinfo <rootpathname>
Eg : fsutil fsinfo volumeinfo C:\
Usage : fsutil fsinfo ntfsinfo <volume pathname>
Eg : fsutil fsinfo ntfsinfo C:
Usage : fsutil fsinfo statistics <volume pathname>
Eg : fsutil fsinfo statistics C:
---- HARDLINK Commands Supported ----
create Create a hardlink
x is an invalid parameter.
---- HARDLINK Commands Supported ----
create Create a hardlink
Usage : fsutil hardlink create <new filename> <existing filename>
Eg : fsutil hardlink create c:\foo.txt c:\bar.txt
---- OBJECTID Commands Supported ----
query Query the object identifier
set Change the object identifier
delete Delete the object identifier
create Create the object identifier
x is an invalid parameter.
---- OBJECTID Commands Supported ----
query Query the object identifier
set Change the object identifier
delete Delete the object identifier
create Create the object identifier
Usage : fsutil objectid query <pathname>
Eg : fsutil objectid query C:\Temp\sample.txt
Usage : fsutil objectid set <ObjectId> <BirthVolumeId> <BirthObjectId> <DomainId> <pathname>
ObjectId : 16-digit hexadecimal data
BirthVolumeId : 16-digit hexadecimal data
BirthObjectId : 16-digit hexadecimal data
DomainId : 16-digit hexadecimal data
All values must be in Hex of the form 40dff02fc9b4d4118f120090273fa9fc
Eg : fsutil objectid set 40dff02fc9b4d4118f120090273fa9fc
f86ad6865fe8d21183910008c709d19e
40dff02fc9b4d4118f120090273fa9fc
00000000000000000000000000000000 C:\Temp\sample.txt
Usage : fsutil objectid delete <pathname>
Eg : fsutil objectid delete C:\Temp\sample.txt
Usage : fsutil objectid create <pathname>
Eg : fsutil objectid create C:\Temp\sample.txt
---- QUOTA Commands Supported ----
disable Disable quota tracking and enforcement
track Enable quota tracking
enforce Enable quota enforcement
violations Display quota violations
modify Sets disk quota for a user
query Query disk quotas
x is an invalid parameter.
---- QUOTA Commands Supported ----
disable Disable quota tracking and enforcement
track Enable quota tracking
enforce Enable quota enforcement
violations Display quota violations
modify Sets disk quota for a user
query Query disk quotas Usage : fsutil quota disable <volumepathname> Eg : fsutil quota disable C: Usage : fsutil quota track <volumepathname> Eg : fsutil quota track C: Usage : fsutil quota enforce <volumepathname> Eg : fsutil quota enforce C: Searching in System Event Log... Searching in Application Event Log... No quota violations detected Usage : fsutil quota modify <volumepathname> <threshold> <limit> <user> Eg : fsutil quota modify c: 3000 5000 domain\user Usage : fsutil quota query <volumepathname> Eg : fsutil quota query C: ---- REPARSEPOINT Commands Supported ---- set Create a new reparse point query Query a reparse point delete Delete a reparse point x is an invalid parameter. ---- REPARSEPOINT Commands Supported ---- set Create a new reparse point query Query a reparse point delete Delete a reparse point Usage : fsutil reparsepoint query <pathname> Eg : fsutil reparsepoint query C:\Server Usage : fsutil reparsepoint delete <pathname> Eg : fsutil reparsepoint delete C:\Server ---- SPARSE Commands Supported ---- setflag Set sparse queryflag Query sparse queryrange Query range setrange Set sparse range x is an invalid parameter. ---- SPARSE Commands Supported ---- setflag Set sparse queryflag Query sparse queryrange Query range setrange Set sparse range Usage : fsutil sparse setflag <pathname> Eg : fsutil sparse setflag C:\Temp\sample.txt Usage : fsutil sparse queryflag <pathname> Eg : fsutil sparse queryflag C:\Temp\sample.txt Usage : fsutil sparse queryrange <pathname> Eg : fsutil sparse queryrange C:\Temp\sample.txt Usage : fsutil sparse setrange <pathname> <beginning offset> <length> Eg : fsutil sparse setrange C:\Temp\sample.txt 65536 131072 ---- USN Commands Supported ---- createjournal Create a USN journal deletejournal Delete a USN journal enumdata Enumerate USN data queryjournal Query the USN data for a volume readdata Read the USN data for a file readjournal Read the USN journal for a volume x is an invalid parameter. ---- USN Commands Supported ---- createjournal Create a USN journal deletejournal Delete a USN journal enumdata Enumerate USN data queryjournal Query the USN data for a volume readdata Read the USN data for a file readjournal Read the USN journal for a volume Usage : fsutil usn createjournal m=<max-value> a=<alloc-delta> <volume pathname> Eg : fsutil usn createjournal m=1000 a=100 C: Usage : fsutil usn deletejournal <flags> <volume pathname> <Flags> /D : Delete /N : Notify Eg : usn deletejournal /D C: Usage : fsutil usn enumdata <file ref#> <lowUsn> <highUsn> <pathname> Eg : fsutil usn enumdata 1 0 1 C: Usage : fsutil usn queryjournal <volume pathname> Eg : fsutil usn queryjournal C: Usage : fsutil usn readdata <pathname> Eg : fsutil usn readdata C:\Temp\sample.txt Usage : fsutil usn readjournal <volume pathname> Eg : fsutil usn readjournal C: ---- VOLUME Commands Supported ---- dismount Dismount a volume extend Extend the size of a volume diskfree Query the free space of a volume x is an invalid parameter. ---- VOLUME Commands Supported ---- dismount Dismount a volume extend Extend the size of a volume diskfree Query the free space of a volume Usage : fsutil volume dismount <volume pathname> Eg : fsutil volume dismount C: Usage : fsutil volume extend <Drive pathname> [Size in MB] Eg : fsutil volume extend C: 100 Usage : fsutil volume diskfree <drivename> Eg : fsutil volume diskfree C: File E:\SdNt\Base\fs\ntfs\fu\sparse is created Zero data is changed ** Range : 0 ** Starting Offset : 0 Length in bytes : 10000 ** Range : 1 ** Starting Offset : 30000 Length in bytes : f12400 File E:\SdNt\Base\fs\ntfs\fu\sparse is created Zero data is changed ** Range : 0 ** Starting Offset : 0 Length in bytes : 10000 ** Range : 1 ** Starting Offset : 30000 Length in bytes : fd0000 quotanotify value is set quotanotify = 4294967295 Usage : fsutil behavior set <option> <value> <option> <values> disable8dot3 on | off allowextchar on | off disablelastaccess on | off quotanotify 1 through 4294967295 seconds mftzone 1 through 4 Usage : fsutil behavior set <option> <value> <option> <values> disable8dot3 on | off allowextchar on | off disablelastaccess on | off quotanotify 1 through 4294967295 seconds mftzone 1 through 4 Usage : fsutil behavior set <option> <value> <option> <values> disable8dot3 on | off allowextchar on | off disablelastaccess on | off quotanotify 1 through 4294967295 seconds mftzone 1 through 4 Usage : fsutil behavior set <option> <value> <option> <values> disable8dot3 on | off allowextchar on | off disablelastaccess on | off quotanotify 1 through 4294967295 seconds mftzone 1 through 4 Usage : fsutil behavior set <option> <value> <option> <values> disable8dot3 on | off allowextchar on | off disablelastaccess on | off quotanotify 1 through 4294967295 seconds mftzone 1 through 4 Usage : fsutil behavior set <option> <value> <option> <values> disable8dot3 on | off allowextchar on | off disablelastaccess on | off quotanotify 1 through 4294967295 seconds mftzone 1 through 4 File E:\SdNt\Base\fs\ntfs\fu\xxx is created Error: The file exists. FileSystemControlFlags = 0x00000001 Quota tracking is enabled on this volume Logging for quota events is not enabled The quota values are up to date Default Quota Threshold = 0xffffffffffffffff Default Quota Limit = 0xffffffffffffffff SID Name = BUILTIN\Administrators (Alias) Change time = Fri Nov 10 11:57:56 2000 Quota Used = 5156365450 Quota Threshold = 18446744073709551615 Quota Limit = 18446744073709551615 SID Name = NT AUTHORITY\SYSTEM (WellKnownGroup) Change time = Tue Oct 31 08:52:56 2000 Quota Used = 215936 Quota Threshold = 18446744073709551615 Quota Limit = 18446744073709551615