Community,
I have a request from our VM team to change allocation unit size to 16k instead of the default of 4k on all newly rebuilt Windows 10 VM's.
I have been testing with Powershell and DISM commands, both have been changing the cluster size, but after the OS sequence is installed and restarts I receive "A Disk Read Error occurred". Below is the PS and Diskpart commands i use. As I stated they do change the cluster size to 16384, but something isn't correct after the restart. Any assistance is appreciated.
------------------------------------------------
PS:
Get-Partition | Where-Object {$_.PartitionNumber -eq 1} | Format-Volume -FileSystem NTFS -NewFileSystemLabel "OSDisk" -ClusterSize 16384
------------------------------------------------
Diskpart:
CMD Line in sequence: diskpart.exe /s script.txt
(script.txt)
Sel disk 0
clean
Cre par pri
Sel par 1
Active
Assign letter=c
format fs=ntfs unit=16K label="OSDisk" quick
exit