Shortcut to Kill Process/Restart Explorer

o.ash92

New Member
Hello,

Is it possible to create a shortcut which, when pressed, will restart the explorer.exe process by killing it and then opening it once again?

If so, it would be really helpful.

Thanks,
Oli
 
There might be, I am looking into it now... but may I ask what use you would use for it.

Kent.
 
Well sometimes it's easier to restart the explorer service rather than restarting the computer altogether.

Maybe it might come in handy when you're asked to reboot.

Thanks,
Oli
 
Well sometimes it's easier to restart the explorer service rather than restarting the computer altogether.

Maybe it might come in handy when you're asked to reboot.

Thanks,
Oli

you can shut down explorer without restarting. Just go into task manager and kill the explorer.exe, then do file > run > explorer.
 
I think he wants something that he can just double click.

What I suggest is you get a batch file type thing going.
Code:
(Insert commands to end explorer.exe)
explorer.exe
pause (or exit)

Anyone want to elaborate? :/
 
easy, just create a new notepad document
type

taskkill /F /IM "explorer.exe"
explorer.exe



Then save the file to your desktop, then rename so the change it from a ".txt" file to a ".bat" file
there you go, just doubl click it and explorer will close then restart
 
try copying and pasting one more time i just tried apf's code and it worked perfectly, what operating system are you on? im on a windows xp sp2
 
are you sure you put the taskkill line in exactly as I said

if your sure then maybe you need a small delay between the kill and the restart

try
taskkill /F /IM "explorer.exe"
PING 127.0.0.1 -n 6
explorer.exe
 
It doesn't kill the process at all. I've tried other processes too and they don't work either.

I am copying and pasting it too.
 
Back
Top