Article ID: 842792
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/256986/ )Description of the Microsoft Windows Registry
A call to the WriteFile function may not succeed. You experience this symptom when the following conditions are true:
This problem occurs when the following conditions are true:
To work around this problem, use either of the following methods:
Specify the GENERIC_READ constant and the GENERIC_WRITE constant in the dwDesiredAccess parameterUse the following code to create the file.
Note Replace the following placeholders:
Modify SMB signingWarning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
Follow these steps on the server computer and on the client computer:
Steps to reproduce the behavior
For more information about the CreateFile function and the WriteFile function, visit the following Microsoft Developer Network (MSDN) Web sites: