none
Custom C++ program running on Windows 10 issue RRS feed

  • Question

  • We have a custom application that is C++ and runs fine on all PCs except for one. 

    On this one particular PC it requires admin privileges to run and I can not figure out why or how this is being triggered.

    We run on Windows 10 Enterprise and like I said this simple executable runs fine on all other computers. The moment file explorer loads up the directory it is located in, the system places the little blue and yellow shield over it.

    This app simply queries our AX database and loads the data into a PostgreSQL database. There are no system calls in it.

    Thanks.


    • Edited by BarryJSU Monday, November 4, 2019 2:29 PM
    Monday, November 4, 2019 2:23 PM

All replies

  • you can force a program to display the UAC shield symbol by changing the compatibility settings to "run as administrator". So perhaps the user did this?
    Monday, November 4, 2019 7:54 PM
  • Hi,

     

    You could select run this program in compatibility mode, and run compatibility troubleshooter.

     

    Meanwhile, you can monitor it with process monitor:

    https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

     

    It will tell you what files, directories the program wants to access or is trying to access, what registry the program is attempting to write to.

     

    You can attempt to give access to a standard user.

     

    Hope above information can help you.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, November 5, 2019 2:49 AM
  • Hi,

     

    Was your issue solved?

     

    If the reply helped you, please remember to mark it as an answer.

     

    If no, please reply and tell us the current situation in order to provide further help.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, November 7, 2019 8:40 AM