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
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.
OK, once I set permissions to allow MODIFY rights to standard users, it finally worked!
Do I need to change permissions to allow users "Modify" rights to C:\Program Files\Microsoft Retail Management System\Headquarters\
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.
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
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.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,802 Super User 2024 Season 2
Martin Dráb 229,133 Most Valuable Professional
nmaenpaa 101,154