ExitExplorer and RestartExplorer - two tools to exit and restart the shell Explorer correctly

22.06
ExitExplorer and RestartExplorer - two tools to exit and restart the shell Explorer correctly -

My friends MDL forum asked me to code two simple tools, the one of them to leave the Explorer shell in Windows 10 and the second to restart the Explorer shell. Both tools are designed to be used in batch files and scripts, as requested. I would like to share with you and explain why they are different from the usual way people use to restart Explorer.

Exit Restart Explorer
These tools are compatible with all versions of Windows and editing with .NET Framework 4.5 installed, so they run natively in Windows 8 and above.

ExitExplorer

The first tool is ExitExplorer. It performs a graceful exit from the shell Explorer, so that settings such as your desktop icon layout, Quick Launch settings, user preferences interface and all related Explorer settings will be saved when you exit. You can test the difference for yourself:

  1. Note the layout of your current desktop, like how your icons are arranged in time.
  2. Re-organize in any way you want.
  3. Traditionally, the taskkill command is used in batch files to "exit" from the shell of the explorer, so open an elevated command prompt and run the following command :.
     taskkill / IM explorer.exe / F 

    the Explorer shell will be terminated

  4. Now, open the Task Manager and click File -> New Task menu item. Type explorer.exe in the Run dialog box and press Enter.
    Explorer will start again, you will see your desktop, however, your layout icon will not be retained. Your previous customizations will be lost because taskkill Ends Explorer shell but not exit properly.
  5. Now rearrange your desktop icons again and try using ExitExplorer.exe instead of the taskkill command. Your icon layout will be preserved because it uses the "official" way to exit the shell Explorer!

This is all that is required from this simple application.

Download ExitExplorer

RestartExplorer

Although ExitExplorer application closes the Explorer shell correctly, it does not start the Explorer again. It is not very useful for scenarios where you need to restart Explorer. This was the second request, so I quickly made RestartExplorer application. He does the same work output Explorer, but starts a new instance of the browser, so you should not use Task Manager to perform manually.

In addition to using these tools in batch files, you can pin applications to the taskbar or Start menu and run when you need it

Download RestartExplorer

Bonus Tip :. Using RestartExplorer application, you can start the Explorer shell as administrator. That is how:.

  1. RestartExplorer.exe right click the file and choose Run as administrator in the context menu
  2. Press Win + R shortcut keys together on the keyboard to open the Run dialog box
    dialog box will say that all tasks have begun to open high :.
    elevated run

Use caution when running Explorer in the constantly high fashion, it is a security hole. Use it only when you know what you are doing.

Previous
Next Post »
0 Komentar