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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

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

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Trent Bourgois Profile Picture
    on at

    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.

  • Sarkmo Profile Picture
    85 on at

    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.

  • Trent Bourgois Profile Picture
    on at

    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
    85 on at

    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.

  • Sarkmo Profile Picture
    85 on at

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

  • Sarkmo Profile Picture
    85 on at

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

  • Verified answer
    Sarkmo Profile Picture
    85 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans