Removing a domain user account from a Windows 10 domain joined workstation requires a few steps to ensure that the process is completed properly and fully. This is useful if you are re-deploying the computer to a new user and want to remove any data left behind from any previous users. This article outlines the steps required to remove a domain user account from a Windows 10 domain joined workstation.
Step 1: Log in as a Local Administrator
Before you can remove a domain user account, you must first log in as a local administrator on the workstation. This can be done by selecting the "Local Account" option on the login screen and entering the username and password of a local administrator account.
Step 2: Remove the User Account from the Local Administrators Group
Once you have logged in as a local administrator, you must remove the domain user account from the local administrators group on the workstation. This can be done by following these steps:
Open the Control Panel and select "User Accounts".
Select "Manage User Accounts".
Select the domain user account you want to remove and click "Remove".
Click "Yes" to confirm the removal.
Or
Launch Computer Manage by clicking Start, type compmgmt.msc and hit Enter.
From the left window pane, expand Local Users and Groups and on the right double-click the Administrators group.
Step 3: Delete the User Profile
After you have removed the domain user account from the local administrators group, you must delete the user profile associated with the account. This can be done by following these steps:
Open the Control Panel and select "System".
Click on "Advanced system settings".
Under the "User Profiles" section, click on "Settings".
Select the domain user account you want to remove and click "Delete".
Click "Yes" to confirm the deletion.
Delete the Registry Entries
The next step is to delete the registry entries that correspond to the user account you want to delete. Removing a user profile following the steps above SHOULD remove the associated registry keys related to their account, but it's prudent to confirm the keys were actually removed. To do this, follow these steps:
Press the Windows key + R to open the Run dialog box.
Type "regedit" (without the quotes) and press Enter to open the Registry Editor.
Navigate to the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
In the left pane of the Registry Editor, locate the key that corresponds to the user account you want to delete. The key name will be a long string of letters and numbers, followed by the user account name.
Right-click on the key and select "Delete."
Confirm that you want to delete the key.
Repeat steps 4-6 for any other keys that correspond to the user account you want to delete.
Step 4: Reboot Your Computer
After deleting the user profile folder and registry entries, it's important to reboot your computer. This will ensure that any changes you made to the registry are fully applied. To reboot your computer, simply click on the Start menu, then click on the power icon, and select "Restart."
In conclusion, removing a domain profile from a Windows 10 workstation requires deleting the user profile folder and the corresponding registry entries. It's important to create a backup of the registry before making any changes, and to reboot your computer after deleting the registry entries. By following these steps, you can safely remove a domain profile from your Windows 10 workstation.
You can view a more in depth version of this article at RTGLabs.IT!
No comments:
Post a Comment