Discussion Locked

Dos application in WindowsNT

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

On a Windows NT 4.0 Server/PDC/SP6/File Server/Print Server, I use an enabled network DOS application. This application can report witch users are logon and use it. But this report in some cases is false. The suggestion from the supplier of the application was to make these changes in registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanmanworkstation\parameters:
Value Name: UtilizeNTChaching
Data Type: REG_DWORD
Data: 0 (disable caching)
I want to know what other implication can be here if I make these changes.
Thank you

3 replies

by joseph moore

This is from Technet article Q163401:
"By default, when the Microsoft Windows NT redirector opens a file for read or read/write access, the redirector utilizes the Windows NT system cache. Therefore, when data is written to the file, it is written to the cache and not immediately flushed to the redirector. The cache manager flushes the data at a later time. If an unrecoverable network error occurs while the data is being transferred to the remote server, it may cause the write request to fail and the above application popup to occur."

And here is a definition of UtilizeNTCaching:

UtilizeNTCaching - Indicates whether the redirector uses the cache manager to cache the contents of files. Disable this parameter only to guarantee that all data is flushed to the server immediately after it is written by the application.

This is all talking about the Workstation service (and driver file Mrxsmb.sys. If you really want to understand what Redirector is and why bypassing the cache for Redirector can do, read this Technet article:
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/tcpip/part4/tcpappb.asp
(please remove any spaces)

Basically, removing the caching ability will make writes faster to the OS, and it might prevent any false data being recorded by your DOS app. It will increase disk I/O, though.
If the software vendor recommends this fix, then I think you should try it. This change will not destabilize NT to the point of unusability. I would just make sure your server has no problems with disk access and seek time first.

hope this helps

http://www.jsiinc.com/SUBA/tip0200/rh0231.htm

by joseph moore

PS: here is the proper Registry pathing:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanmanworkstation\parameters

and edit or Add Value name of UtilizeNTCaching with type REG_DWORD.

0 - Data is written directly to the redirector, bypassing the cache.
1 - Lazy write (default) - Data is written to the cache and subsequently flushed to the Redirector.

This discussion is closed to new replies.