JSI Tip 1742. WFW and DOS clients return an incomplete list of server files?

Jerold Schulman

October 24, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When these 16bit clients do a server directory listing from a command prompt, or an application searchs for its DLLs on the server, an SMB 81 (Server Message Block 81) is used to get the directory search. The cause of the problem is that the filenames from this SMB will be intermittently truncated.

To resolve the problem, use Regedt32 to navigate to:

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanManServerParameters

Edit or Add Value name MaxGlobalOpenSearch, a type REG_DWORD entry. In the DWORD Editor, select the Decimal Radix, and enter a larger number. The default is 4096. The minimum is 1 and themaximum is 65536. I recommend trying 16384.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like