[windows] disable TSVNCache.exe (#8374)
TortoiseSVN scans all drives for SVN repos. it eats disk IO, let us add registry setting which disables that activity
This commit is contained in:
@@ -19,7 +19,15 @@ Copy-Item ${env:USERPROFILE}\AppData\Local\Microsoft\VisualStudio -Destination c
|
|||||||
|
|
||||||
reg.exe load HKLM\DEFAULT c:\users\default\ntuser.dat
|
reg.exe load HKLM\DEFAULT c:\users\default\ntuser.dat
|
||||||
reg.exe copy HKCU\Software\Microsoft\VisualStudio HKLM\DEFAULT\Software\Microsoft\VisualStudio /s
|
reg.exe copy HKCU\Software\Microsoft\VisualStudio HKLM\DEFAULT\Software\Microsoft\VisualStudio /s
|
||||||
|
|
||||||
|
# disable TSVNCache.exe
|
||||||
|
$registryKeyPath = 'HKCU:\Software\TortoiseSVN'
|
||||||
|
if (-not(Test-Path -Path $registryKeyPath)) {
|
||||||
|
New-Item -Path $registryKeyPath -ItemType Directory -Force
|
||||||
|
}
|
||||||
|
|
||||||
|
New-ItemProperty -Path $RegistryKeyPath -Name CacheType -PropertyType DWORD -Value 0
|
||||||
|
reg.exe copy HKCU\Software\TortoiseSVN HKLM\DEFAULT\Software\TortoiseSVN /s
|
||||||
|
|
||||||
reg.exe unload HKLM\DEFAULT
|
reg.exe unload HKLM\DEFAULT
|
||||||
|
|
||||||
|
|
||||||
Write-Host "Warmup-User.ps1 - completed"
|
Write-Host "Warmup-User.ps1 - completed"
|
||||||
Reference in New Issue
Block a user