Microsoft KB Archive/157279

From BetaArchive Wiki

Nwrdr.sys Fails Reading File with Execute Only Attribute

Q157279



The information in this article applies to:


  • Microsoft Windows NT Advanced Server, version 3.1
  • Microsoft Windows NT Workstation versions 3.1, 3.5, 3.51, 4.0
  • Microsoft Windows NT Server versions 3.1, 3.5, 3.51, 4.0





SYMPTOMS

If a NetWare administrator changes the file attributes of executable files to Execute Only, the following error message appears on any Windows NT computer accessing the files through either Client Services for NetWare or Gateway Services for NetWare:

The system cannot find the file <drive>:\<directory>\<executable file>



CAUSE

Windows NT does not recognize the Execute Only file attribute.



WORKAROUND

To work around this problem:

  1. Rename or remove the executable file.
  2. Reinstall the file or restore the file from a previous backup.

Page 135 of the Novell NetWare version 3.11 "Utilities Reference" states the following:


   ... once assigned, this attribute cannot be removed. 



STATUS

Microsoft has confirmed this to be a problem in Windows NT versions 3.1, 3.5, 3.51, and 4.0. This problem was corrected in the latest Microsoft Windows NT 4.0 U.S. Service Pack. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K


Fixes are not available for Windows NT 3.1 or 3.5. Refer to the Workaround section of this article.



MORE INFORMATION

The default behavior explained above can be altered to allow Nwrdr.sys to read Execute Only files. The fix and a new registry parameter are required. The following instructions explain how to enable this functionality:

WARNING: Using the Registry Editor incorrectly can cause serious, system- wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.


  1. Rename the existing Nwrdr.sys file in the %Systemroot%\System32\Drivers directory.
  2. Copy the new Nwrdr.sys file to the same location.
  3. Add the following registry values by running Regedt32.exe.


In
HKEY_LOCAL_MACHINE on Local Machine:


Key Name: SYSTEM\CurrentControlSet\Services\NwRdr\Parameters Name: ReadExecOnlyFiles Type: REG_DWORD Data: 0x1

  1. Stop and restart Client Services for NetWare or Gateway Services for NetWare, depending on whether the fix is applied to Windows NT Workstation or Windows NT Server.

NOTE: Winfile.exe in Windows NT 3.51 and 4.0 will not display files with the X attribute. This was a pre-existing condition. The command prompt and Explorer.exe in Windows NT 4.0 will display files with the X attribute.

Additional query words: GSNW CSNW prodnt

Keywords : kbnetwork
Issue type :
Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW400 kbWinNTW400search kbWinNT351xsearch kbWinNT350xsearch kbWinNT400xsearch kbWinNTW350 kbWinNTW350xsearch kbWinNTW351xsearch kbWinNTW351 kbWinNTW310 kbWinNTSsearch kbWinNTS400xsearch kbWinNTS400 kbWinNTS351 kbWinNTS350 kbWinNTS310 kbWinNTAdvSerSearch kbWinNTAdvServ310 kbWinNTS351xsearch kbWinNTS350xsearch kbWinNTS310xsearch kbWinNT310xSearch kbWinNTW310Search


Last Reviewed: November 22, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.