Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect the computer.

Symptoms

You try to access a shared folder that is located on a Windows 2000 or Windows 98-based computer from a Windows 7-based computer. You are required to provide a username and password. However, the authentication fails. Therefore, you cannot access the shared folder.

Note This issue does not occur if you access the shared folder from a Windows Vista or a Windows XP-based computer.

Cause

Windows 7 uses NTLM version 2 (NTLMv2) authentication. By default, NTLMv2 authentication is not enabled in Windows 2000 or in Windows 98. Therefore, this issue occurs.

Resolution

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this issue, enable NTLMv2 authentication on the Windows 2000- or the Windows 98-based computer. To do this, follow these steps:

  1. Start Registry Editor. To do this, click Start, click Run, type Regedit, and then press ENTER.

  2. Locate and then click following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA

  3. Locate the LmCompatibilityLevel registry value.



    If the registry value is not present, follow these steps to create it:

    1. Select the registry subkey that is listed in step 2.

    2. On the Edit menu, point to New, and then click DWORD Value.

    3. Type LmCompatibilityLevel, and then press ENTER.

  4. Set the DWORD value to 1. To do this, click Modify on the Edit menu, type 1 in the Value data box, and then click OK.

  5. Exit Registry Editor, and then restart the computer.

For more information how to enable NTLMv2 authentication, click the following article number to view the article in the Microsoft Knowledge Base:

239869 How to enable NTLM 2 authentication


Note Samba 2.x does not support NTLMv2 authentication. Therefore, you may encounter similar issues when you try to access shared folders that are located on Samba systems from a Windows 7-based computer. To work around this issue, follow these steps on the Windows 7-based computer:

  1. Start Registry Editor. To do this, click Start Start button , type Regedit in the Search programs and files box, and then press ENTER.

  2. Locate and then click following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA

  3. Locate the LmCompatibilityLevel registry value.



    If the registry value is not present, follow these steps to create it:

    1. Select the registry subkey that is listed in step 2.

    2. On the Edit menu, point to New, and then click DWORD Value.

    3. Type LmCompatibilityLevel, and then press ENTER.

  4. Set the DWORD value to 1. To do this, click Modify on the Edit menu, type 1 in the Value data box, and then click OK.

  5. Exit Registry Editor and restart the computer.

Warning This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.

STILL NEED HELP?

If this article does not answer your question, click this button to pose your question to other community members at Microsoft Answers:

Ask a question


If you would like to see answers to similar issues, click the following links to view topics in the Microsoft Answers forum:


References

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×