Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $param = (Test-Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskbar_cleaned)
- if ($param -eq "True") {exit}
- else {
- Start-Sleep -s 30
- New-ItemProperty HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWORD -Value 0
- New-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWORD -Value 0
- New-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarGlomLevel -PropertyType DWORD -Value 2
- Remove-Item "$env:USERPROFILE\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" -Recurse -Force
- Remove-Item HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband -Recurse -Force
- New-Item HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskbar_cleaned
- Stop-Process -ProcessName Explorer -WarningAction SilentlyContinue -ErrorAction SilentlyContinue
- exit}
Add Comment
Please, Sign In to add comment