File: //var/opt/nydus/ops/customer_local_ops/operating_system/powershell/reset_vm_properties.ps1
try {
Remove-ItemProperty -Path "REGISTRY::HKEY_USERS\.DEFAULT\Control Panel\Desktop" -Name "WaitToKillAppTimeout"
Remove-ItemProperty -Path "REGISTRY::HKEY_USERS\.DEFAULT\Control Panel\Desktop" -Name "HungAppTimeout"
Remove-ItemProperty -Path "REGISTRY::HKEY_USERS\.DEFAULT\Control Panel\Desktop" -Name "AutoEndTasks"
Remove-ItemProperty -Path "REGISTRY::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control" -Name "WaitToKillServiceTimeout"
}
catch {
Write-Host "Failed to reset registry values."
}