Monday 26 February 2024

Microsoft Edge: Uninstall command

Microsoft Edge installed but entry missing from Installed apps or Programs and Features.

To uninstall Microsoft Edge via command line:

  1. Open a PowerShell Administrator or Terminal (Admin) window.
  2. Browse to the installation directory:
    Set-Location C:\Program Files (x86)\Microsoft\Edge\Application\<Version Number>\Installer
  3. Run the following command:
    setup.exe -uninstall -system-level -verbose-logging -force-uninstall

Windows 11: Show / Hide Show Desktop Taskbar Button

Windows 11 "Copilot in Windows (preview)" button disables the Show Desktop button in the far right corner of the taskbar.

To enable / show this button using PowerShell:

Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarSd" -Value "1"
To disable / hide this button using PowerShell:
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarSd" -Value "0"