network credentials on windows 11

Barbara Wheeler 25 Reputation points
2025-09-08T17:41:54.3866667+00:00

I am trying to sign into my "main pc" on my network and get "Enter network credentials" popup. I have tried every iteration I can think of using user names and password. I don't know how to get out of this or even to change the need for a sign in on a network if I don't know the password.

Please help.

Windows for home | Windows 11 | Internet and connectivity

Answer accepted by question author

Clary-N 14,360 Reputation points Microsoft External Staff Moderator
2025-09-09T00:51:39.0866667+00:00

Hi Barbara Wheeler,

Thank you for reaching out to Microsoft Q&A. I understand you’re seeing the “Enter network credentials” prompt when trying to access your main PC over the network. This usually happens when Windows requires authentication for file or printer sharing.

Before we proceed, could you please confirm: Is this the first time you are setting up network sharing between these PCs?

In the meantime, here are a few steps you can try:

Step 1: Verify the Correct Username and Password

  1. On the main PC, press Win + R, type netplwiz, and press Enter.
  2. Check the account name listed (it could be a local account or a Microsoft account email).
  3. If you forgot the password:
    • For a local account, go to Settings → Accounts → Sign-in options → Password and reset it.
    • For a Microsoft account, reset it at https://account.microsoft.com.

Step 2: Disable Password-Protected Sharing

If you want to access shared folders without entering credentials:

  1. On the main PC, open Control Panel → Network and Sharing Center → Advanced sharing settings.
  2. Expand All Networks.
  3. Under Password-protected sharing, select Turn off password-protected sharing.
  4. Click Save changes.
  5. Restart both PCs and try again.

Step 3: Enable Network Discovery and File Sharing

In Advanced sharing settings, under Private (current profile):

  • Turn on Network discovery.
  • Turn on File and printer sharing.

Click Save changes.

Step 4: Create a Matching Local Account (Optional)

If you prefer to keep password protection enabled:

  1. On the main PC, go to Settings → Accounts → Other users.
  2. Click Add other user → choose Add account
  3. Create a local account with the same username and password as the one you use on your current PC.

For more detailed instructions, please refer to the official Microsoft support page at:

How to create a Local account in Windows 11

Please keep me posted on how it goes, and feel free to reach out if you need any further assistance. I'm here to help.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.