TransWikia.com

Windows User Folders Called Username.Hostname After Leaving ActiveDirectory Domain/Demoting Server from AD Controller

Super User Asked by fscheidl on December 20, 2021

After demoting a Windows Server 2019 from an ActiveDirectory domain controller to a regular server (which naturally deletes all user accounts except for the Administrator account) I recreated a few user accounts which does create the correct user folder C:UsersUsername. Once that user logs in, another folder C:UsersUsername.Hostname is created though. (Hostname being the machine’s name)

How do I fix this issue?

One Answer

If the folders exist before the user logs in for the first time, Windows will always create a new folder. If they're domain users the folder will be Username.Domain, otherwise it will be Username.Hostname.

I suggest following these steps:

  1. Backup any necessary files from C:UsersUsername and C:UsersUsername.Hostname.

  2. Open System Properties through:

    1. open the Run dialog → sysdm.cpl
    2. right click This PC/Computer/My ComputerProperties.
    3. press Win + Pause and click Advanced properties
  3. Go to the Advanced tab and click the Settings… button under User Profiles.

  4. Delete the profiles you're having an issue with. If you didn't do this before demoting, they may show up by their ID's instead of the username, so be careful.

  5. Open File Explorer and delete both the C:UsersUsername and C:UsersUsername.Hostname folders if they are left behind. This is common for really big profiles.

  6. Log the user back in again.

  7. Verify that the folders are created correctly and restore the backed up files there.

Answered by Worthwelle on December 20, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP