Cant connect windows security in file sharing

Anonymous
2023-08-30T02:28:13+00:00

I'm having a little problem with my windows server settings, I configured the file server and it worked. but I want every user who will access must enter windows security.

what I am experiencing now is that users can directly access the folder without entering windows security.

Windows for business | Windows Server | Networking | Network connectivity and file sharing

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-08-30T06:20:44+00:00

    Hello Jeni Fauzi

    1. Is the shared folder set up to allow anonymous or guest access?  You might remove Everyone or Guests in the share folder’s permission list, then add an entry for "Authenticated Users". Make sure to grant the appropriate permissions (Read, Write, etc.).
    2. On the client computers, are the users accessing the shared folder using mapped network drives or by directly typing the network path in the File Explorer's address bar?  When using a mapped network drive, Windows might automatically use the currently logged-in user's credentials to access the shared resource.
    3. Are there any saved credentials on the client computers that might be automatically used for authentication when accessing the shared folder?
    4. Check the security logs on the file server for any relevant authentication-related events when users access the shared folder. This might provide insight into why security prompts are not appearing.

    Best regards,

    Karlie Weng

    0 comments No comments
  2. Anonymous
    2023-08-31T09:50:47+00:00

    I created folder sharing from windows server 2022 over a local network for special users.

    from the client computer, the client accesses using win+R, \xx.xx.xx.x, the first time access there is a display to enter windows security, then when the next access the client can directly access the sharing folder without going through windows security.

    so that users go through the stage of entering windows security, what steps should I take?

    I have tried to access the windows credential and search for the password cache but it is not there.

    Hello Jeni Fauzi

    1. Is the shared folder set up to allow anonymous or guest access?  You might remove Everyone or Guests in the share folder’s permission list, then add an entry for "Authenticated Users". Make sure to grant the appropriate permissions (Read, Write, etc.).
    2. On the client computers, are the users accessing the shared folder using mapped network drives or by directly typing the network path in the File Explorer's address bar?  When using a mapped network drive, Windows might automatically use the currently logged-in user's credentials to access the shared resource.
    3. Are there any saved credentials on the client computers that might be automatically used for authentication when accessing the shared folder?
    4. Check the security logs on the file server for any relevant authentication-related events when users access the shared folder. This might provide insight into why security prompts are not appearing.

     

    Best regards,

    Karlie Weng

    0 comments No comments
  3. Anonymous
    2023-09-05T02:30:04+00:00

    Hello Jeni Fauzi

    I'm sorry for the delay in getting back to you, and I'll do my best to assist you.

    If this only happens after the first time, I believe this behavior is normal and by design in Windows.

    When the user successfully enters their credential for the first connection, Windows caches them for the duration of the user's session. During that session, the user won't be prompted for credentials. This caching helps improve user experience by reducing the need to re-enter credentials repeatedly.

    If you want to prompt for Windows security (credentials) every time a user accesses a shared folder, you can modify the group policy on your file server.

    Here's how:

    • In the Local Group Policy Editor, navigate to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options

    Network access: Do not allow storage of passwords and credentials for network authentication.

    • Change the policy to "Enabled" option.
    • Restart your server.

    Here's the reference: Network access Do not allow storage of passwords and credentials for network authentication - Windows Security | Microsoft Learn

    Karlie

    0 comments No comments