Fix Script Error Window with Google Tag Manager URL

Yesterday when I tried to shutdown my Windows PC, it displayed a script error window with problem at a certain Google tag manager URL. This window had to be dismissed before I could shut down Windows. But the window looked suspicious and I took a screenshot for investigating later.

After half an hour of investigating this matter the next morning, I came to the conclusion that the script error is because of a program that was left behind after the uninstallation of MiniTool Partition Wizard version 12.6. This tiny program “updatechecker.exe” was still running in the background and causing these script errors.

Somehow it is trying to access Google tag manager URL located at https://www.googletagmanager.com/gtag/js?id=UA-686301-39. This type of URL is used to track the users through Google Analytics.

Gtag Script Error on Windows

So the fix basically involves cleaning up all the entries and files left behind by MiniTool Partition Wizard 12.6. Here is how it is done:

  1. You can skip this step if you have already uninstalled MiniTool Partition Wizard. Press hotkey Win+I, select Apps, select “Minitool Partition Wizard” and click Uninstall.
  2. Press Win+R to open the Run dialog. Enter taskschd.msc in the Run dialog to open Task Scheduler. In the Task Scheduler window, find a task with name MiniToolPartitionWizard. Right-click on it and choose Delete.Gtag Script Error on Windows
  3. Restart your Windows PC. Delete the folder C:\Program Files\MiniTool Partition Wizard 12\. This will remove all the remaining files.Gtag Script Error on Windows

This is going to fix all the script errors that keep popping up now and then on your Windows PC. Another faster way to try fixing this problem is to re-install MiniTool Partition Wizard by downloading its latest installer from https://www.partitionwizard.com/free-partition-manager.html.

This is going to close all the running programs related to this software and then overwrite the existing files. After the installation is complete, do not run MiniTool Partition Wizard. But immediately uninstall it from your system which would remove all the related entries and files from your system. You may still have to delete the left behind folder from C:\Program Files.