mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-29 01:11:30 -06:00
Compile Winutil
This commit is contained in:
parent
44e95b68a7
commit
2ee10b57d4
12
winutil.ps1
12
winutil.ps1
@ -10027,12 +10027,20 @@ $sync.configs.tweaks = '{
|
||||
"panel": "1",
|
||||
"Order": "a028_",
|
||||
"InvokeScript": [
|
||||
"New-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Name \"InprocServer32\" -force -value \"\" "
|
||||
"
|
||||
New-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Name \"InprocServer32\" -force -value \"\"
|
||||
Write-Host Restarting explorer.exe ...
|
||||
$process = Get-Process -Name \"explorer\"
|
||||
Stop-Process -InputObject $process
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
Remove-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Recurse -Confirm:$false -Force
|
||||
Write-Host Restart Needed for change
|
||||
# Restarting Explorer in the Undo Script might not be necessary, as the Registry change without restarting Explorer does work, but just to make sure.
|
||||
Write-Host Restarting explorer.exe ...
|
||||
$process = Get-Process -Name \"explorer\"
|
||||
Stop-Process -InputObject $process
|
||||
"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user