Software that runs as a service and updates itself problem.


  1. Posts : 2
    Windows 10
       #1

    Software that runs as a service and updates itself problem.


    Hello
    I work for a company that develops a software, that runs as a service and got auto update features.

    The software detects that its not the latests version. Downloads the updated exe file, stops the service, renames the old file, and finally renames the new updated exe file, and then launches it.

    it works perfectly when running as local system, however when starting the service as an AD service account, it will download the updated exe file, shutdown the service, rename the old exe, and finally rename the updated exe file, but it will not launch the service again. I have given the ad account the rights to start, stop, pause the service. It got full NTFS rights at the folder where the software are installed. Still no luck getting it to launch the new exe as the service again.

    However, if i allow local login to the service account and do login with it, it works fine just as running with local system.

    I dont know if my description made any sense, but if anyone has any ideas, why it does not work when the service account is not logged in, but does when its logged in as a user, i would gladly take them. I think its some kind of permission problem in windows, but can not find a way to fix it.

    /xdrive
      My Computer


  2. Posts : 8,114
    windows 10
       #2

    Welcome to the forum. Services login have you set in service it to login as local admin that's known to work?
      My Computer


  3. Posts : 2
    Windows 10
    Thread Starter
       #3

    Thanks for the welcome and answer. It works when i run it with a local account, like administrator. But not with an AD account even if it has administrator access.
      My Computer


  4. Posts : 8,114
    windows 10
       #4

    The 2 are linked if the service signs in with local then thats what its epecting you need to set the service to login with a domain account
      My Computer

  5.   My Computer


  6. Posts : 9,792
    Mac OS Catalina
       #6
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:45.
Find Us




Windows 10 Forums