Skip to content

Instantly share code, notes, and snippets.

@arlm
Forked from teamaton/disable-fusion-log.ps1
Created February 1, 2018 08:59
Show Gist options
  • Save arlm/0b1dbd2cbd20b321aeb49d155cb22392 to your computer and use it in GitHub Desktop.
Save arlm/0b1dbd2cbd20b321aeb49d155cb22392 to your computer and use it in GitHub Desktop.
FusionLog - enable and disable
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name ForceLog
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name LogFailures
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name LogResourceBinds
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name LogPath
Set-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name ForceLog -Value 1 -Type DWord
Set-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name LogFailures -Value 1 -Type DWord
Set-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name LogResourceBinds -Value 1 -Type DWord
Set-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name LogPath -Value 'C:\FusionLog\' -Type String
mkdir 'C:\FusionLog\'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment