Monthly Archives: March 2011

Access Windows 7 admin shares from Linux

Posted on .

I was trying to access the administration shares (c$, admin$, etc.) from smbclient on a Debian/Squeeze machine and was being given:
tree connect failed: NT_STATUS_ACCESS_DENIED

If your Windows 7 workstation is on a domain, you won’t get this issue, however if it is on a workgroup then the following registry setting is required:

More information found at http://support.microsoft.com/kb/951016.

Downloading the following .reg file and running it on the workstation will make the above change.

Download
  LocalAccountTokenFilterPolicy.reg (334 bytes, 2,418 hits)