Skip to content

Instantly share code, notes, and snippets.

@cchamberlain
Last active July 5, 2022 16:31
Show Gist options
  • Save cchamberlain/33e958177ed4d7174936 to your computer and use it in GitHub Desktop.
Save cchamberlain/33e958177ed4d7174936 to your computer and use it in GitHub Desktop.
Applies registry change to disable luafv and make git much faster on windows (requires restart)
<#
This script will disable luafv on your system and likely make Windows versions of git faster after restarting.
### DISCLAIMER: THIS WILL MODIFY HOW SECURITY WORKS ON YOUR SYSTEM AND I WOULD ONLY USE ON A DEV MACHINE ###
### USE AT YOUR OWN RISK ###
#>
Push-Location
Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\luafv
Set-ItemProperty . Start 4
Pop-Location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment