{"id":13451,"date":"2024-09-04T09:32:11","date_gmt":"2024-09-04T09:32:11","guid":{"rendered":"https:\/\/support.buildsoft.eu\/?post_type=ht_kb&#038;p=13451"},"modified":"2025-02-07T15:04:58","modified_gmt":"2025-02-07T15:04:58","slug":"unable-to-uninstall-gateway","status":"publish","type":"ht_kb","link":"https:\/\/support.buildsoft.eu\/es\/knowledge-base\/unable-to-uninstall-gateway\/","title":{"rendered":"Unable to uninstall Gateway"},"content":{"rendered":"<p>During the installation of Diamonds\/ PowerConnect\/ BIM Expert, the old version of Gateway is overwritten by the new one. Unfortunately this process doesn&#8217;t always go perfectly and sometimes multiple versions of Gateway end up on your computer. Causing communication issues with Diamonds\/ PowerConnect\/ BIM Expert.<\/p>\n<p>In <em>Control Panel<\/em> &gt; <em>Programs and features<\/em> &gt; <em>Remove a program<\/em>, you see multiple treads of Gateway.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-13454 aligncenter\" src=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2024\/09\/CorruptGateway.png\" alt=\"\" width=\"1045\" height=\"401\" \/><\/p>\n<p>If you select the corrupt one, it&#8217;s impossible to remove.<\/p>\n<p>Note: avoid corrupt installations of Gateway by uninstalling the current Gateway, before installing a new version of Diamonds\/ PowerConnect\/ BIM Expert.<\/p>\n<h2>Solution 1 (recommended)<\/h2>\n<p>Whenever this issue occurs, most clients have one corrupt Gateway version (the old version) and one that seems to work fine ( the newer version). This workflow removes the corrupt Gateway version. Hoping that after deleting the corrupt registry keys, the issue is fixed without having to reinstall Gateway.<\/p>\n<div class=\"su-accordion su-u-trim\"><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Open workflow<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<h4>1. Determine the corrupt version of Gateway<\/h4>\n<ol>\n<li>In <em>Control Panel<\/em> &gt; <em>Programs and features<\/em> &gt; <em>Remove a program<\/em>, you see multiple treads of Gateway.<br \/>\nRemember the version of the corrupt Gateway.<br \/>\nThe Gateway proceeded by the red logo, is the correct one. Normally, this one will have the highest version number. So in this example, Gateway 2.05.0000 is the corrupt one.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-13454 aligncenter\" src=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2024\/09\/CorruptGateway.png\" alt=\"\" width=\"1045\" height=\"401\" \/><\/li>\n<li>Look-up the corresponding ProductIdGUID and RandomGUID (see overview at the end of this article)<br \/>\nFor Gateway 2.05.0000 the ProductIdGUID is<em>\u00a0{1F528EEC-620E-461E-87DF-3E54CCE2090E} <\/em>and the RandomGUID =<em>CEE825F1E026E16478FDE345CC2E90E0.<\/em><\/li>\n<\/ol>\n<h4>2. Stop services<\/h4>\n<ol>\n<li>Go to Task Manager tab &#8216;Services&#8217;<\/li>\n<li>Stop the <em>Gateway<\/em> and <em>GatewayServer<\/em> service<\/li>\n<\/ol>\n<h4>3. Edit the Windows Registry<\/h4>\n    \t\t<div class=\"hts-messages hts-messages--danger   hts-messages--withicon \" id=\"\" style=\"\">\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tThe registry is not a funhouse. Deleting the wrong key, can cause serious damage to your system. So be very aware of what you do here and double check everything!    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<ol>\n<li>Go to <em>Start<\/em> &gt; <em>Regedit<\/em> &gt; Run as administrator.<\/li>\n<li>Copy-paste the following code in the address field and hit <kbd>ENTER<\/kbd>:<br \/>\n<code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\<\/code><\/li>\n<li>Do a search (<kbd>CTRL<\/kbd> + <kbd>F<\/kbd>) for <em>Gateway<\/em>.\n<ul>\n<li>If a hit for &#8216;Gateway&#8217; is found <strong>in that address<\/strong>, go to the next step.<\/li>\n<li>If no hit for &#8216;Gateway&#8217; is found <strong>in that address<\/strong>, go to step 5.<\/li>\n<\/ul>\n<\/li>\n<li>Verify that the found hit is a Buildsoft Gateway key related to the version you want to remove.\n<ul>\n<li>Condition 1: the entry must mention \u00abBuildsoft\u00bb as \u00abContact &amp; Publisher\u00bb (red arrows).<\/li>\n<li>Condition 2: the ProductIdGUID (green arrow) corresponds to the version you want to remove.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-8477\" src=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-1024x351.png\" alt=\"\" width=\"643\" height=\"220\" srcset=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-1024x351.png 1024w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-300x103.png 300w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-768x263.png 768w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-50x17.png 50w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-60x21.png 60w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-35x12.png 35w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1.png 1182w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/li>\n<\/ul>\n<p>If BOTH\u00a0 conditions are met: click on the key (where the green arrow is) with the right mouse button and choose &#8216;Remove&#8217;.<\/li>\n<li>Copy-paste the following code in the address field and hit <kbd>ENTER<\/kbd>:<br \/>\n<code>HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\<\/code><\/li>\n<li>Repeat STEPS 3-4.<\/li>\n<li>Copy-paste the following code in the address field and hit <kbd>ENTER<\/kbd>:<br \/>\n<code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\<\/code><\/li>\n<li>Repeat STEPS 3-4<\/li>\n<li>Copy-paste the following code in the address field and hit <kbd>ENTER<\/kbd>:<br \/>\n<code>HKEY_CLASSES_ROOT\\Installer\\Products\\<\/code><\/li>\n<li>Verify in <em>Programs and Features,<\/em> if the corrupt Gateway is completely removed from the list.<\/li>\n<li>Restart the computer. Our software should work fine now.<\/li>\n<\/ol>\n<\/div><\/div> <\/div>\n<h2>Solution 2<\/h2>\n<p>This workflow will remove Gateway completely (even a version that might work well). It will also clean-up any leftover files related to Gateway. Usually this method is a bit overkill and Option 2 is sufficient to fix the issue.<br \/>\nReinstalling Gateway will definitely be needed after this workflow.<\/p>\n<div class=\"su-accordion su-u-trim\"><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Open workflow<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<h4>1. Stop services<\/h4>\n<ol>\n<li>Go to Task Manager tab &#8216;Services&#8217;<\/li>\n<li>Stop the <em>Gateway<\/em> and <em>GatewayServer<\/em> service<\/li>\n<\/ol>\n<h4>2. Delete services<\/h4>\n<ol>\n<li>Run <em>cmd.exe<\/em> as admin<\/li>\n<li>Type following text and hit <kbd>ENTER<\/kbd>.\n<pre>sc delete Gateway<\/pre>\n<\/li>\n<li>Type following text and hit <kbd>ENTER<\/kbd>.\n<pre>sc delete GatewayServer<\/pre>\n<\/li>\n<\/ol>\n<h4>3. Remove the installed files from the disk<\/h4>\n<ol>\n<li>Delete the content of the folder <code>C:program filesBuildSoftGateway<\/code>.<br \/>\nIf you&#8217;re using Diamonds\/PowerConnect\/ BIM Expert 2023r01 or older, you&#8217;ll have to look in\u00a0<code>C:program files (x86)BuildSoftGateway<\/code>.<\/li>\n<\/ol>\n<h4>4. Remove the old installer from the disk<\/h4>\n<ol>\n<li>Open Windows Explorer. Copy-paste <code>C:WindowsInstaller<\/code> in the address field.<\/li>\n<li>Show column \u2018Subject\u2019 to show the name of the installer because the msi-files have a random name.<\/li>\n<li>Remove the folder AND source file related to the installer. The folder is defined by the installer\u2019s ProductIdGUID.<\/li>\n<\/ol>\n<h4>5. Edit the Windows Registry<\/h4>\n    \t\t<div class=\"hts-messages hts-messages--danger   hts-messages--withicon \" id=\"\" style=\"\">\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tThe registry is not a funhouse. Deleting the wrong key, can cause serious damage to your system. So be very aware of what you do here and double check everything!    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<ol>\n<li>Go to <em>Start<\/em> &gt; <em>Regedit<\/em> &gt; Run as administrator.<\/li>\n<li>Copy-paste the following code in the address field and hit <kbd>ENTER<\/kbd>:<br \/>\n<code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\<\/code><\/li>\n<li>Do a search (<kbd>CTRL<\/kbd> + <kbd>F<\/kbd>) for <em>Gateway<\/em>.\n<ul>\n<li>If a hit for &#8216;Gateway&#8217; is found <strong>in that address<\/strong>, go to the next step.<\/li>\n<li>If no hit for &#8216;Gateway&#8217; is found <strong>in that address<\/strong>, go to step 5.<\/li>\n<\/ul>\n<\/li>\n<li>Verify that the found hit is a Buildsoft Gateway key related to the version you want to remove.\n<ul>\n<li>Condition 1: the entry must mention \u00abBuildsoft\u00bb as \u00abContact &amp; Publisher\u00bb (red arrows).<\/li>\n<li>Condition 2: the ProductIdGUID (green arrow) corresponds to the version you want to remove.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-8477\" src=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-1024x351.png\" alt=\"\" width=\"643\" height=\"220\" srcset=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-1024x351.png 1024w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-300x103.png 300w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-768x263.png 768w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-50x17.png 50w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-60x21.png 60w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1-35x12.png 35w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/03\/UninstallGateway1-1.png 1182w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/li>\n<\/ul>\n<p>If BOTH\u00a0 conditions are met: click on the key (where the green arrow is) with the right mouse button and choose &#8216;Remove&#8217;.<\/li>\n<li>Repeat until you nolonger find any hits for &#8216;Gateway&#8217; <strong>in this address.<\/strong><\/li>\n<li>Copy-paste the following code in the address field and hit <kbd>ENTER<\/kbd>:<br \/>\n<code>HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\<\/code><\/li>\n<li>Repeat STEPS 3-4-5.<\/li>\n<li>Copy-paste the following code in the address field and hit <kbd>ENTER<\/kbd>:<br \/>\n<code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\<\/code><\/li>\n<li>Repeat STEPS 3-4-5.<\/li>\n<li>Copy-paste the following code in the address field and hit <kbd>ENTER<\/kbd>:<br \/>\n<code>HKEY_CLASSES_ROOT\\Installer\\Products\\<\/code><\/li>\n<li>Restart the computer.<\/li>\n<li>Verify in Programs and Features, if Gateway is completely removed from the list.<\/li>\n<li><a href=\"https:\/\/support.buildsoft.eu\/knowledge-base\/where-can-i-download-gateway\/\">Reinstall Gateway<\/a>.<\/li>\n<\/ol>\n<\/div><\/div> <\/div>\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \" id=\"\" style=\"\">\r\n    \t\t\t<span class=\"hts-messages__title\">ProductIdGUID and RandomGUID of Gateway versions<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t\n<ul>\n<li>Gateway 1.11.0000\n<ul>\n<li>ProductIdGUID = {BC87FE7B-89F4-4913-AD56-B82B6ADD881C}<\/li>\n<li>RandomGUID = B7EF78CB4F983194DA658BB2A6DD88C1<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 1.12.0000\n<ul>\n<li>ProductIdGUID = {CE764938-5481-455E-96C5-ADF873788966}<\/li>\n<li>RandomGUID = 839467EC1845E554695CDA8F37879866<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 2.00.0000\n<ul>\n<li>ProductIdGUID = {42E409A0-3363-4CC1-BD64-9B7EA6226DAC}<\/li>\n<li>RandomGUID = 0A904E2436331CC4DB46B9E76A22D6CA<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 2.01.0014\n<ul>\n<li>ProductIdGUID = {DA771CC0-28D6-48A1-8B8D-A1863AA72125}<\/li>\n<li>RandomGUID = 0CC177AD6D821A84B8D81A68A37A1252<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 2.03.0000\n<ul>\n<li>ProductIdGUID = {DA22B7EB-BDA4-47E4-826E-9F9B99BEB168}<\/li>\n<li>RandomGUID = BE7B22AD4ADB4E74F9B999EB1B68<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 2.04.0000\n<ul>\n<li>ProductIdGUID = {37CAA129-2F04-4C9A-8B91-9443444EF0D3}<\/li>\n<li>RandomGUID = 921AAC3740F2A9C4B819493444E40F3D<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 2.05.0000\n<ul>\n<li>ProductIdGUID = {1F528EEC-620E-461E-87DF-3E54CCE2090E}<\/li>\n<li>RandomGUID = CEE825F1E026E16478FDE345CC2E90E0<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 2.06.0001\n<ul>\n<li>ProductIdGUID = {675D3BBC-A098-48A5-93C7-E613A63DD56F}<\/li>\n<li>RandomGUID = CBB3D576890A5A84397C6E316AD35DF6<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 2.07.0001\n<ul>\n<li>ProductIdGUID = {EAA936A3-C40F-4DA8-B307-289D6B14317B}<\/li>\n<li>RandomGUID = 3A639AAEF04C8AD43B7082D9B64113B7<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 2.07.0002\n<ul>\n<li>ProductIdGUID = {51B2472D-6003-4723-8AEF-6A356443C465}<\/li>\n<li>RandomGUID = D2742B1530063247A8FEA65346344C56<\/li>\n<\/ul>\n<\/li>\n<li>Gateway 2.08.0001\n<ul>\n<li>ProductIdGUID = {7C34F93D-282A-4ED8-87D4-8E4610D41520}<\/li>\n<li>RandomGUID = D39F43C7A2828DE4784DE864014D5102<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Remark: RandomGUID = ProductIDGUID, but write the first 3 strings backwards, and then 2 by 2 characters backwards<br \/>\n    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n","protected":false},"excerpt":{"rendered":"<p>During the installation of Diamonds\/ PowerConnect\/ BIM Expert, the old version of Gateway is overwritten by the new one. Unfortunately this process doesn&#8217;t always go perfectly and sometimes multiple versions of Gateway end up on your computer. Causing communication issues with Diamonds\/ PowerConnect\/ BIM Expert. In Control Panel &gt; Programs&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[47],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb\/13451"}],"collection":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/comments?post=13451"}],"version-history":[{"count":2,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb\/13451\/revisions"}],"predecessor-version":[{"id":14702,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb\/13451\/revisions\/14702"}],"wp:attachment":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/media?parent=13451"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb-category?post=13451"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb-tag?post=13451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}