On Windows 10, if you share your device with other people, it’ll come the time when they’ll no longer need access to their account. In this case, the Settings app include an option that you can use to properly delete user accounts along with the user’s data.
How to delete a Windows 10 account
Whether the user is using a local account or Microsoft account, you can remove a person’s account and data on Windows 10, use the following steps:
Click on Accounts.
Click on Family & other people.
Select the account.
Click the Delete account and data button.
Once you’ve completed the steps, the person’s account and data will be removed from your PC, including those items on their desktop, downloads, documents, photos, music, and any other file.
It should be noted that you can’t use these steps to delete your account while you’re signed in. If you want to start fresh with a new account, first create a new Windows 10 account, and then delete the old account.