1. Home
  2. Gateway
  3. Unable to uninstall Gateway

Unable to uninstall Gateway

During the installation of Diamonds/ PowerConnect/ BIM Expert, the old version of Gateway is overwritten by the new one. Unfortunately this process doesn’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 > Programs and features > Remove a program, you see multiple treads of Gateway.

If you select the corrupt one, it’s impossible to remove.

Note: avoid corrupt installations of Gateway by uninstalling the current Gateway, before installing a new version of Diamonds/ PowerConnect/ BIM Expert.

Whenever this issue occurs, most clients have one corrupt Gateway version and one that seems to work.
This workflow is tries to only remove the corrup Gateway version. Hoping that after deleting the corrupt registry keys, the issue is fixed without having to reinstall Gateway.

Open workflow

1. Determine the corrupt version of Gateway

  1. In Control Panel > Programs and features > Remove a program, you see multiple treads of Gateway.
    Remember the version of the corrupt Gateway.
    The 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.
  2. Look-up the corresponding ProductIdGUID and RandomGUID (see overview at the end of this article)
    For example: for Gateway 2.05.0000 the ProductIdGUID is {1F528EEC-620E-461E-87DF-3E54CCE2090E} and the RandomGUID =CEE825F1E026E16478FDE345CC2E90E0.

2. Stop services

  1. Go to Task Manager tab ‘Services’
  2. Stop the Gateway and GatewayServer service

3. Edit the Windows Registry

The 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!

  1. Go to Start > Regedit > Run as administrator.
  2. Copy-paste the following code in the address field and hit ENTER:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
  3. Do a search (CTRL + F) for Gateway.
    • If a hit for ‘Gateway’ is found in that address, go to the next step.
    • If a hit for ‘Gateway’ is found in that address, go to step 5.
  4. Verify that the found hit is a Buildsoft Gateway key related to the version you want to remove.
    • Condition 1: the entry must mention “Buildsoft” as “Contact & Publisher” (red arrows).
    • Condition 2: the ProductIdGUID (green arrow) corresponds to the version you want to remove.

    If BOTH  conditions are met: click on the key (where the green arrow is) with the right mouse button and choose ‘Remove’.

  5. Copy-paste the following code in the address field and hit ENTER:
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
  6. Repeat STEPS 3-4.
  7. Copy-paste the following code in the address field and hit ENTER:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\
  8. Repeat STEPS 3-4
  9. Copy-paste the following code in the address field and hit ENTER:
    HKEY_CLASSES_ROOT\Installer\Products\
  10. Verify in Programs and Features, if the corrupt Gateway is completely removed from the list.
  11. Restart the computer. Our software should work fine now.

Solution 2

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.
Reinstalling Gateway will definitely be needed after this workflow.

Open workflow

1. Stop services

  1. Go to Task Manager tab ‘Services’
  2. Stop the Gateway and GatewayServer service

2. Delete services

  1. Run cmd.exe as admin
  2. Type following text and hit ENTER.
    sc delete Gateway
  3. Type following text and hit ENTER.
    sc delete GatewayServer

3. Remove the installed files from the disk

  1. Delete the content of the folder C:program filesBuildSoftGateway.
    If you’re using Diamonds/PowerConnect/ BIM Expert 2023r01 or older, you’ll have to look in C:program files (x86)BuildSoftGateway.

4. Remove the old installer from the disk

  1. Open Windows Explorer. Copy-paste C:WindowsInstaller in the address field.
  2. Show column ‘Subject’ to show the name of the installer because the msi-files have a random name.
  3. Remove the folder AND source file related to the installer. The folder is defined by the installer’s ProductIdGUID.

5. Edit the Windows Registry

The 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!

  1. Go to Start > Regedit > Run as administrator.
  2. Copy-paste the following code in the address field and hit ENTER:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
  3. Do a search (CTRL + F) for Gateway.
    • If a hit for ‘Gateway’ is found in that address, go to the next step.
    • If a hit for ‘Gateway’ is found in that address, go to step 5.
  4. Verify that the found hit is a Buildsoft Gateway key related to the version you want to remove.
    • Condition 1: the entry must mention “Buildsoft” as “Contact & Publisher” (red arrows).
    • Condition 2: the ProductIdGUID (green arrow) corresponds to the version you want to remove.

    If BOTH  conditions are met: click on the key (where the green arrow is) with the right mouse button and choose ‘Remove’.

  5. Repeat until you nolonger find any hits for ‘Gateway’ in this address.
  6. Copy-paste the following code in the address field and hit ENTER:
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
  7. Repeat STEPS 3-4-5.
  8. Copy-paste the following code in the address field and hit ENTER:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\
  9. Repeat STEPS 3-4-5.
  10. Copy-paste the following code in the address field and hit ENTER:
    HKEY_CLASSES_ROOT\Installer\Products\
  11. Restart the computer.
  12. Verify in Programs and Features, if Gateway is completely removed from the list.
  13. Reinstall Gateway.
ProductIdGUID and RandomGUID of Gateway versions

  • Gateway 1.11.0000
    • ProductIdGUID = {BC87FE7B-89F4-4913-AD56-B82B6ADD881C}
    • RandomGUID = B7EF78CB4F983194DA658BB2A6DD88C1
  • Gateway 1.12.0000
    • ProductIdGUID = {CE764938-5481-455E-96C5-ADF873788966}
    • RandomGUID = 839467EC1845E554695CDA8F37879866
  • Gateway 2.00.0000
    • ProductIdGUID = {42E409A0-3363-4CC1-BD64-9B7EA6226DAC}
    • RandomGUID =0A904E2436331CC4DB46B9E76A22D6CA
  • Gateway 2.01.0014
    • ProductIdGUID = {DA771CC0-28D6-48A1-8B8D-A1863AA72125}
    • RandomGUID =0CC177AD6D821A84B8D81A68A37A1252
  • Gateway 2.03.0000
    • ProductIdGUID = {DA22B7EB-BDA4-47E4-826E-9F9B99BEB168}
    • RandomGUID =BE7B22AD4ADB4E74F9B999EB1B68
  • Gateway 2.04.0000
    • ProductIdGUID = {37CAA129-2F04-4C9A-8B91-9443444EF0D3}
    • RandomGUID = 921AAC3740F2A9C4B819493444E40F3D
  • Gateway 2.05.0000
    • ProductIdGUID = {1F528EEC-620E-461E-87DF-3E54CCE2090E}
    • RandomGUID =CEE825F1E026E16478FDE345CC2E90E0
  • Gateway 2.06.0001
    • ProductIdGUID = {675D3BBC-A098-48A5-93C7-E613A63DD56F}
    • RandomGUID =CBB3D576890A5A84397C6E316AD35DF6
  • Gateway 2.07.0001
    • ProductIdGUID = {EAA936A3-C40F-4DA8-B307-289D6B14317B}
    • RandomGUID =3A639AAEF04C8AD43B7082D9B64113B7
  • Gateway 2.07.0002
    • ProductIdGUID = {51B2472D-6003-4723-8AEF-6A356443C465}
    • RandomGUID =D2742B1530063247A8FEA65346344C56

Remark: RandomGUID = ProductIDGUID, but write the first 3 strings backwards, and then 2 by 2 characters backwards

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT