SCENARIO: A Vista server (Home Edition 32-bit), 3 XP clients and other 5 Vista clients joined together on a Workgroup. Twice a day, we have to restart the Vista server as the XP machine lost connection when trying to access a file from the Vista server and XP clients give the following errors:

  • when opening My Network Places = Error: Workgroup is not accessible. You might not have permission to use this network resource. Network name is no longer available.
  • when opening shared/mapped folder = Error: %Share% is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Access Denied.

I searched for those errors and tried solutions below but none fixed the issue. Please note that when I refer to client computer - it refers to XP machine, and Vista as the server.

The only fix that made XP connection stable is by disabling SMB2 on the server. Please note, you have to disable SMB2 on all Vista clients to prevent errors. Edit the registry at your own risk. Always back up the registry before making any changes. If you do not feel comfortable editing the registry, do not attempt these instructions.

  1. Run regedit on the server.
  2. Expand and locate the sub-tree as follows.
    HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
  3. Add a new REG_DWORD key with the name of Smb2
    Value name: Smb2
    Value type: REG_DWORD
    0 = disabled
    1 = enabled
  4. Set the value to 0 to disable SMB 2.0, or set it to 1 to re-enable SMB 2.0.
  5. Reboot the server.

To read more about SMB, you can check this link http://www.petri.co.il/how-to-disable-smb-2-on-windows-vista-or-server-2008.htm