Windows 10: How to completely remove user's AzureAD profile data from Windows 11 Pro PC?

Discus and support How to completely remove user's AzureAD profile data from Windows 11 Pro PC? in Windows 10 Gaming to solve the problem; We have many Azure AD joined PCs. Also, we have multiple Azure AD standard user's profile on each of them. When a user leaves the company we want to... Discussion in 'Windows 10 Gaming' started by ThanosKourouklis- [O365], Feb 9, 2023.

  1. How to completely remove user's AzureAD profile data from Windows 11 Pro PC?


    We have many Azure AD joined PCs. Also, we have multiple Azure AD standard user's profile on each of them. When a user leaves the company we want to delete the profile completely from the hard disk. If we use the Remove command for the specific user from the accounts menu it the user appears in the "Other Users" list, it removes the user, but it does not remove the respective folder form the c:\users folder. What is the proper way to delete such users? Also it is strange that in some cases, these users doews not appear in the Other Users list. Thank you.

    :)
     
    ThanosKourouklis- [O365], Feb 9, 2023
    #1
  2. EdwardZQ Win User

    How to properly delete AzureAD profile data from Windows 10 machine

    I want to delete the local data of a retired AzureAD account on a system. Lets name the user in question "Bob".

    - Bob was removed already from AzureAD, however the local data was not deleted automatically (not unexpected)

    - MMC "users" snap-in does not show Bob
    - "Other users" Windows Preference pane does not show Bob (or any other AzureAD user apart from my own)

    - Bob is not logged in

    - I have full Administrator rights

    - Windows does not let me completely remove Bobs user directory by hand

    - The system should stay in AzureAD

    - Windows Version is Windows 10 Pro, updated

    Any ideas?
     
    EdwardZQ, Feb 9, 2023
    #2
  3. StumfSlo Win User
    Deleting a AzureAD joined uer from Windows 10 because of downgrade

    Ok i think I found the trick:

    AzureAD joined users can be deleted via:

    • Open a admin powershell and type sysdm.cpl
    • In Advanced tab go to User Profiles and click Settings
    • Here u can now see all the AzureAD joined users as well as local ones.
    • Delete the offending user

    WARNING THIS WILL DELETE ALL THE SELECTED USERS DATA IN HIS HOME FOLDER. IF DATA IS NEEDED BACK IT UP!!!
     
    StumfSlo, Feb 9, 2023
    #3
  4. LastElf Win User

    How to completely remove user's AzureAD profile data from Windows 11 Pro PC?

    AzureAD profile recreation causes a black overlay on Windows 10

    Ok, long one guys.

    Fault: The initial fault that we found was that when we go to reset an AzureAD created profile on the laptop. Removing the AD link goes fine, the local user account has been fine through this whole process. We rename the removed user folder to keep a sideways backup of their desktop/documents and then rejoin the PC to AzureAD. This connects fine, does the normal thing it does if the PC was out of the box.

    Reboot the PC, log in as the AzureAD user that joined the PC to the domain, "Welcome to Windows" splash screen does its thing, then where I'd expect to see the "Set up Windows Hello - Now set up your PIN" screens on first login but instead the screen is just black with a cursor.

    Ctrl-Alt-Del will bring up the security screen fine, can open task manager and log out OK and the login screen shows up. After a bit of button pressing I can hit the Win key to pull up the start menu and peek preview will ghost the overlay and I can see the wallpaper and icons fine.

    Profile removal: This is done manually via regedit removing the profile's UID in ProfileList after removing AzureAD. Also done through local user manager. Both remove the profile fine, but neither fixes the issue.

    Troubleshooting: So we've ruled out graphics issues, it isn't the Win+P issue that was a thing during the insider previews pre-RTM, it appears to just be localised to AzureAD profiles that have been on the PC before. The only way we can find to get past it is to do a soft or hard Windows reset and start from scratch. Obviously this turns a 15-20 minute profile reset into a 3 hour ordeal involving shipping the laptop back to this office.

    And to sum up further details than I've described above:

    • Two different hardware specs, HP and Lenovo laptops
    • Both fully up to date Win 10
    • Different AzureAD domains but both have PIN requirements
    • Other local accounts work fine
    • Removing a user and rejoining to AAD with a different user works OK
    • Can replicate issue easily

    The only thing that we haven't tried yet is to see if we change the password policy to remove the Windows Hello and PIN requirements but we can't make those changes on a production system just to test a suspicion.
     
    LastElf, Feb 9, 2023
    #4
Thema:

How to completely remove user's AzureAD profile data from Windows 11 Pro PC?

Loading...
  1. How to completely remove user's AzureAD profile data from Windows 11 Pro PC? - Similar Threads - completely remove user's

  2. How to Remove an AzureAD User Profile from a Windows 11 computer?

    in Windows 10 Gaming
    How to Remove an AzureAD User Profile from a Windows 11 computer?: I want to start by saying. I've tried all the workarounds that previous posts have suggested concerning this topic. To save time here is the main ones that were suggested previously that do not work.I've tried using opening Powershell as Admin and using <Remove-LocalUser...
  3. How to Remove an AzureAD User Profile from a Windows 11 computer?

    in Windows 10 Software and Apps
    How to Remove an AzureAD User Profile from a Windows 11 computer?: I want to start by saying. I've tried all the workarounds that previous posts have suggested concerning this topic. To save time here is the main ones that were suggested previously that do not work.I've tried using opening Powershell as Admin and using <Remove-LocalUser...
  4. How to Properly Remove a AzureAD User Profile from a Windows computer with CMD or PowerShell?

    in Windows Hello & Lockscreen
    How to Properly Remove a AzureAD User Profile from a Windows computer with CMD or PowerShell?: What is the proper process to remove a AzureAD User Profile from a Windows computer without reimaging or disconnecting the device from Azure AD? With local & domain user accounts, removal of user profile data is simple, especially using "net user <USERNAME> /delete". Deleting...
  5. How to Properly Remove a AzureAD User Profile from a Windows computer with CMD or PowerShell?

    in Windows 10 Gaming
    How to Properly Remove a AzureAD User Profile from a Windows computer with CMD or PowerShell?: What is the proper process to remove a AzureAD User Profile from a Windows computer without reimaging or disconnecting the device from Azure AD? With local & domain user accounts, removal of user profile data is simple, especially using "net user <USERNAME> /delete". Deleting...
  6. How to Properly Remove a AzureAD User Profile from a Windows computer with CMD or PowerShell?

    in Windows 10 Software and Apps
    How to Properly Remove a AzureAD User Profile from a Windows computer with CMD or PowerShell?: What is the proper process to remove a AzureAD User Profile from a Windows computer without reimaging or disconnecting the device from Azure AD? With local & domain user accounts, removal of user profile data is simple, especially using "net user <USERNAME> /delete". Deleting...
  7. How to completely remove user's AzureAD profile data from Windows 11 Pro PC?

    in Windows 10 Software and Apps
    How to completely remove user's AzureAD profile data from Windows 11 Pro PC?: We have many Azure AD joined PCs. Also, we have multiple Azure AD standard user's profile on each of them. When a user leaves the company we want to delete the profile completely from the hard disk. If we use the Remove command for the specific user from the accounts menu it...
  8. How To Remove Unknown/RESTRICTED Account User Profiles From PC

    in Windows 10 Software and Apps
    How To Remove Unknown/RESTRICTED Account User Profiles From PC: I have an Hp All In One PC I purchased new in box and sole user. I noticed after one of Windows many a update, Two Unknown user accounts along with one RESTRICTED account appear all with access. These accounts seem to be attached to and Xbox Overlay file, which there are two...
  9. Customize Default Profile for AzureAD Users?

    in Windows 10 Customization
    Customize Default Profile for AzureAD Users?: Hello, Is there a way to customize the Default Profile for AzureAD Users? We have a Windows 10 image that we captured using CloneZilla Lite Server. That image was then configured by changing the settings, default apps, items pinned on Start menu and Taskbar, as well as...
  10. How to properly delete AzureAD profile data from Windows 10 machine

    in Windows Hello & Lockscreen
    How to properly delete AzureAD profile data from Windows 10 machine: I want to delete the local data of a retired AzureAD account on a system. Lets name the user in question "Bob". - Bob was removed already from AzureAD, however the local data was not deleted automatically (not unexpected) - MMC "users" snap-in does not show Bob - "Other...