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:
|
1 2 3 4 |
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "LocalAccountTokenFilterPolicy"=dword:00000001 |
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)
