How to Delete Domain User Profile on Windows 11 [7 Ways]

Check out the safe ways to delete a domain profile from Windows 11

Reading time icon 7 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • Removing a domain profile completely disconnects it from the network.
  • It also erases the computerโ€™s files and settings from the profile.
  • In this guide, we have given some of the best solutions to remove the domain profile from your Windows 11 PC.
windows 11 release

If you are unsure how to delete a domain profile in Windows 11, then you have come to the right place. Because in this guide, we will share with you some of the best and safest ways to delete a domain profile in Windows 11.

User accounts are used by people to authenticate and access resources on a PC. Each user has a user account that is customized the way they want their PCs to be.

There are several instances where you may want to share your programs or documents with someone. Local accounts are stored on the computers, whereas the domain accounts or profiles are saved in Active Directory.

With a domain profile, you can configure the system to access the system and services that are part of the domain.

In this guide, we will learn about how you can delete a domain profile in Windows 11, and want are the effects of removing a domain profile from your PC are. Let us get right into it.

What happens when you remove the computer from the domain?

When you remove the computer from the domain or Active Directory, then it completely disables the domain account of your PC.

This means removing a computer from the domain removes it from the network. Moreover, the computer’s files and settings will also be erased.

The computer will no longer be able to connect to the network. Any files or folders that were shared with the computer will no longer be available.

How do I delete a domain profile?

1. Use the Settings app

  1. Press the Win + I buttons to open Settings.
  2. From the left side, select Accounts.
  3. Click on Family & other users on the right side.
  4. Locate the domain profile you wish to remove under the Other users section.
  5. Click on the Remove button to remove it.

2. Use Control Panel

  1. Open the Start menu.
  2. Search for Control Panel and open it.
  3. Click on User Accounts.
  4. Click on Remove user accounts.
  5. It will show you a list of accounts.
  6. Select the account that you wish to remove.
  7. Hit the Delete the account button.
  8. You can choose to either keep or delete the files.
  9. Click on Delete Account.

3. Use netplwiz

  1. Press the Win + R keys to open the Run dialogue.
  2. Type netplwiz and hit Enter.
  3. It will open the User Accounts window.
  4. Select the account that you wish to remove.
  5. Hit the Remove button.
  6. In the next pop-up that appears, select Yes to confirm the deletion.

4. Use Computer Management

  1. Open the Start menu.
  2. Search for Computer Management and open it.
  3. Expand System Tools.
  4. Expand the Local Users and Groups.
  5. Select the Users folder.
  6. Right-click on the domain profile your wish to remove from Windows 11.
  7. From the contextual menu, select Delete.

5. Use Command Prompt

  1. Open the Start menu.
  2. Search for Command Prompt and open it as an administrator.
  3. Type the below command and hit Enter. net user โ€œusernameโ€ /delete
    You need to replace the username with the actual username of the domain profile you wish to remove.
  4. The account will be immediately removed from your PC.

6. Use PowerShell

  1. Open the Start menu.
  2. Search for PowerShell and open it.
  3. Type the below command and press Enter. Remove-LocalUser -Name โ€œusernameโ€
    You need to replace the username with the username of the domain profile you wish to remove from your Windows 11 PC.
  4. The account will be removed from your PC.

How do I rejoin a computer to a domain?

A domain-based network provides the option to centralize the administration of the entire network using a single computer.

Domains allow a computer to log on to any network computer within the network perimeter. Users also get to access permissible resources.

In order to join a domain, you need to have the below details:

  • A Windows 11 PC running Professional, Enterprise, or Education
  • A suitable account on an Active Directory domain having a username and password
  • The device is connected to the same network as the domain with access to the domain controller

Now that you have all the information mentioned above, you are all set to join your computer to a domain. Below are the steps that you need to join a Windows 10 or 11 PC to a domain:

  1. Open the Start menu.
  2. Search for Settings and open it.
  3. On the left side, click on Accounts.
  4. Click on Access work or school.
  5. Next to Add a work or school account, click Connect.
  6. Click on the Join this device to a local Active Directory domain option.
  7. In the next prompt, type the domain name.
  8. Click Next.
  9. Joining the device to the domain requires you to enter the credentials that your network admin has provided you if any.
  10. In the next Add an account, click Skip.
  11. Your account will get set up in the Active Directory.
  12. Restart your PC.
  13. In the login screen, enter the domain account credentials to access it.
  14. After you have logged in, head to Settings > Accounts > Access work or school again. Here you can check if you have connected to the domain or not.

Following the above steps, you can easily connect your computer to a domain. Notably, these steps are for Windows 11 PC, and it may vary if you are using Windows 10 or a lower version.

How to leave a domain in Windows 11?

  1. Open the Settings window.
  2. Select Accounts from the left side.
  3. Click on Access work or school.
  4. Click on the drop-down arrow for Add a work or school account.
  5. Hit the Disconnect button.
  6. You will be asked to confirm the action.
  7. Press Yes, then Disconnect.
  8. Restart the PC.

If you have followed the above steps carefully, then you will be able to join a domain on your Windows 11 PC in no time. And the steps to leave a domain are also clearly mentioned, so you don’t have to look for the process elsewhere.

Delete domain profile Windows 10/11 greyed out?

You will find multiple search queries where Windows 11 and 10 users have reported that the option to delete the domain profile is greyed out for them.

This is a bit serious because it does not allow you to remove the domain profile from your computer. If you are also experiencing the same issue, we have a solution that will help you delete the domain profile.

It is also one of the ways via which you can delete the domain profile apart from the 6 methods that we have mentioned above. So, consider this as the seventh solution to delete a domain profile from your Windows 10 or 11 PC.

Note icon NOTE
This solution contains steps that describe how to modify the registry. Serious problems can occur if you modify the registry incorrectly. So, we would advise you to follow these steps carefully. You can back up the registry before modifying it and move ahead with the solution only if you are okay with it.
  1. Open the Start menu.
  2. Type regedit and open the Registry Editor.
  3. Navigate to the following registry subkey. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  4. In the navigation pane, find the folder that starts with S-1-5 (SID key) followed by a long number.
  5. You need to click each S-1-5 folder.
  6. Now find the ProfileImagePath entry in the details pane.
  7. Double-click to make sure this is the user account profile that has an error for which the domain profile delete option isn’t visible.
  8. Right-click the SID you want to remove.
  9. Click Delete.

This is a solution that has been advised by one of the independent advisors and has helped users resolve the delete button greyed out while deleting a domain profile issue.

That is it from us in this guide. We hope that you were able to safely remove the domain profile from your Windows 11 PC, using the seven methods mentioned above.

Let us know in the comments below which one of the above solutions is the one you went ahead to delete the domain profile.

More about the topics: Windows 11

User forum

0 messages