Can't run a service under local user account with no password (“logon failure”)
I'm trying to run a service under the local user instead of the default "Local System Account". The account has no password. I picked the user and left the password fields blank. When I press "Apply", the password is filled with asterisks; I don't know if it's just to obfuscate the field's contents or if it inserts some non-blank password (but I guess it's the former). But when I start this service, I get "logon failure". What's the problem, and how can I fix it?
windows windows-10 windows-services
add a comment |
I'm trying to run a service under the local user instead of the default "Local System Account". The account has no password. I picked the user and left the password fields blank. When I press "Apply", the password is filled with asterisks; I don't know if it's just to obfuscate the field's contents or if it inserts some non-blank password (but I guess it's the former). But when I start this service, I get "logon failure". What's the problem, and how can I fix it?
windows windows-10 windows-services
add a comment |
I'm trying to run a service under the local user instead of the default "Local System Account". The account has no password. I picked the user and left the password fields blank. When I press "Apply", the password is filled with asterisks; I don't know if it's just to obfuscate the field's contents or if it inserts some non-blank password (but I guess it's the former). But when I start this service, I get "logon failure". What's the problem, and how can I fix it?
windows windows-10 windows-services
I'm trying to run a service under the local user instead of the default "Local System Account". The account has no password. I picked the user and left the password fields blank. When I press "Apply", the password is filled with asterisks; I don't know if it's just to obfuscate the field's contents or if it inserts some non-blank password (but I guess it's the former). But when I start this service, I get "logon failure". What's the problem, and how can I fix it?
windows windows-10 windows-services
windows windows-10 windows-services
asked Dec 11 '18 at 9:51
Violet GiraffeViolet Giraffe
39721128
39721128
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This is controlled by a security policy. I encountered this a long time ago.
You could try creating a password for the account then enter the password in the service login dialogue. If this works then it's almost certainly the security policy.
Open gpedit.msc then go to Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options/Accounts: Limit local account use of blank passwords to console logon only.
Here you will probably see that it is enabled which will prevent using a blank password anywhere other than to logon to Windows. Your best solution is to create a Windows password which will obviously secure Windows too.
Welcome to SU. Better formatting your answers will make them much more readable (and popular).
– harrymc
Dec 11 '18 at 14:10
That did it, thank you very much!
– Violet Giraffe
Dec 11 '18 at 14:40
@harrymc I couldn't agree more. I had a brain spillage. Sorted now.
– Mark
Dec 11 '18 at 17:23
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382572%2fcant-run-a-service-under-local-user-account-with-no-password-logon-failure%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is controlled by a security policy. I encountered this a long time ago.
You could try creating a password for the account then enter the password in the service login dialogue. If this works then it's almost certainly the security policy.
Open gpedit.msc then go to Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options/Accounts: Limit local account use of blank passwords to console logon only.
Here you will probably see that it is enabled which will prevent using a blank password anywhere other than to logon to Windows. Your best solution is to create a Windows password which will obviously secure Windows too.
Welcome to SU. Better formatting your answers will make them much more readable (and popular).
– harrymc
Dec 11 '18 at 14:10
That did it, thank you very much!
– Violet Giraffe
Dec 11 '18 at 14:40
@harrymc I couldn't agree more. I had a brain spillage. Sorted now.
– Mark
Dec 11 '18 at 17:23
add a comment |
This is controlled by a security policy. I encountered this a long time ago.
You could try creating a password for the account then enter the password in the service login dialogue. If this works then it's almost certainly the security policy.
Open gpedit.msc then go to Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options/Accounts: Limit local account use of blank passwords to console logon only.
Here you will probably see that it is enabled which will prevent using a blank password anywhere other than to logon to Windows. Your best solution is to create a Windows password which will obviously secure Windows too.
Welcome to SU. Better formatting your answers will make them much more readable (and popular).
– harrymc
Dec 11 '18 at 14:10
That did it, thank you very much!
– Violet Giraffe
Dec 11 '18 at 14:40
@harrymc I couldn't agree more. I had a brain spillage. Sorted now.
– Mark
Dec 11 '18 at 17:23
add a comment |
This is controlled by a security policy. I encountered this a long time ago.
You could try creating a password for the account then enter the password in the service login dialogue. If this works then it's almost certainly the security policy.
Open gpedit.msc then go to Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options/Accounts: Limit local account use of blank passwords to console logon only.
Here you will probably see that it is enabled which will prevent using a blank password anywhere other than to logon to Windows. Your best solution is to create a Windows password which will obviously secure Windows too.
This is controlled by a security policy. I encountered this a long time ago.
You could try creating a password for the account then enter the password in the service login dialogue. If this works then it's almost certainly the security policy.
Open gpedit.msc then go to Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options/Accounts: Limit local account use of blank passwords to console logon only.
Here you will probably see that it is enabled which will prevent using a blank password anywhere other than to logon to Windows. Your best solution is to create a Windows password which will obviously secure Windows too.
edited Dec 11 '18 at 17:16
answered Dec 11 '18 at 12:27
MarkMark
262
262
Welcome to SU. Better formatting your answers will make them much more readable (and popular).
– harrymc
Dec 11 '18 at 14:10
That did it, thank you very much!
– Violet Giraffe
Dec 11 '18 at 14:40
@harrymc I couldn't agree more. I had a brain spillage. Sorted now.
– Mark
Dec 11 '18 at 17:23
add a comment |
Welcome to SU. Better formatting your answers will make them much more readable (and popular).
– harrymc
Dec 11 '18 at 14:10
That did it, thank you very much!
– Violet Giraffe
Dec 11 '18 at 14:40
@harrymc I couldn't agree more. I had a brain spillage. Sorted now.
– Mark
Dec 11 '18 at 17:23
Welcome to SU. Better formatting your answers will make them much more readable (and popular).
– harrymc
Dec 11 '18 at 14:10
Welcome to SU. Better formatting your answers will make them much more readable (and popular).
– harrymc
Dec 11 '18 at 14:10
That did it, thank you very much!
– Violet Giraffe
Dec 11 '18 at 14:40
That did it, thank you very much!
– Violet Giraffe
Dec 11 '18 at 14:40
@harrymc I couldn't agree more. I had a brain spillage. Sorted now.
– Mark
Dec 11 '18 at 17:23
@harrymc I couldn't agree more. I had a brain spillage. Sorted now.
– Mark
Dec 11 '18 at 17:23
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382572%2fcant-run-a-service-under-local-user-account-with-no-password-logon-failure%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown