WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Installation Licensing Setup
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Uninstall WinBatch Without Reboot

 Keywords:  Uninstall Install No Without Disallow Reboot Restart Shutdown Uninstal.exe WinBatch Setup.log IntControl 30 FileMenu Right Click

Question:

I would like to uninstall WinBatch but disallow the restart at the end of the install.

Answer:

If you run the UNINSTAL.EXE file in the \WinBatch\System subdirectory, WinBatch will uninstall all files, including all its DLLs with one exception, that were installed on the system, as well as any registry entries created by WinBatch.

The Setup and Uninstall are actually a compiled WinBatch script. If the script is unable to delete a file during the uninstall it is tagged for a delete upon reboot and the uninstall will trigger a reboot request at the end of the uninstall.

In current versions of WinBatch this is most commonly triggered because FileMenu has been initiated, by right clicking somewhere in the Windows Explorer. The only way to guarantee that the Filemenu hasn't been initiated is to run the uninstall at Windows startup, before the user is able to right-click in the Explorer.

If running the uninstall at startup is not an option, another option is to kill the Explorer.exe before running the uninstall. This method has possible draw backs and consequences, you will want to make sure it happens cleanly. Exiting the Explorer process 'cleanly' allows user to shutdown Explorer without risking unpredictable consequences that normally may happen if you forcefully kill the Explorer.exe process using Task Manager or Process Explorer, or using taskkill command.

Windows XP, Windows Vista and Windows 7 with the Classic Start Menu

Click on Start Menu|Shutdown. Then press and hold Ctrl + Alt + Shift keys combination and then click on Cancel button on the dialog box.

Explorer.exe will exit and not restart itself. Press Ctrl + Shift + Esc to open Task Manager. Then click on File -> New Task (Run…). Type the full path the to WinBatch uninstal.exe ( Including double quotes around the full file path. ) and hit Enter to install WinBatch.

After the uninstall is complete you can restart the Explorer.exe. To start Explorer and return the desktop and other GUI components, press Ctrl + Shift + Esc to open Task Manager. Then click on File -> New Task (Run…). Type explorer.exe and hit Enter to restart Explorer.

Windows Vista and newer using standard Start Menu

In user will have to access a hidden command using the trick below in order to exit from Explorer.

Click on the Start button. Press and hold the Ctrl and Shift keys on keyboard, and then right click on any empty area in the Start Menu or on the Power or Lock buttons at the bottom of the right half of the menu. An Exit Explorer option will appear on the context menu, which when click, will tell Explorer to cleanly shut down.

Again, after Explorer terminated with the hack above, the Windows Shell which includes desktop, Start Menu and Taskbar will be closed and will not start itself immediately, although other applications are still running properly.

Press Ctrl + Shift + Esc to open Task Manager. Then click on File -> New Task (Run…). Type Type the full path the to WinBatch uninstal.exe ( Including double quotes around the full file path. ) and hit Enter to install WinBatch.

To restart a new Explorer.exe process to see the usual desktop, Start Menu, Task bar and other GUI components again, press Ctrl + Shift + Esc to open Task Manager. Then click on File -> New Task (Run…). Type explorer.exe and hit Enter to restart Explorer.


Article ID:   W17958
Filename:   Uninstall WinBatch Without Reboot.txt
File Created: 2012:10:25:07:58:38
Last Updated: 2012:10:25:07:58:38