web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Service 'UIFlowService...
Power Automate
Unanswered

Service 'UIFlowService' (UIFlowService) failed to start

(0) ShareShare
ReportReport
Posted on by 4

I launched the setup with Administrator privileges, but the installation fails with the below error.

 

Service 'UIFlowService' (UIFlowService) failed to start. Verify that you have sufficient privileges to start system services.

 

KvavhrXMFl.png

 

[32E0:5D40][2020-05-06T19:46:46]i001: Burn v3.11.1.2318, Windows v10.0 (Build 16299: Service Pack 0), path: C:\Users\user\AppData\Local\Temp\2\{AAB0CE16-C020-4FC0-A6F9-5589EB6FCEAB}\.cr\Setup.Microsoft.PowerAutomate.UIFlow (1).exe
[32E0:5D40][2020-05-06T19:46:46]i000: Initializing string variable 'BundleVersion' to value '1.0.00548.20118'
[32E0:5D40][2020-05-06T19:46:46]i000: Initializing string variable 'RegistryKeyPath' to value 'SOFTWARE\Microsoft\UI flows'
[32E0:5D40][2020-05-06T19:46:46]i000: Initializing string variable 'InstallPath' to value '[ProgramFilesFolder]Microsoft UI flows'
[32E0:5D40][2020-05-06T19:46:46]i000: Initializing string variable 'AgentClientId' to value 'static'
[32E0:5D40][2020-05-06T19:46:46]i009: Command Line: '"-burn.clean.room=C:\Users\user\Downloads\Setup.Microsoft.PowerAutomate.UIFlow (1).exe" -burn.filehandle.attached=668 -burn.filehandle.self=676'
[32E0:5D40][2020-05-06T19:46:46]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\user\Downloads\Setup.Microsoft.PowerAutomate.UIFlow (1).exe'
[32E0:5D40][2020-05-06T19:46:46]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\user\Downloads\'
[32E0:5D40][2020-05-06T19:46:48]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\user\AppData\Local\Temp\UI_flows_20200506194648.log'
[32E0:5D40][2020-05-06T19:46:48]i000: Setting string variable 'WixBundleName' to value 'UI flows'
[32E0:5D40][2020-05-06T19:46:48]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[32E0:5D40][2020-05-06T19:46:48]i000: Loading managed bootstrapper application.
[32E0:5D40][2020-05-06T19:46:49]i000: Creating BA thread to run asynchronously.
[32E0:5F58][2020-05-06T19:46:49]i000: Running bootstrap application.
[32E0:5F58][2020-05-06T19:46:49]i000: UIVisible: True
[32E0:5D40][2020-05-06T19:46:49]i100: Detect begin, 4 packages
[32E0:5D40][2020-05-06T19:46:49]i000: Product or related product not found: {D430A057-BAED-421C-A12C-C4EFF28670C6}
[32E0:5D40][2020-05-06T19:46:49]i000: Setting version variable 'GatewayInstalledVersion' to value '0.0.0.0'
[32E0:5D40][2020-05-06T19:46:49]i000: Setting string variable 'NETFRAMEWORK45' to value '528049'
[32E0:5D40][2020-05-06T19:46:49]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\UI flows'
[32E0:5D40][2020-05-06T19:46:49]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\UI flows'
[32E0:5D40][2020-05-06T19:46:49]i052: Condition 'PersistedAgentClientId' evaluates to false.
[32E0:5D40][2020-05-06T19:46:49]i052: Condition 'PersistedInstallPath' evaluates to false.
[32E0:5D40][2020-05-06T19:46:49]i052: Condition 'NETFRAMEWORK45 >= 461808' evaluates to true.
[32E0:5D40][2020-05-06T19:46:49]i101: Detected package: NetFx472Web, state: Present, cached: None
[32E0:5D40][2020-05-06T19:46:49]i101: Detected package: VCRedist64, state: Absent, cached: None
[32E0:5D40][2020-05-06T19:46:49]i101: Detected package: VCRedist86, state: Absent, cached: None
[32E0:5D40][2020-05-06T19:46:49]i101: Detected package: MicrosoftFlowRPA, state: Absent, cached: None
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.Agent, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.Recorder, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.ThirdPartyNotice, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.Notifier, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.UIFlowsClientDll, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.RDPConnections, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.ChromeExtension, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.StartupNotifier, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.Settings, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.LogShipper, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.LogShipperOptIn, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.UIFlowService, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i104: Detected package: MicrosoftFlowRPA, feature: Microsoft.Flow.RPA.AgentLauncher, state: Absent
[32E0:5D40][2020-05-06T19:46:49]i000: Gateway is not installed.
[32E0:5D40][2020-05-06T19:46:49]i000: Found bundle variable InstallPath: 'C:\Program Files (x86)\Microsoft UI flows'.
[32E0:5D40][2020-05-06T19:46:49]i199: Detect complete, result: 0x0
[32E0:5D40][2020-05-06T19:46:55]i200: Plan begin, 4 packages, action: Install
[32E0:5D40][2020-05-06T19:46:55]i000: Setting string variable 'InstallPath' to value 'C:\Program Files (x86)\Microsoft UI flows'
[32E0:5D40][2020-05-06T19:46:55]i000: Setting string variable 'AgentClientId' to value 'rgjXrjzuNERq8H9uNRzJWiMyhc/9OWhG'
[32E0:5D40][2020-05-06T19:46:55]w321: Skipping dependency registration on package with no dependency providers: NetFx472Web
[32E0:5D40][2020-05-06T19:46:55]i052: Condition 'VersionNT64' evaluates to true.
[32E0:5D40][2020-05-06T19:46:55]w321: Skipping dependency registration on package with no dependency providers: VCRedist64
[32E0:5D40][2020-05-06T19:46:55]i000: Setting string variable 'WixBundleLog_VCRedist64' to value 'C:\Users\user\AppData\Local\Temp\UI_flows_20200506194648_000_VCRedist64.log'
[32E0:5D40][2020-05-06T19:46:55]i052: Condition 'NOT VersionNT64' evaluates to false.
[32E0:5D40][2020-05-06T19:46:55]w321: Skipping dependency registration on package with no dependency providers: VCRedist86
[32E0:5D40][2020-05-06T19:46:55]i204: Plan 13 msi features for package: MicrosoftFlowRPA
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.Agent, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.Recorder, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.ThirdPartyNotice, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.Notifier, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.UIFlowsClientDll, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.RDPConnections, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.ChromeExtension, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.StartupNotifier, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.Settings, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.LogShipper, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.LogShipperOptIn, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.UIFlowService, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i203: Planned feature: Microsoft.Flow.RPA.AgentLauncher, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[32E0:5D40][2020-05-06T19:46:55]i000: Setting string variable 'WixBundleRollbackLog_MicrosoftFlowRPA' to value 'C:\Users\user\AppData\Local\Temp\UI_flows_20200506194648_001_MicrosoftFlowRPA_rollback.log'
[32E0:5D40][2020-05-06T19:46:55]i000: Setting string variable 'WixBundleLog_MicrosoftFlowRPA' to value 'C:\Users\user\AppData\Local\Temp\UI_flows_20200506194648_001_MicrosoftFlowRPA.log'
[32E0:5D40][2020-05-06T19:46:55]i201: Planned package: NetFx472Web, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[32E0:5D40][2020-05-06T19:46:55]i201: Planned package: VCRedist64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[32E0:5D40][2020-05-06T19:46:55]i201: Planned package: VCRedist86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[32E0:5D40][2020-05-06T19:46:55]i201: Planned package: MicrosoftFlowRPA, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[32E0:5D40][2020-05-06T19:46:55]i299: Plan complete, result: 0x0
[32E0:5D40][2020-05-06T19:46:55]i300: Apply begin
[32E0:5D40][2020-05-06T19:46:55]i010: Launching elevated engine process.
[32E0:5D40][2020-05-06T19:46:58]i011: Launched elevated engine process.
[32E0:5D40][2020-05-06T19:46:58]i012: Connected to elevated engine.
[2050:399C][2020-05-06T19:46:59]i358: Pausing automatic updates.
[2050:399C][2020-05-06T19:46:59]i359: Paused automatic updates.
[2050:399C][2020-05-06T19:46:59]i360: Creating a system restore point.
[2050:399C][2020-05-06T19:46:59]w363: Could not create system restore point, error: 0x80070422. Continuing...
[2050:399C][2020-05-06T19:46:59]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{396ab4ce-ba5a-4654-8420-dafd00f35d04}, options: 0x7, disable resume: No
[2050:399C][2020-05-06T19:47:43]i000: Caching bundle from: 'C:\Users\user\AppData\Local\Temp\2\{BFEF295F-3856-4CBD-B819-43CCEEBCA4FE}\.be\Setup.Microsoft.PowerAutomate.UIFlow.exe' to: 'C:\ProgramData\Package Cache\{396ab4ce-ba5a-4654-8420-dafd00f35d04}\Setup.Microsoft.PowerAutomate.UIFlow.exe'
[2050:399C][2020-05-06T19:47:43]i320: Registering bundle dependency provider: {396ab4ce-ba5a-4654-8420-dafd00f35d04}, version: 1.0.548.20118
[2050:399C][2020-05-06T19:47:43]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{396ab4ce-ba5a-4654-8420-dafd00f35d04}, resume: Active, restart initiated: No, disable resume: No
[2050:4B44][2020-05-06T19:47:44]i305: Verified acquired payload: VCRedist64 at path: C:\ProgramData\Package Cache\.unverified\VCRedist64, moving to: C:\ProgramData\Package Cache\B87C38D093872D7BE7E191F01107B39C87888A5A\VC_redist.x64.exe.
[2050:4B44][2020-05-06T19:47:44]i305: Verified acquired payload: MicrosoftFlowRPA at path: C:\ProgramData\Package Cache\.unverified\MicrosoftFlowRPA, moving to: C:\ProgramData\Package Cache\{BB64EC63-DB90-4195-8705-B3CA32171EEE}v1.0.00548.20118\Microsoft.Flow.UIflow.msi.
[2050:399C][2020-05-06T19:47:44]i301: Applying execute package: VCRedist64, action: Install, path: C:\ProgramData\Package Cache\B87C38D093872D7BE7E191F01107B39C87888A5A\VC_redist.x64.exe, arguments: '"C:\ProgramData\Package Cache\B87C38D093872D7BE7E191F01107B39C87888A5A\VC_redist.x64.exe" /install /quiet /norestart'
[32E0:5D40][2020-05-06T19:47:46]i319: Applied execute package: VCRedist64, result: 0x0, restart: None
[2050:399C][2020-05-06T19:47:46]i323: Registering package dependency provider: {BB64EC63-DB90-4195-8705-B3CA32171EEE}, version: 1.0.00548.20118, package: MicrosoftFlowRPA
[2050:399C][2020-05-06T19:47:47]i301: Applying execute package: MicrosoftFlowRPA, action: Install, path: C:\ProgramData\Package Cache\{BB64EC63-DB90-4195-8705-B3CA32171EEE}v1.0.00548.20118\Microsoft.Flow.UIflow.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" FLOWRPAINSTALLDIR="C:\Program Files (x86)\Microsoft UI flows" FLOWRPACLIENTID="rgjXrjzuNERq8H9uNRzJWiMyhc/9OWhG" ADDLOCAL="Microsoft.Flow.RPA.Agent,Microsoft.Flow.RPA.Recorder,Microsoft.Flow.RPA.ThirdPartyNotice,Microsoft.Flow.RPA.Notifier,Microsoft.Flow.RPA.UIFlowsClientDll,Microsoft.Flow.RPA.RDPConnections,Microsoft.Flow.RPA.ChromeExtension,Microsoft.Flow.RPA.StartupNotifier,Microsoft.Flow.RPA.Settings,Microsoft.Flow.RPA.LogShipper,Microsoft.Flow.RPA.LogShipperOptIn,Microsoft.Flow.RPA.UIFlowService,Microsoft.Flow.RPA.AgentLauncher"'
[2050:399C][2020-05-06T19:48:45]e000: Error 0x80070643: Failed to install MSI package.
[2050:399C][2020-05-06T19:48:45]e000: Error 0x80070643: Failed to execute MSI package.
[32E0:5D40][2020-05-06T19:48:45]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[32E0:5D40][2020-05-06T19:48:45]i319: Applied execute package: MicrosoftFlowRPA, result: 0x80070643, restart: None
[32E0:5D40][2020-05-06T19:48:45]e000: Error 0x80070643: Failed to execute MSI package.
[2050:399C][2020-05-06T19:48:45]i318: Skipped rollback of package: MicrosoftFlowRPA, action: Uninstall, already: Absent
[32E0:5D40][2020-05-06T19:48:45]i319: Applied rollback package: MicrosoftFlowRPA, result: 0x0, restart: None
[2050:399C][2020-05-06T19:48:45]i329: Removed package dependency provider: {BB64EC63-DB90-4195-8705-B3CA32171EEE}, package: MicrosoftFlowRPA
[2050:399C][2020-05-06T19:48:45]i351: Removing cached package: MicrosoftFlowRPA, from path: C:\ProgramData\Package Cache\{BB64EC63-DB90-4195-8705-B3CA32171EEE}v1.0.00548.20118\
[2050:399C][2020-05-06T19:48:45]i351: Removing cached package: VCRedist64, from path: C:\ProgramData\Package Cache\B87C38D093872D7BE7E191F01107B39C87888A5A\
[2050:399C][2020-05-06T19:48:45]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{396ab4ce-ba5a-4654-8420-dafd00f35d04}, resume: None, restart: None, disable resume: No
[2050:399C][2020-05-06T19:48:45]i330: Removed bundle dependency provider: {396ab4ce-ba5a-4654-8420-dafd00f35d04}
[2050:399C][2020-05-06T19:48:45]i352: Removing cached bundle: {396ab4ce-ba5a-4654-8420-dafd00f35d04}, from path: C:\ProgramData\Package Cache\{396ab4ce-ba5a-4654-8420-dafd00f35d04}\
[2050:399C][2020-05-06T19:48:45]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{396ab4ce-ba5a-4654-8420-dafd00f35d04}, resume: None, restart initiated: No, disable resume: No
[32E0:5D40][2020-05-06T19:48:45]e000: Apply completion failed. Code: 0x80070643. Message: Service 'UIFlowService' (UIFlowService) failed to start. Verify that you have sufficient privileges to start system services.
[32E0:5D40][2020-05-06T19:48:45]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No

Categories:
  • ancunha Profile Picture
    Microsoft Employee on at

    Hi MVD, 

     

    Please confirm first if you have all the prerequisites and check the limitations to install the program - for example, Windows 10 home is not supported - https://docs.microsoft.com/pt-pt/power-automate/ui-flows/setup#prerequisites

     

    If you have all the prerequisites, please try the following:

     

    Cause
    Some group policy objects prevent newly created NT Service accounts to logon as a service.

    This occurs when NT SERVICE/ALL SERVICES does not have the "logon as a service" rights.

     

    Current Workaround

    1. Open Secpol.msc (Local Security Settings)
    2. Go to Local Policy / User Rights Assignments
    3. Look for “Logon as a Service” and open
    4. Click on add user
    5. Add a temporary account: Use "Everyone" or follow the note below to use "NT SERVICE\ALL SERVICES" as temporary account
    6. Install UIFlows
    7. Remove the temporary account (Everyone or "NT SERVICE\ALL SERVICES)
    8. Add NT Service\UIFlowService

     

    Potential escalation required
    In case the account is removed, the domain controller administrator must be contacted in order to add NT Service\UIFlowService the right to logon as a service

     

    Note to use "NT SERVICE\ALL SERVICES" as a temporary account instead of "Everyone"
    Download and install

    https://www.microsoft.com/en-us/download/confirmation.aspx?id=17657

     

    cd "C:\Program Files (x86)\Windows Resource Kits\Tools"

    ntrights +r SeServiceLogonRight -u "NT SERVICE\ALL SERVICES" -m \\%COMPUTERNAME%

     

    In step 7 above, "NT SERVICE\ALL SERVICES" can be removed

     

    Please let me know if this worked (if so, please mark it as solution), otherwise I will check other options.

  • MVD Profile Picture
    4 on at

    Thanks for your reply. I am using Windows 10 Pro edition. Looks like it's an issue with Logon As a Service Rights. I cannot change the settings due to company policy. I will contact IT support to get this change done.

     

    Thanks.

  • second_timothy Profile Picture
    8 on at

    I have the same problem. Using Win 10 pro. I'm trying to install with full local admin rights.

     

    I was able to add "everyone" to the secpol.msc log in as a service, but it didn't make a difference. Before adding "everyone" I hade this in there:
    NT SERVICE\ALL SERVICES

    NT SERVICE\UIFlowService

     

    Any other suggestions?

  • Aedu Profile Picture
    107 on at

    Hi all

    I have same issue with my Windows 10 computer.

    "NT Service\All Services" and "NT Service\UIFlowService" are already in the list among others.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard