Post Reply 
Updating to 2.2 from 2.1 that is a Windows Service doesn't work
18-02-2023, 17:51 (This post was last modified: 18-02-2023 18:09 by alleeiv.)
Post: #4
RE: Updating to 2.2 from 2.1 that is a Windows Service doesn't work
(15-01-2023 10:26)simoncn Wrote:  Thanks for reporting this. Please describe how you have configured MinimServer to run as a Windows service so that I can investigate the cause of this error.

For random reasons, I was thinking about this bug as I was walking around my neighborhood, and remembered the Windows Service runs under a special account with limited access, "NT Service\MinimService". This account didn't have write access to the directory where MinimServer is stored, "C:\Program Files\MinimServer"

Strangely, it also didn't appear to have read and execute privileges for this folder either, based on the "effective access" tab in the Properties>security>advanced tab for the folder, though the service ran fine. "All application packages" and "All Restricted Application Packages" also had read and execute authorization to the folder, so maybe that is why the service ran.

Anyway, I suspect the reason the 2.2 update didn't work was because the service didn't have authorization to write to the directory where minimserver is stored.

My usually login account has admin privileges, so that is likely why running minimserver in that account and upgrading worked. I have added the minimservice account to the list of accounts with write privileges (actually, full privileges) for that directory and the minimwatch directory, so hopefully upgrades using the service will work in the future.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Updating to 2.2 from 2.1 that is a Windows Service doesn't work - alleeiv - 18-02-2023 17:51

Forum Jump:


User(s) browsing this thread: 1 Guest(s)