Why does this work: Windows same local admin username and password, able to access other computer?

Posted by Ankush on Super User See other posts from Super User or by Ankush
Published on 2012-06-20T12:52:43Z Indexed on 2012/06/20 15:18 UTC
Read the original article Hit count: 293

I've two machines MachineA and MachineB. Both have two local accounts which have same username . Both accounts are local admin on those machines.

If they have same password, I'm able to access \\MachineA\C$ from MachineB.

But if I change any one password above doesn't work. And it prompts for username and password. Now if I provide MachineA\username and password, it then connects.

Why isn't there a prompt for password when passwords are same? I expected passwords to be hashed with random salt, how does windows know passwords are same and authorize access?

These machines are running Windows Server 2008 R2.

PS. I've created following reg key to enable drive access HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\LocalAccountTokenFilterPolicy to 1

© Super User or respective owner

Related posts about passwords

Related posts about remote-access