Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Credentials for Windows Service

Credentials for Windows Service

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 237 Views
  • 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 Offline
    A Offline
    Agurtza
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved