Restart Explorer.exe the easy way

Page 1 of 2 12 LastLast

  1. Posts : 1,443
    Win 7 Ultimate SP1 x64
       #1

    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 Computer


  2. Posts : 3
    Windows 7 Ultimate
       #2

    Very useful tip, thanks a dozen man!
      My Computer


  3. Posts : 1,443
    Win 7 Ultimate SP1 x64
    Thread Starter
       #3

    Tyrant said:
    Very useful tip, thanks a dozen man!
    You're welcome.
      My Computer


  4. Posts : 799
    Windows 8 Pro 64-bit
       #4

    You've given me an idea to make a program like this... thanks.
      My Computer


  5. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #5

    Nice, maybe you can put it into the tutorial section. There it would be easier to find in a while from now.
      My Computer


  6. Posts : 11,990
    Windows 7 Ultimate 32 bit
       #6

    Excellent! Thank you.
      My Computer


  7. Posts : 17,322
    Win 10 Pro x64
       #7

    Cool, Worked perfectly. Nice Trick.
    Thanks
      My Computer

  8.    #8

    I've been using that one for a few weeks, but never really thought of sharing it Thanks for sharing Ayie
      My Computer


  9. Posts : 6
    Windows 7
       #9

    Thanks!!
      My Computer


  10. Posts : 1,443
    Win 7 Ultimate SP1 x64
    Thread Starter
       #10

    whs said:
    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?

    CarlTR6 said:
    Excellent! Thank you.
    derekimo said:
    Cool, Worked perfectly. Nice Trick.
    Thanks
    sergiogarcia9 said:
    I've been using that one for a few weeks, but never really thought of sharing it Thanks for sharing Ayie
    annemar1e said:
    Thanks!!
    You're welcome. :)
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 02:16.
Find Us