i have domain controller with 3 computer connected to it(for LAB and Test purpose use only)
when i connect to my client and enter administrator@domainname.com as user name after login my command prompt become C:\Users\Administrator.DOMAINNAME>
enter image description here also there is folder with same name in C:\user
enter image description here

is there any way to bring back my main Administrator account in this Domain Computer??


The Administrator account was not renamed.

The reason you see Administrator.ZARRAFE is that you have logged on with the local Administrator first and then with the domain Administrator. Since they cannot share the same profile folder, because they are different accounts, the operating system will append a suffix (the domain name the account belongs to) to following profile folders with the same account name.

That is normal behaviour and you should not try to change this.

| improve this answer | |
  • reason is i login to domain when domain controller is not accessible,but i search for find a way to remove Administrator.ZARRAFE and login to Administrator it self – AminM Jan 19 '16 at 13:51
  • 1
    So logon with COMPUTERNAME\Administrator instead of ZARRAFE\Administrator. – Daniel Jan 19 '16 at 14:16
  • 2
    By the way, having the domain controller offline for an extended period of time is not something that should be taken with a shrug. So usually, before you log on to any computer using the local account, one usually tries to find out why the domain controller is offline. – Daniel Jan 19 '16 at 14:18
  • 2
    @AminM Log off and delete both the C:\Users\Administrator and C:\Users\Administrator.ZARRAFE folders from another computer. Use the command rd /s to recursively delete the directories. Then connect to the registry hive remotely from another computer and knock out HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-xxx-xxx-xxx, and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\S-1-5-21-xxx. Now log back on with the domain administrator and NOT the local admin. – Ryan Ries Jan 19 '16 at 14:52
  • @Daniel i know! but i want to log in with domain account – AminM Jan 20 '16 at 5:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.