Search code examples
windows-7powershell

Stop "explorer" process completely using PowerShell


Greeting, I'm trying to stop "explorer" process using power-shell command:

Stop-Process -ProcessName explorer -Force

the problem with that line, it will stop the process but it will run again automatically so it just restarting the process not stopping it.

Please advice me how to stop "explorer" process completely using power-shell

Regards,


Solution

  • You can do this ( though I don't know why you wouldn't want explorer to come back):

    taskkill /F /IM explorer.exe