Skip to main content

Notifications

Microsoft Dynamics RMS forum

RMS Headquarters Client will not run at startup on Windows 7 (UAC?)

Posted on by 85

I have Dynamics RMS Headquarters Client installed on Windows 7 32bit. I am trying to configure HQ Client to run automatically at startup. I have added it to the All Users Startup folder, added it HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run, etc. The only way it will work is if I disable UAC. Isn't there a way to get it to start when the user logs in without completely disabling User Account Control?

*This post is locked for comments

  • Verified answer
    Sarkmo Profile Picture
    Sarkmo 85 on at
    Re: RMS Headquarters Client will not run at startup on Windows 7 (UAC?)

    This is counterintuitive because the user who is logging in is a member of the local Admin group. But since we are specifying to start the program as a standard user, and "As invoker", it does not run with elevation and thus fails to write to the log file!

    Now I understand....... THANKS for your help. This problem has been solved.

  • Sarkmo Profile Picture
    Sarkmo 85 on at
    Re: RMS Headquarters Client will not run at startup on Windows 7 (UAC?)

    OK, once I set permissions to allow MODIFY rights to standard users, it finally worked!

  • Sarkmo Profile Picture
    Sarkmo 85 on at
    Re: RMS Headquarters Client will not run at startup on Windows 7 (UAC?)

    Do I need to change permissions to allow users "Modify" rights to C:\Program Files\Microsoft Retail Management System\Headquarters\

  • Sarkmo Profile Picture
    Sarkmo 85 on at
    Re: RMS Headquarters Client will not run at startup on Windows 7 (UAC?)

    Yes, I did have it set to Run as Adminstrator. I made the change you specified, but now I receive the following error:

    In fact, however I try to start HQ Client, be it from the shortcut, from the Start Menu, from the .exe file,  I receive this error.

  • Re: RMS Headquarters Client will not run at startup on Windows 7 (UAC?)

    Hello Sarkmo,

    Thanks for the update.

    Which flavor of Windows 7 are you using?

    Do you have the shortcut configured to Run As an Administrator? If so, please disable it.

    1. Right click on the shortcut to HQ Client that has been placed in your startup folder

    2. Click the Compatibility tab

    3. Uncheck "Run this program as an administrator"

     

    Let us know if that helps or if you have any other questions

  • Sarkmo Profile Picture
    Sarkmo 85 on at
    Re: RMS Headquarters Client will not run at startup on Windows 7 (UAC?)

    That did not work either. UAC is set to Default - Notify me only when programs try to make changes to my computer. This is the modified manifest file after I changed it to "AsInvoker"

    <?xml version="1.0" encoding="UTF-8"?>

    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">

      <security>

         <requestedPrivileges>

            <requestedExecutionLevel level="AsInvoker"></requestedExecutionLevel>

         </requestedPrivileges>

      </security>

    </trustInfo>

    </assembly>

    Again, once I remove UAC (set it to Never Notify) the HQ Client automatically starts upon login.

  • Re: RMS Headquarters Client will not run at startup on Windows 7 (UAC?)

    Hello Sarkmo,

    Thank you for your questions.

    Have you tried modifying the HQ Client Manifest file?

     

    1. Navigate to %:\Program Files\Microsoft Retail Management System\Headquarters Client

    2. Open HQCLIENT.exe.manifest in Notepad or similar text editor

    3. locate this line:

    <requestedExecutionLevel level="requireAdministrator"></requestedExecutionLevel>

    4. Set requestedExecutionLevel to AsInvoker

    <requestedExecutionLevel level="AsInvoker"></requestedExecutionLevel>

     

    Let us know if that helps or if you have any other questions.

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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,133 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans