Update windows10.ps1
This commit is contained in:
@ -292,11 +292,10 @@ Start-Job -Name "Customizations" -ScriptBlock {
|
|||||||
Import-StartLayout -LayoutPath $layoutFile -MountPath $env:SystemDrive\
|
Import-StartLayout -LayoutPath $layoutFile -MountPath $env:SystemDrive\
|
||||||
Remove-Item $layoutFile
|
Remove-Item $layoutFile
|
||||||
|
|
||||||
|
#https://notes.ponderworthy.com/fsutil-tweaks-for-ntfs-performance-and-reliability
|
||||||
fsutil behavior set memoryusage 2
|
fsutil behavior set memoryusage 2
|
||||||
#fsutil behavior set disablelastaccess 1
|
#fsutil behavior set disablelastaccess 1
|
||||||
fsutil behavior set mftzone 2
|
fsutil behavior set mftzone 2
|
||||||
|
|
||||||
#https://notes.ponderworthy.com/fsutil-tweaks-for-ntfs-performance-and-reliability
|
|
||||||
$DriveLetters = (Get-WmiObject -Class Win32_Volume).DriveLetter
|
$DriveLetters = (Get-WmiObject -Class Win32_Volume).DriveLetter
|
||||||
ForEach ($Drive in $DriveLetters) {
|
ForEach ($Drive in $DriveLetters) {
|
||||||
If (-not ([string]::IsNullOrEmpty($Drive))) {
|
If (-not ([string]::IsNullOrEmpty($Drive))) {
|
||||||
|
Reference in New Issue
Block a user