View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019590 | MMW 5 | Install/Config | public | 2022-11-28 22:59 | 2023-09-28 20:13 |
Reporter | peke | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 5.0.5 | Fixed in Version | 5.1 | ||
Summary | 0019590: Service install fail with "error 1069: service fail to start due to login failure" | ||||
Description | Service install fail with "error 1069: service fail to start due to login failure" Looks like Windows changed policy to prevent users use local service to get illegal access to system files so Users are often by default revoked of that permission policy. to resolve this make sure that user is added in Local Security Policy (secpol.msc) -> Security Settings -> Local Polices ->User Rights Assignment -> In right side panel, double click to open policy "Log on as a service" and add Your user name to list of allowed. After that MM service will start to work normally even after Windows restart. Help page https://learn.microsoft.com/en-US/troubleshoot/windows-server/system-management-components/service-startup-permissions from (below dialog) do not help resolve the issue. Dialog needs to be changed to better explain where the problem is and point to our Help page. Suggested Dialog text would be: "Service fail to start due to a logon failure or User is not allowed to register Service." | ||||
Steps To Reproduce | Steps to reproduce/trigger: 1. Use Local Security Policy (secpol.msc) -> Security Settings -> Local Polices ->User Rights Assignment -> In right side panel, double click to open policy "Log on as a service" and add delete your username from allowed list. 2. After applying settings MM Service can not be started Using YOUR user credentials and Error 1069 will trigger. | ||||
Additional Information | https://www.roelvanlisdonk.nl/2010/03/24/how-to-grant-log-on-as-a-service-rights-to-an-user-account-using-powershell/ https://stackoverflow.com/questions/313831/using-powershell-how-do-i-grant-log-on-as-service-to-an-account https://stackoverflow.com/questions/25619112/how-do-i-fix-the-error1069-the-service-did-not-start-due-to-logon-failure | ||||
Tags | todoc-help | ||||
Fixed in build | 2800 | ||||
|
|
|
Aside from messaging the user when the service fails on restart, MM should probably also try to prevent the issue from occurring by either: a) Greying out the option if the user doesn't have appropriate rights b) Messaging the user on attempting to make the change if they don't have appropriate rights Media Server (xx) --------------------------- Install as service: insufficient rights! [Help] As to the message that appears on restart, we can probably use common strings: Media Server (xx) --------------------------- Start service: failed (insufficient rights)! [Help] Suggested redirect link: https://www.mediamonkey.com/mmw/upnp-service-failure |
|
Note that in my case (Windows 11 Home) the log-on failure haven't been caused by my account missing in "Log on as a service" but I realized that I need to use password for my Microsoft Account (as I forgot that my account is connected via MS account alhough I have just PIN set to log on into my account when starting computer). So it was another issue than the Peke's. With that in mind I guess we should really create our own KB article/wiki page (Rusty suggested link https://www.mediamonkey.com/mmw/upnp-service-failure ) where we will summarize possible reasons for the "Log on" failure. |
|
OK, so I redirected the [Help] button on the error dialog after the installing the service (0019590:0070452) from https://support.microsoft.com/en-gb/kb/327545 to https://www.mediamonkey.com/mmw/upnp-service-failure As for the wording changes suggested by Rusty: The log on failure isn't generally about unsifficient rights, once the user accepts UAC prompt to install the service then it has sufficient rights. I changed target to 5.0.5 so that the redirection to https://www.mediamonkey.com/mmw/upnp-service-failure gets active ASAP Assigned to create the corresponding KB and make the redirection from https://www.mediamonkey.com/mmw/upnp-service-failure to the KB article. The article example: When you install MediaMonkey as service (Options > MediaSharing > [Install as service]) and an error is occuring when starting the service then it is typically due to Log On failure. To resolve this: 1) Press WinKey and type 'Services', press Enter, locate 'MediaMonkey' service, double-click it and go to 'Log On' screen. Then ensure that the account and the password is correct. Note that if you previously connected your account to Microsoft Account then you will need to enter the password of the Microsoft Account. 2) In certain environments you will need to Enable service log on through a local group policy : https://learn.microsoft.com/en-us/system-center/scsm/enable-service-log-on-sm?view=sc-sm-2022#enable-service-log-on-through-a-local-group-policy 3) If you have still trouble to Log on to your current account then you can Log on with Local System account, but this will fail to connect database file from your current account. In that case you might need to change the default location of your MediaMonkey database: https://www.mediamonkey.com/support/knowledge-base/mediamonkey-install-config/modifying-the-mediamonkey-db-and-ini-files/ |
|
Added as: https://www.mediamonkey.com/support/knowledge-base/uncategorized/service-install-fail-with-error-1069-service-fail-to-start-due-to-login-failure/ |
|
Redirect has been updated (note: url changed to https://www.mediamonkey.com/support/knowledge-base/mma-install-config/upnp-service-install-fails/ ) |
|
Verified 2816 |