Restart explorer.exe remotely

Use Powershell Stop-Process and Invoke-Command to restart explorer

Sat, 05 Jan 2019

Powershell remoting can be such a time saver when attempting to simplify easy tasks in windows. I had one of my users call me to fix a frozen taskbar. If I wasn’t using powershell I would have had to start up LogMeIn, log into the users computer, open task manager and then restart explorer. Powershell lets me turn that process into a one line command.

All you need to do is open up powershell and run this command.

Invoke-Command COMPUTERNAME -command{Stop-Process -ProcessName Explorer}

This command is ran on the computer listed in the computername section. It does not require admin previledges, meaning anyone with access to the comptuer can execute the command. Explorer restarts instantly when it is stopped by powershell.

Buy Me A CoffeeDigitalOcean Referral Badge
Edward Beazer

Edward Beazer - I just like to build shit. Sometimes I get stuck for hours, even days while trying to figure out how to solve an issue or implement a new feature. Hope my tips and tutorials can save you some time.

DigitalOcean Referral Badge