Compartilhar via


Event ID 2506 — Shared Folders (SMB) Server Configuration

Applies To: Windows Server 2008 R2

The Server Message Block (SMB) protocol is what Windows uses to share files, printers, serial ports, and communicate this information between computers. The service must be configured correctly for the server to properly manage shared resources.

Event Details

Product: Windows Operating System
ID: 2506
Source: Server
Version: 6.1
Symbolic Name: EVENT_SRV_INVALID_REGISTRY_VALUE
Message: The value named %1 in the server's registry key %2 was not valid, and was ignored. If you want to change the value, change it to one that is the correct type and is within the acceptable range, or delete the value to use the default. This value might have been set up by an older program that did not use the correct boundaries.

Resolve

Set a new parameter value for the server

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.

To set a new paramter value:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click to select the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanmanserver\Parameters
  3. Right-click mis-configured parameter, obtained from the error message, and click Modify.
  4. In the Value data box, type the desired value, and then click OK.

Note: If you want to change the value of a parameter, but are unable to change to an acceptable value, delete the parameter to use the default. The value may have been set up by an older program that did not use the correct boundaries.

Verify

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify SMB configuration settings:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click to select the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanmanserver\Parameters
  3. Verify that the correct parameters are present and contain the correct values.

 

Shared Folders (SMB) Server Configuration

File Services