[Idea] Explain the "incorrect user name or password" error when the server and a computer share the same machine SID
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 50/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp
- Domain
- authentication, documentation
Research direction
Start from the README troubleshooting section and the F1 help content, then look at where the Options > Credentials > Test error 1326 message is shown, since the issue quotes its exact wording. Confirm the cause in the issue's Security log description (event 4625, status 0xC000006D) before writing. Done means a short entry saying that a server and a computer must not share a machine SID and that cloned computers need sysprep /generalize, with the lockout risk noted. Agree the optional message hint with the maintainer before changing code.
Written by the indexing model from the issue text.
Description
The need
An administrator who builds the DeployCraft server and a test computer by cloning the same virtual machine or image (without sysprep /generalize) gets, in Options › Credentials › Test, "refused by PC-TEST-01: the user name or password is incorrect" (error 1326), even with the right password. Nothing points to the real cause, and the failed attempts count towards the account lockout threshold, so people keep retrying.
What was observed
- The server and the computer had the same machine SID (the part of the SID before the final RID is identical).
- DeployCraft's own Test button gave the message above with the original account. A brand new local administrator account, created seconds earlier with a known random password, was refused the same way, both by
net use \\PC-TEST-01\ADMIN$ /user:PC-TEST-01\accountand by a script making the same calls as the credential test (LogonUserwithLOGON32_LOGON_NEW_CREDENTIALS, then listing\\PC-TEST-01\ADMIN$). - On the computer, each attempt left this signature in the Security log and nothing else: event 4672 (special privileges assigned), then event 4625 with status
0xC000006D/ sub status0x0, then event 4634, without any event 4624. A really wrong password gives 4625 with sub status0xC000006A. - After reinstalling the computer from the Windows media (new machine SID), the same account and the same password worked on the first try, with
net useand with DeployCraft.
Your idea
- Add a short troubleshooting entry (README, help F1) saying that a server and a computer must not share a machine SID, and that cloned computers need
sysprep /generalize. - Optionally, when the test of a local account fails with error 1326, add a hint to the message: "If this computer was cloned from the same image as the server, they may share a machine SID."
- Optionally, show a warning when a credential is tested several times in a row, to avoid the lockout.
Current workaround
Reinstall the computer from the Windows media, or generalise the clone with sysprep so that it gets a new SID.
— chromozone21 (written with Claude Code)
- Dominant language
- C#
- Stars
- 0
- Forks
- 1
- Avg merge
- 4h 38m
- Merged PRs (30d)
- 87
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vzeol/DeployCraft
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
vzeol/DeployCraft#125 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
vzeol/DeployCraft#127 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 30/100
vzeol/DeployCraft#120 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
vzeol/DeployCraft#106 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
vzeol/DeployCraft#14 ·
Maintainers usually reply within 1 day
All issues in vzeol/DeployCraft
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
KnifeLemon/Filee#363 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
area-Native untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
dotnet/machinelearning#7837 ·
Maintainers usually reply within 2 days
-
[CI] .trgen-ignore required for several grammars.Possibly taken @kaby76 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
antlr/grammars-v4#5073 ·
Maintainers usually reply within 1 day
-
[Enhancement]: Add a search box to the Time Zone dropdownPossibly taken @idumlupinar claimed this today. OpenStatus: New
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
dnnsoftware/Dnn.Platform#7579 ·
Maintainers usually reply within 2 days