Question Custom admin user account folder gone after enabling/disabling hidden admin account

Nova43

Distinguished
Jan 28, 2016
145
9
18,585
While being logged into my custom admin account, I enabled the hidden admin account with the following command: net user administrator /active:yes

I logged out, logged into hidden admin account, did my stuff, logged out, logged in with custom admin account. Then issued this command to turn off hidden admin account; net user administrator /active:no.

Finally, I logged out then back into custom admin account.

Then navigated to users folder, but the original custom admin account folder has disappeared. The hidden admin account entitled "Administrator" is the only account listed - of course along with the usual public and default accounts.

I can logout and login with the original custom admin account but the corresponding user folder is just not there. How do I fix this?

Thanks.

====

Update:

I disabled "hide protected operating system files" option in folder view options dialog and now the original custom admin account is showing up with a 50% transparent folder icon. So, somehow this user folder was converted to a hidden system folder.
 
Last edited:
I tried all that. The only thing that helped was to make the custom admin user folder not a system folder (apparently something changed it to a sys folder which is why it disappeared)

Did some google research and Issued this cmd to make the user folder not a system folder and not hidden: attrib -s -h C:\Users\<myusername>

Voila! the folder is showing up now.

Thanks.
 
Last edited: