This article should help.
Microsoft Account Sign-in Assistant Error 0x80070005 and 1297
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
On Windows 11 (Version 24H2 OS Build 26100.6899), the Microsoft Account Sign-In Assistant service is permanently stopped.
Things I've done:
Automatic and restarted my computerwlidsvc registry key from SYSTEM to TrustedInstallersc sdset wlidsvc …I suspect a corrupted identity service registration or system policy interference, but I'm not sure.
I've been trying to play Minecraft, but Minecraft needs to log in with Microsoft, and I quite literally can't sign in with Microsoft.
Answer accepted by question author
This article should help.
Microsoft Account Sign-in Assistant Error 0x80070005 and 1297
Hello Kandan Lai,
Thank you for contacting Microsoft Q&A Forum.
I understand you’re encountering a critical issue where the Microsoft Account Sign-In Assistant service (wlidsvc) cannot start, returning System error 5: Access is denied on Windows 11 24H2. I appreciate the very detailed troubleshooting steps you’ve already taken.
You are correct in your suspicion. Since DISM and sfc /scannow found no integrity violations, this is almost certainly a security permission (Permissions) issue. Error 5 means the service is being denied access to a resource it needs to run.
So, you can try my suggestions below to correct this:
Solution 1: Verify Service Logon Account (Critical Step)
This is the most common cause for Error 5 on this specific service. It must not run as "Local System".
Windows + R, type services.msc, and press Enter.NT SERVICE\wlidsvc. If it is set to "Local System" or anything else, this is the error.NT SERVICE\wlidsvc in the box, and delete everything from both the "Password" and "Confirm password" fields.Solution 2: Reset Default Service Security Descriptor
Since you already tried sc sdset, let's run the definitive command to restore the default security permissions (DACL) for this service.
sc sdset wlidsvc D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CR;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;NS)[SC] SetServiceObjectSecurity SUCCESS.If steps 1 and 2 fail, the service permissions or related identity components are too corrupted to fix manually. The safest and most effective solution is an in-place upgrade.
This will reinstall Windows 11 while keeping all your personal files, apps, and settings. It rebuilds all system services and permissions to their correct state.
setup.exe from the mounted ISO).wlidsvc failure.The issue you are facing involves complex system security descriptors. If the in-place upgrade does not resolve the problem, this indicates a deep-seated profile or registry issue.
At that point, I strongly recommend contacting Microsoft Support directly via Customer service phone numbers - Microsoft Support. This issue may require real-time remote assistance from a support engineer to safely restore identity services.
Best Regards.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.