diff --git a/windows.ps1 b/windows.ps1 index 4bc0c7d..2f2d001 100644 --- a/windows.ps1 +++ b/windows.ps1 @@ -122,7 +122,7 @@ Write-Host "Explorer" # Allow paths longer than 260 characters (the default MAX_PATH length) # https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell#enable-long-paths-in-windows-10-version-1607-and-later -Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force +Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -Type DWORD -Force ############################################################################### # Start Menu and Taskbar #