Files
management-scripts/Fix-GPUTimeoutDetectionResponse.ps1
T

5 lines
454 B
PowerShell
Raw Normal View History

2023-09-14 13:02:35 -04:00
#[Microsoft.Win32.Registry]::SetValue('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers','TdrLevel',3,[Microsoft.Win32.RegistryValueKind]::DWord)
# Setting TDR timeout to 4 seconds instead of the default 2 seconds
2023-09-14 13:06:47 -04:00
Write-Output "Setting TDR timeout value to 4 seconds"
2023-09-14 13:02:35 -04:00
[Microsoft.Win32.Registry]::SetValue('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers','TdrDelay',4,[Microsoft.Win32.RegistryValueKind]::DWord)