Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Credentials for Windows Service

    Installation and Deployment
    1
    1
    81
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Agurtza last edited by

      Hi!!

      I have an application in Qt that generates the Mykey key in the Windows registry at HKEY_CURRENT_USER\Software\MyCompany\MyApp\ to communicate with a Windows service. (I can't find a way to generate that key in another location)

      On the other hand, I have a Windows Service(MSVS 2019 C#) that must read that same key, for which it is necessary to install it as User, log in with credentials.
      If I set it as 'Local System Account' it tries to read the key from HKEY_USERS\Software\MyCompany\MyApp, and it doesn't exist there.

      With the QTIFW I prepare the installation of the Qt Program and the Windows Service, but I have no way of knowing the password of the user's credentials.

      Any ideas to do it? Or another possible solution?

      Thank you

      1 Reply Last reply Reply Quote 0
      • First post
        Last post