Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Power BI On-premises data gateway install failed

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartServiceImpl(String serviceDisplayName, TimeSpan timeout)
at Microsoft.PowerBI.EgwInstallUtils.CustomActions.StartServiceToCreateUser(Session session)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)
CustomAction StartServiceToCreateUser returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:22:59: StartServiceToCreateUser. Return value 3.
Action ended 17:22:59: INSTALL. Return value 3.
Property(S): UpgradeCode = {D430A057-BAED-421C-A12C-C4EFF28670C6}
Property(S): INSTALLLOCATION = C:\Program Files\On-premises data gateway\
Property(S): TARGETDIR = F:\
Property(S): dirBDEF052B2576CF9365A2D0E000A240F9 = C:\Program Files\On-premises data gateway\ar\
Property(S): dir421BB20CF98DE5002498A11A28462F6E = C:\Program Files\On-premises data gateway\bg\
Property(S): dirC30EE8AA79285FB70BE46391755D3DB2 = C:\Program Files\On-premises data gateway\ca\
Property(S): dir1C3D787E1A6537A1AC7450DEBBB621D8 = C:\Program Files\On-premises data gateway\cs\
Property(S): dir9E7B3AF1734850560874B26C769E072C = C:\Program Files\On-premises data gateway\da\
Property(S): dirB27348B57A5DB473BF7C6C7DF00A5DBA = C:\Program Files\On-premises data gateway\de\
Property(S): dirC74AB1E44A00B64EE55CF1C248D3192E = C:\Program Files\On-premises data gateway\el\
Property(S): dir77A47C9F143A7502466C548C9FCBAD08 = C:\Program Files\On-premises data gateway\en\
Property(S): dir562D8D513850F1ADE7FBC3F03925F40D = C:\Program Files\On-premises data gateway\es\
Property(S): dirCE6AABBE67C902B4BE64A5D4969AC931 = C:\Program Files\On-premises data gateway\et\
Property(S): dirDCAF90D15BBA8448B66FB83E4A247741 = C:\Program Files\On-premises data gateway\eu\
Property(S): dir34374846C57A8B1723DD3675436CA5FD = C:\Program Files\On-premises data gateway\fi\
Property(S): dir72226116A8527C99EDF529487A911522 = C:\Program Files\On-premises data gateway\fr\
Property(S): dirA83B0ABD90D4A9DB9FFB9F644898DFC2 = C:\Program Files\On-premises data gateway\gl\
Property(S): dir0B14980E89C58F79DFED48840D442E6D = C:\Program Files\On-premises data gateway\he\
Property(S): dir713DB72FB0BD9DE653B1473EC1884D72 = C:\Program Files\On-premises data gateway\hi\
Property(S): dir6E98436C1ADF39FF9D85A537752A6F80 = C:\Program Files\On-premises data gateway\hr\
Property(S): dir6A74976E422006F73AA64EEC3E7F4E74 = C:\Program Files\On-premises data gateway\hu\
Property(S): dirD4CF233D93CD6F51766F00E4F3C71540 = C:\Program Files\On-premises data gateway\id\
Property(S): dir35E624903EE34E687FB4AA2ED234EDEB = C:\Program Files\On-premises data gateway\it\
Property(S): dirC57BC71387503E379EF57803476BCA43 = C:\Program Files\On-premises data gateway\ja\
Property(S): dir9D12F843A6633FA7CD9F5338A098B487 = C:\Program Files\On-premises data gateway\kk\
Property(S): dir36D6CA8E5A6770CE8A5D00823F5A6613 = C:\Program Files\On-premises data gateway\ko\
Property(S): dirA58D748FAFA6CBC77076E146451A52CE = C:\Program Files\On-premises data gateway\lt\
Property(S): dir347EA451A6B63E6F107D6F5BE5E64946 = C:\Program Files\On-premises data gateway\lv\
Property(S): dir301394C76F100F20E429F0C3DDD523C1 = C:\Program Files\On-premises data gateway\ms\
Property(S): dir8FBB90DDC324F6321DFF9F2D6D84E64E = C:\Program Files\On-premises data gateway\nl\
Property(S): dir77A6B5406737DE802748ADD9A5301E92 = C:\Program Files\On-premises data gateway\no\
Property(S): dir21989BFF92788839A813E6BD05B4E026 = C:\Program Files\On-premises data gateway\pl\
Property(S): dir018DA28F958AD633693D708EED8737E4 = C:\Program Files\On-premises data gateway\pt-BR\
Property(S): dir02AEA1B34DA6754B436E25E7A3C332C0 = C:\Program Files\On-premises data gateway\pt-pt\
Property(S): dir50C751C5B4D4F61DB46894B99ECC7625 = C:\Program Files\On-premises data gateway\ro\
Property(S): dirD7F168AE7E2140C2AFD9C7E999CF79E1 = C:\Program Files\On-premises data gateway\ru\
Property(S): dir87D7C9C83B53FFBE05D144C750CBC9FA = C:\Program Files\On-premises data gateway\sk\
Property(S): dir384259BFD8910150F516B111EEF9C9EC = C:\Program Files\On-premises data gateway\sl\
Property(S): dirD6161CF1D9EE271DBE85D1F0B8329F4F = C:\Program Files\On-premises data gateway\sr-Cyrl\
Property(S): dirEAA091970954F2AB8C7185ABA993AA15 = C:\Program Files\On-premises data gateway\sr-Latn\
Property(S): dirCF5A8114DE3D476B3D414A1B48B20988 = C:\Program Files\On-premises data gateway\sv\
Property(S): dirF1E7F88F9C5F44DE50975BA01DEAF21E = C:\Program Files\On-premises data gateway\th\
Property(S): dirC98B6E60883E9973639508E26AA40BC3 = C:\Program Files\On-premises data gateway\tr\
Property(S): dir2EF6A42E815ADD4E17D53DB43994A22C = C:\Program Files\On-premises data gateway\uk\
Property(S): dir03556C179B29C520264960CC3F2098D7 = C:\Program Files\On-premises data gateway\vi\
Property(S): dir949B38D4A26FACA80702FF944CE3CD61 = C:\Program Files\On-premises data gateway\zh-HANS\
Property(S): dir05F72B65AAE93E1CF7C63077DDA6B973 = C:\Program Files\On-premises data gateway\zh-HANT\
Property(S): dirD75967DADE4A68C3C4D4052D00E30961 = C:\Program Files\On-premises data gateway\ODBC Drivers\
Property(S): dir1DBFC006A01B363C1AE2AF1DD22EF7AB = C:\Program Files\On-premises data gateway\ODBC Drivers\Simba Impala ODBC Driver\
Property(S): dir3CDE355F2BADC3C32EF1510785F8F7B2 = C:\Program Files\On-premises data gateway\ODBC Drivers\Simba Impala ODBC Driver\en-US\
Property(S): dir920D29A9068DA45237FE514A10C05789 = C:\Program Files\On-premises data gateway\ODBC Drivers\Simba Impala ODBC Driver\OpenSSL64.DllA\
Property(S): dir152DE92F94E9560B6598E3336AAEEB9B = C:\Program Files\On-premises data gateway\ODBC Drivers\Simba Impala ODBC Driver\sasl2\
Property(S): dir65E446E022E2CAC8000F5A6BE7CFC7C3 = C:\Program Files\On-premises data gateway\ODBC Drivers\Simba Impala ODBC Driver\saslGSSAPI\
Property(S): dir294B550D02754C0898C4139AD489F551 = C:\Program Files\On-premises data gateway\ODBC Drivers\Simba Impala ODBC Driver\saslSSPI\
Property(S): dir8706DE649C8D24F9415F94887EA57B71 = C:\Program Files\On-premises data gateway\ODBC Drivers\Simba Netezza ODBC Driver\
Property(S): dirB76F14C8916E86DA2637111421307E8B = C:\Program Files\On-premises data gateway\ODBC Drivers\Simba Netezza ODBC Driver\en-US\
Property(S): dir22B21054EA6650472394994548C8D815 = C:\Program Files\On-premises data gateway\pt\
Property(S): dirBB6DB3C635E472AA58C237D247A8B33A = C:\Program Files\On-premises data gateway\Resources\1033\
Property(S): dir874551C657296E2761FBAE6E010BC714 = C:\Program Files\On-premises data gateway\zh-CHS\
Property(S): dirBFF753302937B131B4B1C60E2849F12A = C:\Program Files\On-premises data gateway\zh-CHT\
Property(S): RegisterPerfCounterData = **********
Property(S): RollbackRegisterPerfCounterData = **********
Property(S): ExecServiceConfig = SchedServiceConfig€PBIEgwService€1€restart€none€none€0€0€€
Property(S): RollbackServiceConfig = SchedServiceConfig
Property(S): ProgramFiles64Folder = C:\Program Files\
Property(S): SourceDir = C:\ProgramData\Package Cache\{3CB72781-85C6-4050-8ABC-E0B8011EB613}v14.16.6584.1\
Property(S): dir4DC39E28E88A7F1F26918FEF6A2132A1 = C:\Program Files\On-premises data gateway\Resources\
Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(S): VersionNT = 603
Property(S): ALLUSERS = 1
Property(S): Manufacturer = Microsoft Corporation
Property(S): ProductCode = {3CB72781-85C6-4050-8ABC-E0B8011EB613}
Property(S): ProductLanguage = 1033
Property(S): ProductName = EgwComponents
Property(S): ProductVersion = 14.16.6584.1
Property(S): MsiHiddenProperties = RegisterPerfCounterData;RollbackRegisterPerfCounterData;RollbackUnregisterPerfCounterData;UnregisterPerfCounterData
Property(S): MsiLogFileLocation = C:\Users\ANANTH~1\AppData\Local\Temp\On-premises_data_gateway_20180212172129_000_EgwComponents.msi.log
Property(S): PackageCode = {98DDD56C-74AA-4B95-BC91-8E0B30D94D13}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): PBISERVICEENV = prod
Property(S): REBOOT = ReallySuppress
Property(S): CURRENTDIRECTORY = C:\Users\AnantharubanMuthukri\Downloads
Property(S): CLIENTUILEVEL = 3
Property(S): CLIENTPROCESSID = 15852
Property(S): MsiSystemRebootPending = 1
Property(S): VersionDatabase = 200
Property(S): VersionMsi = 5.00
Property(S): VersionNT64 = 603
Property(S): WindowsBuild = 9600
Property(S): ServicePackLevel = 0
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 1
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): WindowsVolume = C:\
Property(S): System64Folder = C:\WINDOWS\system32\
Property(S): SystemFolder = C:\WINDOWS\SysWOW64\
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\Users\ANANTH~1\AppData\Local\Temp\
Property(S): ProgramFilesFolder = C:\Program Files (x86)\
Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(S): CommonFiles64Folder = C:\Program Files\Common Files\
Property(S): AppDataFolder = C:\Users\AnantharubanMuthukri\AppData\Roaming\
Property(S): FavoritesFolder = C:\Users\AnantharubanMuthukri\Favorites\
Property(S): NetHoodFolder = C:\Users\AnantharubanMuthukri\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(S): PersonalFolder = C:\Users\AnantharubanMuthukri\Documents\
Property(S): PrintHoodFolder = C:\Users\AnantharubanMuthukri\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(S): RecentFolder = C:\Users\AnantharubanMuthukri\AppData\Roaming\Microsoft\Windows\Recent\
Property(S): SendToFolder = C:\Users\AnantharubanMuthukri\AppData\Roaming\Microsoft\Windows\SendTo\
Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(S): CommonAppDataFolder = C:\ProgramData\
Property(S): LocalAppDataFolder = C:\Users\AnantharubanMuthukri\AppData\Local\
Property(S): MyPicturesFolder = C:\Users\AnantharubanMuthukri\Pictures\
Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(S): DesktopFolder = C:\Users\Public\Desktop\
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): MsiAMD64 = 6
Property(S): Msix64 = 6
Property(S): Intel = 6
Property(S): PhysicalMemory = 4061
Property(S): VirtualMemory = 1338
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = AnantharubanMuthukri
Property(S): UserSID = S-1-12-1-1191653026-1302842604-3261980339-2856374939
Property(S): UserLanguageID = 1033
Property(S): ComputerName = EME-DESK-013
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 17:22:59
Property(S): Date = 2/12/2018
Property(S): MsiNetAssemblySupport = 4.7.2556.0
Property(S): MsiWin32AssemblySupport = 6.3.16299.15
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): Privileged = 1
Property(S): USERNAME = esd
Property(S): DATABASE = C:\WINDOWS\Installer\1252d96.msi
Property(S): OriginalDatabase = C:\ProgramData\Package Cache\{3CB72781-85C6-4050-8ABC-E0B8011EB613}v14.16.6584.1\EgwComponents.msi
Property(S): UILevel = 2
Property(S): MsiUISourceResOnly = 1
Property(S): ROOTDRIVE = F:\
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): INSTALLLEVEL = 1
Property(S): SOURCEDIR = C:\ProgramData\Package Cache\{3CB72781-85C6-4050-8ABC-E0B8011EB613}v14.16.6584.1\
Property(S): SourcedirProduct = {3CB72781-85C6-4050-8ABC-E0B8011EB613}
Property(S): ProductToBeRegistered = 1
MSI (s) (7C:54) [17:22:59:214]: Note: 1: 1708
MSI (s) (7C:54) [17:22:59:214]: Product: EgwComponents -- Installation failed.

MSI (s) (7C:54) [17:22:59:259]: Windows Installer installed the product. Product Name: EgwComponents. Product Version: 14.16.6584.1. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

MSI (s) (7C:54) [17:22:59:650]: Deferring clean up of packages/files, if any exist
MSI (s) (7C:54) [17:22:59:650]: MainEngineThread is returning 1603
MSI (s) (7C:78) [17:22:59:689]: RESTART MANAGER: Session closed.
MSI (s) (7C:78) [17:22:59:689]: No System Restore sequence number for this installation.
=== Logging stopped: 2/12/2018 17:22:59 ===
MSI (s) (7C:78) [17:22:59:762]: User policy value 'DisableRollback' is 0
MSI (s) (7C:78) [17:22:59:762]: Machine policy value 'DisableRollback' is 0
MSI (s) (7C:78) [17:22:59:762]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (7C:78) [17:22:59:762]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (7C:78) [17:22:59:763]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (7C:78) [17:22:59:764]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (7C:78) [17:22:59:836]: Destroying RemoteAPI object.
MSI (s) (7C:B8) [17:22:59:836]: Custom Action Manager thread ending.
MSI (c) (EC:CC) [17:22:59:875]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (EC:CC) [17:23:00:015]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2/12/2018 17:23:00 ===


Community Support
Community Support

Re: Power BI On-premises data gateway install failed

Hi @Anantharuban,


Please open secpol.msc, find "Create global objects", add your current account. 




Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Regular Visitor

Re: Power BI On-premises data gateway install failed

I am getting the exact same error message. I am a local administrator of the machine, and administrators are already in that security policy, but I added my username as well anyway. It did not resolve the issue. Any more ideas?

Regular Visitor

Re: Power BI On-premises data gateway install failed

Well, after another two restarts and about 5 more install tries, I ran procmon to try and find out more information, and of course it worked this time. I'm not sure what, if anything, fixed the issue.

Helpful resources

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors