question

Woky88-1831 avatar image
0 Votes"
Woky88-1831 asked Woky88-1831 answered

Unlink Microsoft account in Windows 10 from cmd or powershell command

I want to know what would be the possible command to disconnect Microsoft account in Windows 10 from a cmd or powershell console.

That is to say the same thing that I do manually by pressing the "Disconnect" button in the following image, but launching an internal command that could be saved in a .bat or powershell.

133725-0df2b298-1589-4db4-a04d-d0516f3d4cc7.png


windows-10-security
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hi there,

Yes you can, can you give it a try the below steps
Press the Windows key + R to open the Run box. Type netplwiz and press Enter. If prompted by UAC, then click Yes.
Check the “Users must enter a user name and password to use this computer” box. When this box is unchecked, the user list below and the Remove button will be greyed out.
Highlight the user account you want to delete and click on Remove
Click Yes to confirm your account removal

Hope this answers all your queries, if not please do repost back.
If an Answer is helpful, please click "Accept Answer" and upvote it : )

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Woky88-1831 avatar image
0 Votes"
Woky88-1831 answered

Hello there,


No, this box that opens with this command that you mentioned is for local users of the system, what I want is to disconnect a microsoft email account through some existing command by cmd or powershell

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.