Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
liu
Regular Visitor

Problem installing on-premise gateway

We are running into issue installing on-premise gateway on a new server running Windows 2012 R2.

 

Below is the error from the log:

 

CustomAction StartServiceToCreateUser returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

Action ended 12:34:16: StartServiceToCreateUser. Return value 3.

 

Our service account has admin privilege on the server, and we tried Running as Administrator to no avail. Has anyone run into the issue and has a solution?

 

Thanks in advance.

1 ACCEPTED SOLUTION
liu
Regular Visitor

Update:

 

I followed the suggestion of other posts and added NT SERVICE\ALL Services as an administrator on the server, and was able to install the enterprise gateway successfully without issue.

View solution in original post

5 REPLIES 5
liu
Regular Visitor

Update:

 

I followed the suggestion of other posts and added NT SERVICE\ALL Services as an administrator on the server, and was able to install the enterprise gateway successfully without issue.

v-yuta-msft
Community Support
Community Support

Hi liu,

 

Have you installed old version before? If you have, you should uninstall the old version completely before install the latest version. In addtion, sometimes you should restart the server to make on-premises data gateway be installed completely.

 

Regards,

Jimmy Tao

This was a brand-new server and brand-new installation. Also, I did try re-starting it to no avail.

 

Hi liu,

 

Please try to run the installer with the admin grant and check if it can work.

 

You may receive error 1603 message if any one of the following conditions is true, please check them:

  • Windows Installer is attempting to install an app that is already installed on your PC.
  • The folder that you are trying to install the Windows Installer package to is encrypted.
  • The drive that contains the folder that you are trying to install the Windows Installer package to is accessed as a substitute drive.
  • The SYSTEM account does not have Full Control permissions on the folder that you are trying to install the Windows Installer package to. You notice the error message because the Windows Installer service uses the SYSTEM account to install software.

To resolve this problem, do any one of the following, depending on the cause of the problem:

  • Check if the app is already installed on the PC. If so, uninstall and reinstall the app. 
    If you previously had a desktop shortcut for an app, the shortcut may have been lost during the upgrade to Windows 10. In such cases, the app is likely still installed on the PC, resulting in this error when you attempt to reinstall the app. You can restore the shortcut by searching for the app, and if it's found, press and hold (or right-click) the app and select Pin to Start. Or you can resolve the issue by uninstalling and then reinstalling the app. To search for and uninstall apps in Windows 10:
    1. On the Start menu, select Settings.
    2. In Settings, select System > Apps & features.
    3. If the app is listed then this is, select it and then select Uninstall.
    4. Follow the directions on the screen.
  • Install the package to a folder that is not encrypted.
    Use this method if you receive the error message because you try to install the Windows Installer package to a folder that is encrypted.
  • Install the package to a drive that is not accessed as a substitute drive.
    Use this method if you receive the error message because the drive that contains the folder that you try to install the Windows Installer package to is accessed as a substitute drive.
  • Grant Full Control permissions to the SYSTEM account. 
    Use this method if you receive the error message because the SYSTEM account does not have Full Control permissions on the folder you are installing the Windows Installer package to. 

    To grant Full Control permissions to the SYSTEM account, follow these steps:
    1. Open File Explorer (or Windows Explorer), right-click the drive that you want to install the Windows Installer package to, and then click  Properties.
    2. Click the Security tab. Verify that the Group or user names box contains the SYSTEM user account. If the SYSTEM user account doesn't appear in the box, follow these steps to add the SYSTEM account:
      1. Click Edit. If prompted, approve the User Account Control.
      2. Click Add. The Select Users or Groups dialog box appears.
      3. In the Enter the object names to select field, type SYSTEM, and then click Check names.
      4. Click OK.
    3. To change permissions, click Edit. If prompted, approve the User Account Control.
    4. Select the SYSTEM user account, and verify in the Permissions section that Full Control is set to Allow. If not, select the Allow check box.
    5. Close the Permissions dialog and return to the Properties dialog. Click Advanced.
    6. Select Change permissions. If prompted, approve the User Account Control.
    7. In the Permissions tab, select the SYSTEM entry and click Edit.
    8. Click the Applies to dropdown and select This folder, subfolder and files. Click OK.
    9. Wait for the operating system to apply the permissions that you have selected to all child folders.
    10. Run the Windows Installer package.

 

If any if the solutions above can't solve your issue, please create a support ticket here to achieve further support.

 

Regards,

Jimmy Tao

Thanks for your responses, Jimmy. Our issue persists; I'll go ahead and create a support ticket. Thank you.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors