Nwrdr.sys Fails Reading File with Execute Only Attribute
ID: Q157279
|
The information in this article applies to:
-
Microsoft Windows NT 3.1
-
Microsoft Windows NT Advanced Server, version 3.1
-
Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
-
Microsoft Windows NT Server versions 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:
- Rename or remove the executable file.
- 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.
- Rename the existing Nwrdr.sys file in the %Systemroot%\System32\Drivers
directory.
- Copy the new Nwrdr.sys file to the same location.
- 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
- 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 kbbug4.00 ntnetserv kbbug3.10 kbbug3.50 kbbug3.51 kbfix4.00.sp2 NTSrvWkst
Version : winnt:3.1,3.5,3.51,4.0; :3.1
Platform : winnt
Issue type :