Disable Microsoft Account Sign-in Assistant (breaks Microsoft Store and Microsoft Account sign-in)
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Windows onlyThis script improves your privacy on Windows
- Impact: MediumSystem Functionality Loss Risk: Moderate
This action improves privacy with minimal impact when you run the recommended script.
This action improves privacy with some impact when you run the recommended script. - Batch (batchfile)These changes use Windows system commands to update your settings.
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script disables the Microsoft Account Sign-in Assistant (wlidsvc
) service.
This service helps users sign in with their Microsoft account, giving access to Microsoft's services and apps 1 2.
This service connects with Microsoft's cloud for authentication 3. Formerly known as the "Microsoft Windows Live ID Service", it supported sign-ins for applications such as Office and Windows Live Messenger 4. Currently, it uses Microsoft Entra (formerly Azure AD 5) as identity service 6 7. It's used to facilitate creation of primary identifier Microsoft use for devices 8
Disabling this service prioritizes user privacy by limiting data sharing with Microsoft but necessitates a trade-off regarding certain convenience features and system capabilities.
While Microsoft indicates this service can be safely disabled, 1 doing so may impact essential features and functionalities 3.
- Microsoft Sign-in: Disabling this service prevents users from signing into the computer with their Microsoft account 2 8. It also affects scenarios requiring user action for completion 6. For instance, users might not see the Microsoft Entra sign-in option 6 7 9, leading to the creation of a local account instead 6 7.
- Windows Autopilot: Windows Autopilot is a set of technologies used by IT departments to set up and pre-configure new devices 9. It requires this service to retrieve the Windows Autopilot profile 10.
- Microsoft Store:
On Windows 11 and Windows 10, failure messages may appear, indicating a break in functionality 11.
Known error messages include
PUR-AuthenticationFailure v3ZtcNH7IECS00iL.36.1
,0x800706d9
, and0x800704cf
11. - Feature Updates: Feature updates, which add new functionalities to Windows 12, will not be offered 3 13 14 15 16. Disabling this service disrupts feature updates by impacting Subscription Activation (license authentication) 16.
Overview of default service statuses
OS Version | Status | Start type |
---|---|---|
Windows 10 (≥ 22H2) | 🔴 Stopped | Manual |
Windows 11 (≥ 23H2) | 🔴 Stopped | Manual |
This script is only recommended if you understand its implications.
Some non-critical or features may no longer function correctly after running this script.
This script can be fully reversed to restore changes if something goes wrong.
Sources
- Security guidelines for system services in Windows Server 2016. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/windows-server/security/windows-services/security-guidelines-for-disabling-system-services-in-windows-server
Archived: https://web.archive.org/web/20240218231654/https://learn.microsoft.com/en-us/windows-server/security/windows-services/security-guidelines-for-disabling-system-services-in-windows-server#microsoft-account-sign-in-assistant - Microsoft Account Sign-in Assistant - Windows 10 Service - batcmd.com. batcmd.com. (2024).
Original: https://batcmd.com/windows/10/services/wlidsvc
Archived: https://web.archive.org/web/20240218232041/https://batcmd.com/windows/10/services/wlidsvc/ - Manage connections from Windows 10 and Windows 11 Server/Enterprise editions operating system components to Microsoft services - Windows Privacy. Microsoft Learn. (2023).
Original: https://learn.microsoft.com/en-us/windows/privacy/manage-connections-from-windows-operating-system-components-to-microsoft-services
Archived: https://web.archive.org/web/20230911110911/https://learn.microsoft.com/en-us/windows/privacy/manage-connections-from-windows-operating-system-components-to-microsoft-services#12-microsoft-account - What Are WLIDSVC.EXE and WLIDSVCM.EXE and Why Are They Running?. howtogeek.com. (2024).
Original: https://www.howtogeek.com/30348/what-are-wlidsvc.exe-and-wlidsvcm.exe-and-why-are-they-running
Archived: https://web.archive.org/web/20240219000506/https://www.howtogeek.com/30348/what-are-wlidsvc.exe-and-wlidsvcm.exe-and-why-are-they-running/ - New name for Azure Active Directory - Microsoft Entra. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/entra/fundamentals/new-name
Archived: https://web.archive.org/web/20240218232515/https://learn.microsoft.com/en-us/entra/fundamentals/new-name - Device restriction settings for Windows 10/11 in Microsoft Intune. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/mem/intune/configuration/device-restrictions-windows-10
Archived: https://web.archive.org/web/20240120200946/https://learn.microsoft.com/en-us/mem/intune/configuration/device-restrictions-windows-10#search - Windows Autopilot for pre-provisioned deployment. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/autopilot/pre-provision
Archived: https://web.archive.org/web/20240218234642/https://learn.microsoft.com/en-us/autopilot/pre-provision#user-flow - Manually configuring devices for Update Compliance - Windows Deployment. Microsoft Docs. docs.microsoft.com. (2021).
Original: https://docs.microsoft.com/en-us/windows/deployment/update/update-compliance-configuration-manual
Archived: https://web.archive.org/web/20211129073326/https://docs.microsoft.com/en-us/windows/deployment/update/update-compliance-configuration-manual#required-endpoints - Overview of Windows Autopilot. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/autopilot/windows-autopilot
Archived: https://web.archive.org/web/20240218234541/https://learn.microsoft.com/en-us/autopilot/windows-autopilot - Windows Autopilot policy conflicts. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/autopilot/policy-conflicts
Archived: https://web.archive.org/web/20240218235057/https://learn.microsoft.com/en-us/autopilot/policy-conflicts - [BUG]: Running the script broke Windows Store login; unable to install any Store apps due to error 0x800704cf · Issue #100 · undergroundwires/privacy.sexy. github.com. (2024).
Original: https://github.com/undergroundwires/privacy.sexy/issues/100
Archived: https://web.archive.org/web/20240218233743/https://github.com/undergroundwires/privacy.sexy/issues/100 - Windows client updates, channels, and tools - Windows Deployment. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/windows/deployment/update/get-started-updates-channels-tools
Archived: https://web.archive.org/web/20240218233355/https://learn.microsoft.com/en-us/windows/deployment/update/get-started-updates-channels-tools#types-of-updates - Windows 10 feature updates not offered on Intune-managed devices - Intune. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/troubleshoot/mem/intune/device-configuration/windows-feature-updates-never-offered
Archived: https://web.archive.org/web/20240219000354/https://learn.microsoft.com/en-us/troubleshoot/mem/intune/device-configuration/windows-feature-updates-never-offered - Configure feature updates policy for Windows 10 Windows 11 devices in Intune. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/mem/intune/protect/windows-10-feature-updates
Archived: https://web.archive.org/web/20240218235145/https://learn.microsoft.com/en-us/mem/intune/protect/windows-10-feature-updates - Windows Update issues troubleshooting - Windows Client. Microsoft Learn. (2024).
Original: https://learn.microsoft.com/en-us/troubleshoot/windows-client/deployment/windows-update-issues-troubleshooting
Archived: https://web.archive.org/web/20240218235015/https://learn.microsoft.com/en-us/troubleshoot/windows-client/deployment/windows-update-issues-troubleshooting#feature-updates-arent-being-offered-while-other-updates-are - Accounts Policy CSP - Windows Client Management. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-accounts
Archived: https://web.archive.org/web/20240218233634/https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-accounts#allowmicrosoftaccountsigninassistant
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Disable Microsoft Account Sign-in Assistant (breaks Microsoft Store and Microsoft Account sign-in)" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Disable Microsoft Account Sign-in Assistant (breaks Microsoft Store and Microsoft Account sign-in)" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the script name: Disable Microsoft Account Sign-in Assistant (breaks Microsoft Store and Microsoft Account sign-in)
- Check the script by clicking on the checkbox.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
- Apply
- Revert
:: Disable service(s): `wlidsvc`
PowerShell -ExecutionPolicy Unrestricted -Command "$serviceName = 'wlidsvc'; Write-Host "^""Disabling service: `"^""$serviceName`"^""."^""; <# -- 1. Skip if service does not exist #>; $service = Get-Service -Name $serviceName -ErrorAction SilentlyContinue; if(!$service) { Write-Host "^""Service `"^""$serviceName`"^"" could not be not found, no need to disable it."^""; Exit 0; }; <# -- 2. Stop if running #>; if ($service.Status -eq [System.ServiceProcess.ServiceControllerStatus]::Running) { Write-Host "^""`"^""$serviceName`"^"" is running, stopping it."^""; try { Stop-Service -Name "^""$serviceName"^"" -Force -ErrorAction Stop; Write-Host "^""Stopped `"^""$serviceName`"^"" successfully."^""; } catch { Write-Warning "^""Could not stop `"^""$serviceName`"^"", it will be stopped after reboot: $_"^""; }; } else { Write-Host "^""`"^""$serviceName`"^"" is not running, no need to stop."^""; }; <# -- 3. Skip if already disabled #>; $startupType = $service.StartType <# Does not work before .NET 4.6.1 #>; if (!$startupType) { $startupType = (Get-WmiObject -Query "^""Select StartMode From Win32_Service Where Name='$serviceName'"^"" -ErrorAction Ignore).StartMode; if(!$startupType) { $startupType = (Get-WmiObject -Class Win32_Service -Property StartMode -Filter "^""Name='$serviceName'"^"" -ErrorAction Ignore).StartMode; }; }; if ($startupType -eq 'Disabled') { Write-Host "^""$serviceName is already disabled, no further action is needed"^""; Exit 0; }; <# -- 4. Disable service #>; try { Set-Service -Name "^""$serviceName"^"" -StartupType Disabled -Confirm:$false -ErrorAction Stop; Write-Host "^""Disabled `"^""$serviceName`"^"" successfully."^""; } catch { Write-Error "^""Could not disable `"^""$serviceName`"^"": $_"^""; }"
Ijo6IFJlc3RvcmUgc2VydmljZShzKSB0byBkZWZhdWx0IHN0YXRlOiBgd2xpZHN2Y2BcblBvd2VyU2hlbGwgLUV4ZWN1dGlvblBvbGljeSBVbnJlc3RyaWN0ZWQgLUNvbW1hbmQgXCIkc2VydmljZU5hbWUgPSAnd2xpZHN2Y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pcyBhbHJlYWR5IHJ1bm5pbmcsIG5vIG5lZWQgdG8gc3RhcnQuXCJeXCJcIjsgfTsgfVwiIg==
Help
How to apply or restore "Disable Microsoft Account Sign-in Assistant (breaks Microsoft Store and Microsoft Account sign-in)" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1
Open Command Prompt
Open Command Prompt as Administrator. - 2
Copy code
Copy the code: - 3
Paste & run
Paste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.These plans combine multiple privacy settings, including this one, for stronger protection.
- Disable non-essential services
- Remove bloatware
This category contains scripts designed to enhance privacy by disabling system services that are not essential for your operating system's core functions...
Same Goal
Other guides in Disable non-essential services See settings that are in the same category as this guide.Using other actions in the same category may help you achieve your goal better.
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
- Audited and verified using automated security tests
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
- Audited and verified using third-party security software
History
We continually monitor our guides, their impact and other potential privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.