use hkcu instead of hklm

https://github.com/microsoft/WSL/issues/7456#issuecomment-2324860820
This commit is contained in:
Mylloon 2024-09-03 19:55:07 +02:00
parent 7f6c2f230f
commit 10279d52bf
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -70,7 +70,7 @@ sc stop "SysMain" & sc config "SysMain" start=disabled
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ConfirmFileDelete /t REG_DWORD /d 1 /f REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ConfirmFileDelete /t REG_DWORD /d 1 /f
:: Don't create Zone.Identifier :: Don't create Zone.Identifier
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 1 /f REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 1 /f
:: Disables memory integrity :: Disables memory integrity
:: see https://support.microsoft.com/en-us/windows/options-to-optimize-gaming-performance-in-windows-11-a255f612-2949-4373-a566-ff6f3f474613 :: see https://support.microsoft.com/en-us/windows/options-to-optimize-gaming-performance-in-windows-11-a255f612-2949-4373-a566-ff6f3f474613