cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cskoglund Frequent Visitor
Frequent Visitor

Uninstall of Personal Gateway is impartial

Hi

 

After uninstall of the PowerBI Personal Gateway the DIAHostService still runs and the powerbi gateway folder can be found in c:/program files, while all references to powerbi are gone in add/remove programs

 

Do you have any guides for manual clean uninstall of the gateway so I can reinstall it?

 

Regards

Christian

 

(Microsoft server 2008 R2 x64)

1 ACCEPTED SOLUTION

Accepted Solutions
cskoglund Frequent Visitor
Frequent Visitor

Re: Uninstall of Personal Gateway is impartial

It seems to be an old problem where the microsoft data gateway service installer fails to uninstall properly during uninstall. The upgradecode is then retained in the system as the uninstall is impartial blocking reinstalls. It might be because the uninstaller doesn't stop the service DIAHostService prior to uninstall?

 

I guess this should be fixed by the dev team as it is annoying?

  

-----

 

The solution is described here:

 

https://powerbi.microsoft.com/en-us/blog/failure-installing-the-power-bi-personal-gateway/

 

In short. MSI installers adds an upgradecode to the registry which describes the installed product. All related installs will fail if they conflict with the key. Hence it has to be removed,

 

Enter regedit, search for "Power BI" and you will find the product key on the right pane  as a cryptic string such as A12345678B8813744NDD533865FBA1CD under the column name with a path to power bi gateway under the column data. Grab the string and search for the string itself and you should find it in the right pane under a folder in the hierarchy below "upgradecode". The folder with an equal strange looking string is the upgrade code which has to be deleted.

 

The software can now be reinstalled. Any suggestions to clean up the failing data management service prior to reinstall is much appreciated.

View solution in original post

4 REPLIES 4
cskoglund Frequent Visitor
Frequent Visitor

Re: Uninstall of Personal Gateway is impartial

It seems to be an old problem where the microsoft data gateway service installer fails to uninstall properly during uninstall. The upgradecode is then retained in the system as the uninstall is impartial blocking reinstalls. It might be because the uninstaller doesn't stop the service DIAHostService prior to uninstall?

 

I guess this should be fixed by the dev team as it is annoying?

  

-----

 

The solution is described here:

 

https://powerbi.microsoft.com/en-us/blog/failure-installing-the-power-bi-personal-gateway/

 

In short. MSI installers adds an upgradecode to the registry which describes the installed product. All related installs will fail if they conflict with the key. Hence it has to be removed,

 

Enter regedit, search for "Power BI" and you will find the product key on the right pane  as a cryptic string such as A12345678B8813744NDD533865FBA1CD under the column name with a path to power bi gateway under the column data. Grab the string and search for the string itself and you should find it in the right pane under a folder in the hierarchy below "upgradecode". The folder with an equal strange looking string is the upgrade code which has to be deleted.

 

The software can now be reinstalled. Any suggestions to clean up the failing data management service prior to reinstall is much appreciated.

View solution in original post

v-haibl-msft Super Contributor
Super Contributor

Re: Uninstall of Personal Gateway is impartial

@cskoglund

 

It seems that you cannot install the personal gateway because the old one is not uninstalled completely. What is the error message when you try to reinstall?

Please try to remove following registry keys before reinstall. (Please make sure backup your registry keys before modification)

HKCU\SOFTWARE\Microsoft\Installer\UpgradeCodes\503186943D31ED74593B0967D7F11284

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataTransfer

 

Best Regards,

Herbert

cskoglund Frequent Visitor
Frequent Visitor

Re: Uninstall of Personal Gateway is impartial

Hi

 

I finally got it installed in a working condition. The final problem was the data management service, getting it to uninstall correctly, clean up after it and then get the powerbi gateway in again.

 

I finally found out that it can be uninstalled by running uninstall in the msi found in C:\ProgramData\Package Cache\[product GUID]v2.1.6040.1 and then cleaning out the diahost service and the associated DIAHostService user w/user folder. I guess this is going to haunt me next time I upgrade as there probably are some files/settings left over.

 

Somehow the user was not recreated upon reinstall(?)

 

Kudos for good install logs!

Rommel Frequent Visitor
Frequent Visitor

Re: Uninstall of Personal Gateway is impartial

Buen dato pude resolver el problema, gracias Herbert.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 303 members 3,064 guests
Please welcome our newest community members: