Files
management-scripts/Fix-GPUTimeoutDetectionResponse.ps1
T
2023-09-14 15:01:00 -04:00

5 lines
457 B
PowerShell

#[Microsoft.Win32.Registry]::SetValue('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers','TdrLevel',3,[Microsoft.Win32.RegistryValueKind]::DWord)
# Setting TDR timeout to 64 seconds instead of the default 2 seconds
Write-Output "Setting TDR timeout value to 64 seconds"
[Microsoft.Win32.Registry]::SetValue('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers','TdrDelay',64,[Microsoft.Win32.RegistryValueKind]::DWord)