Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Restart Explorer.exe the easy way

03 Apr 2010   #1

Win 7 Ultimate SP1 x64
 
 
Restart Explorer.exe the easy way

Hi all, i would like to share a trick / hack. This hack will be quite handy if you're like me, who likes to customize windows a lot.

1st, open up Notepad. After that, type this in.

Code:
@echo off

taskkill /f /im explorer.exe
start explorer.exe
Then, save it as "all files". Name it to "Restart Explorer.bat". You can save it anywhere you like in example (desktop / folder).

Now, here's how to add this as a shortcut to the context menu.

Open up regedit. Navigate to "HKEY_CLASSES_ROOT/Directory/Background/shell"




As you can see the screenshot above, i've already added the "Restart Explorer" Key shortcut to the context menu.

Here's the instructions on how to.

1st, right click on "shell". Navigate to "New" then "Key". Name it to "Restart Explorer".

Once the Key is created, right click on "Restart Explorer". Navigate to "New" then "Key". Name it to "command".

Now find the "Restart Explorer.bat" you've made earlier. Hold down the SHIFT key, then right click on the file. Navigate & click on "Copy as path".

Go back to Registry editor, select the "command" key. In the right hand panel, double click on the (Default) string value.

In the Value data field, paste the path of the "Restart Explorer.bat file you've copied earlier. Click OK.

Close registry editor. And right click on your desktop. You should have the shortcut added to the context menu by now. Shown in the screenshot below.



Hope this helps.

D3ftOn3Z.

My System SpecsSystem Spec
.

03 Apr 2010   #2

Windows 7 Ultimate
 
 

Very useful tip, thanks a dozen man!
My System SpecsSystem Spec
03 Apr 2010   #3

Win 7 Ultimate SP1 x64
 
 

Quote   Quote: Originally Posted by Tyrant View Post
Very useful tip, thanks a dozen man!
You're welcome.
My System SpecsSystem Spec
.


03 Apr 2010   #4

Windows 8 Pro 64-bit
 
 

You've given me an idea to make a program like this... thanks.
My System SpecsSystem Spec
03 Apr 2010   #5
whs

Microsoft Community Contributor Award Recipient

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Nice, maybe you can put it into the tutorial section. There it would be easier to find in a while from now.
My System SpecsSystem Spec
03 Apr 2010   #6

Windows 7 Ultimate 32 bit
 
 

Excellent! Thank you.
My System SpecsSystem Spec
03 Apr 2010   #7

Microsoft Community Contributor Award Recipient

Windows 7 Pro 64 SP1
 
 

Cool, Worked perfectly. Nice Trick.
Thanks
My System SpecsSystem Spec
03 Apr 2010   #8

 

I've been using that one for a few weeks, but never really thought of sharing it Thanks for sharing Ayie
My System SpecsSystem Spec
04 Apr 2010   #9

Windows 7
 
 

Thanks!!
My System SpecsSystem Spec
05 Apr 2010   #10

Win 7 Ultimate SP1 x64
 
 

Quote   Quote: Originally Posted by whs View Post
Nice, maybe you can put it into the tutorial section. There it would be easier to find in a while from now.
That's a gd idea. Maybe the mods can move this thread there?

Quote   Quote: Originally Posted by CarlTR6 View Post
Excellent! Thank you.
Quote   Quote: Originally Posted by derekimo View Post
Cool, Worked perfectly. Nice Trick.
Thanks
Quote   Quote: Originally Posted by sergiogarcia9 View Post
I've been using that one for a few weeks, but never really thought of sharing it Thanks for sharing Ayie
Quote   Quote: Originally Posted by annemar1e View Post
Thanks!!
You're welcome.
My System SpecsSystem Spec
Reply

 Restart Explorer.exe the easy way





Thread Tools



Similar help and support threads for2: Restart Explorer.exe the easy way
Thread Forum
Explorer Restart Tools Free Developer Programs and Projects
Explorer not responding after every restart. General Discussion
Incorrect Password, on restart after using Windows Easy Transfer General Discussion
Is there an easy way to install updates and restart automatically? Windows Updates & Activation
Explorer - Add "Restart Explorer" to Desktop Context Menu Tutorials
Solved Explorer.exe Restart Loop General Discussion
Explorer restart General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:24 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33