Windows cannot access \\MON-PC

Solved
Nahell Posted messages 15 Status Member -  
yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   -

Hello,

I'm trying to give access between two PCs that are on the same private network.

The two PCs are therefore on the same network, wired to the same router, and updated to Windows 11.

I can see the PCs from each other in the "Networks" tab of both PCs, which I will call "PC-MASTER" and "PC-PERSONAL".

When I click on the MASTER PC from my personal one, I get the message "You do not have permission to access \\PC-MASTER. Contact the network administrator to request access."

When I do the same thing from the other side, I see my C: and D: drives from my PC-PERSONAL appear, which return the same error.

I should mention that from PC-MASTER to PC-PERSONAL, I also see a user folder that contains the Default and Public folders, which are empty (not my session name).

Furthermore, I have a 3rd PC, which has been configured for years, that connects without any issues (PC-OF-COLLEAGUE).

I checked, the drives of both PCs are indeed set to Share Permissions for Everyone with Full Control.

My two computers are on the same network profile: private network, with network discovery and sharing enabled (I even set it for public and all networks just in case ^^), IP address assigned automatically.

Both PCs are on the same workgroup (WORKGROUP).

I checked the TCP protocols; everything is enabled.

I disabled the antivirus and firewall, just in case that's where the issue is coming from.

I disabled the controls and blocks via the local group policy, that doesn't work either.

I turned off password authentication on both PCs, still nothing.

I verified with ping commands from each PC to the other, they respond without issues.

I even ran around a tree naked one night during a full moon covered in currant jam, still nothing.

Now I'm out of solutions ^^', I'm convinced it's a small silly thing, but I can't seem to figure out which one.

If you need more details, feel free to ask.

Thank you in advance.

Nahell

6 answers

  1. kaumune Posted messages 22605 Registration date   Status Contributor Last intervention   5 158
     

    Hey

    Do a test by disabling ipv6 on your machines (and then restarting them)

    1
    1. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588
       

      I have no trouble sharing, which automatically uses ipv6 addresses.

      Here, the network connections are fine; it is more of an issue of authentication or authorization.

      1
    2. kaumune Posted messages 22605 Registration date   Status Contributor Last intervention   5 158 > yg_be Posted messages 23437 Registration date   Status Contributor Last intervention  
       

      Hi

      I had an authentication issue (my username and password were being systematically rejected when accessing the PC with ipv6 active), which was immediately resolved by disabling ipv6

      I don't see what it’s for in a LAN connected to the same box that manages ipv6 externally

      1
    3. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588 > kaumune Posted messages 22605 Registration date   Status Contributor Last intervention  
       

      If IPv6 is disabled on the LAN, the computers on the LAN will not be able to do anything with IPv6.

      2
    4. kaumune Posted messages 22605 Registration date   Status Contributor Last intervention   5 158 > yg_be Posted messages 23437 Registration date   Status Contributor Last intervention  
       

      Yes, and what would they need to do in LAN and IPV6?

      1
    5. kaumune Posted messages 22605 Registration date   Status Contributor Last intervention   5 158 > Nahell Posted messages 15 Status Member
       

      Have you restarted the PCs?

      And on the SMB front, what assets do you have?

      (SMB direct actually SMB3 and/or SMB V1)

      1
  2. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   Ambassadeur 1 588
     

    Hello,

    how are the respective users defined on these PCs?

    I suggest connecting via the command box, using the command

     net use \\ordi /u:username

    This allows you to specify the account used for connecting, and sometimes receive a more informative error message.

    0
  3. Nahell Posted messages 15 Status Member
     

    Thanks for the reply

    For PC-PERSO I have two users:

    Me (Admin Group)
    Administrator (Admin Group)

    If I type the command:
    net use \\PC-MAITRE /u:Me

    I get the response:
    "The command completed successfully"

    And nothing changes

    I specify that I tried to type:
    net use \\XXXXXXXXXXXXXXXXX /u:Me

    I got the same response.

    On the other hand, with "net user" I saw that I was indeed a member of the local Admin group, but not in a global group, I will look into that (you never know)

    Thanks anyway

    0
    1. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588
       

      Am I an administrator on PC-MAITRE?

      Do all users have passwords? Windows sometimes prevents certain shares when the user does not have a password.

      On PC-PERSO, what does

       net use M: \\PC-MAITRE\c$

      return?

      You can use "net session" on a PC to see who is connected.

      "net share" to see what is shared, and "net share nameoftheshare" for more details.

      This might help you discover the difference, on one PC, between access from a colleague's PC and another PC.

      It is sometimes clearer to define an explicit share rather than using implicit shares, which are only accessible to administrators.

      1
  4. Nahell Posted messages 15 Status Member
     

    EDIT

    I placed the command:
    net use \\PC-MAITRE/maitre /u:Moi

    it indicates an error 1219 "Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again."

    0
    1. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588
       

      If "net use" already shows a connection to PC-MAITRE, it doesn't make sense to specify /u. It only makes sense for a first connection.

      To remove existing connections (visible by net use), run "net use \\pc...\share /D"

      0
  5. Nahell Posted messages 15 Status Member
     

    Am I an administrator on PC-MAITRE?

    Only one session on MAITRE which is Maitre (Admin)

    Do all users have passwords? Windows sometimes blocks certain shares when the user does not have a password.

    Yes

    On PC-PERSO, what does

     net use M: \\PC-MAITRE\c$

    I enter the command, it asks for the username and password, which I enter, and I get the same error message as before (1219)

    You can use "net session" on a PC to see who is connected.

    I ran it on PC MAITRE, I have two connections with the IP address of PC-PERSO 192.168.1.28


    I will compare with your commands with the colleague's PC and get back to you ^^

    Thanks again

    0
    1. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588
       

      If Maitre is the only registered user on PC-MAITRE, then to connect to PC-MAITRE, Maitre must be specified as the user in the net use command.

      .

      For comparison, it is indeed on PC-MAITRE that we need to compare (net share, net session) what the access looks like from the other two PCs. In order to understand why PC-MAITRE allows more to one than the other.

      1
    2. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588 > Nahell Posted messages 15 Status Member
       
       Then, I tried again by running: net use \\PC-MAITRE /u:***@*** The console asks me for the password, then shows me "The command completed successfully". However, when I click on the folder in the explorer, nothing changes, and when I type the command net session, it says No Connections are currently available.

      Did you run the "net session" command on PC-MAITRE?

      1
    3. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588 > Nahell Posted messages 15 Status Member
       
       I attempted to connect to my personal computer using PC-DUCOLLEGUE: net use \\PC-PERSO /u:***@*** Password request, command completed successfully and appears in net session with the correct IP.

      What is the user displayed by "net session" on PC-PERSO?

      Does this user have admin rights on PC-PERSO?

      What type of Windows do you have? Home, Pro, ?

      1
    4. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588 > Nahell Posted messages 15 Status Member
       
       I tried with another subfolder that I shared from PC-PERSO, which appears at the root of the explorer from PC-DUCOLLEGUE, but the same result and no access.

      What do you see when you type "net share sousdossierpartagé" on PC-PERSO?

      1
    5. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588 > Nahell Posted messages 15 Status Member
       

      And the user "Guest" does have the right to access this folder? Is it really this user that you specified in the "net use"?

      1
  6. Nahell Posted messages 15 Status Member
     

    SOLVED:

    I created a new session on PC-MASTER using the same email address as the Windows account registered for the PC-PERSONAL user, and then I set this session to Administrator mode.

    Once done, I click on PC-MASTER from Windows Explorer, everything works directly; I have full access to the folders present from one PC to the other, regardless of the session launched.

    There was probably a better way, but at least it's working =D

    A big thank you to everyone who responded!

    0