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,101 hits)

3 thoughts on “Access Windows 7 admin shares from Linux

  1. Todd

    Thanks for this info.

    FYI, your code snippet is missing the ‘\’ separators in the
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem]
    section, while your .reg file has it correct.

    Reply
  2. stalks Post author

    Thanks Todd. I changed the WordPress plugin that does the code snippets and I lost all the backslashes throughout the site. It seems I have missed a few when replacing them. 🙂

    Reply

Leave a Reply

You may leave the Name and Email fields blank to post anonymously.