Windows file system block size

 

- Click Start, type cmd.exe, right-click on the link to cmd.exe and select "Run as administrator" -- respond as needed to any UAC prompt
- Type the following command into the Command Prompt window and press Enter (where C: is the drive you are interested in examining)
 

fsutil fsinfo ntfsinfo c:

Example:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>fsutil fsinfo ntfsinfo g:
NTFS Volume Serial Number :       0x2c60f2b460f2843c
Version :                         3.1
Number Sectors :                  0x000000015d4ba7de
Total Clusters :                  0x000000002ba974fb
Free Clusters  :                  0x0000000002aad21f
Total Reserved :                  0x0000000000000000
Bytes Per Sector  :               512
Bytes Per Physical Sector :       4096
Bytes Per Cluster :               4096
Bytes Per FileRecord Segment    : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length :           0x00000000001c0000
Mft Start Lcn  :                  0x00000000000c0000
Mft2 Start Lcn :                  0x0000000000000002
Mft Zone Start :                  0x0000000005d93c20
Mft Zone End   :                  0x0000000005da0440
RM Identifier:        4A0E2B47-1266-11E7-B8A6-BC5FF43AE72F

Windows license key commands

- info: 
slmgr.vbs /dli
slmgr.vbs /dlv

 
- expiration:
slmgr.vbs /xpr
 
- remove:
slmgr.vbs /upk
slmgr.vbs /cpky

 
- change:
slmgr.vbs /ipk #####-#####-#####-#####-#####
 
- activate online:
slmgr.vbs /ato
 
- activate offline:
slmgr.vbs /dti
 
- execute remote:
slmgr.vbs computername username password /option

Windows version batch script

 

@echo off
setlocal
for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j
if "%version%" == "10.0" echo Windows 10
if "%version%" == "6.3" echo Windows 8.1
if "%version%" == "6.2" echo Windows 8.
if "%version%" == "6.1" echo Windows 7.
rem etc etc
endlocal

Updatable objects appear as 'no longer supported'

  Symptoms In some scenarios, the following validation warning appears on an updatable object: " Object is no longer supported. Enforci...

Mais vistos