Network file sharing not working between Windows 11 & Windows 10

Anonymous
2022-01-12T16:32:28+00:00

Hello, we have an office where there are several Desks, recently one of the employees upgraded their computers from windows 10 to windows 11, we had all of the computers set up for Local file sharing over the network, now for some reason since the upgrade, the Win11 PC can still see all the other Win10 PC's but none of the Win10 PC's can see or access the Win11 PC, we checked all the settings, and nothings changes, SMB is enabled on all PC's, and running same IP address's, file sharing in the network sharing center is still all turned on.

Any idea what caused this?

Thanks

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.

0 comments No comments

78 answers

Sort by: Most helpful
  1. Anonymous
    2022-07-26T16:04:20+00:00

    The hosts file is read only protected. Below Bat script is what I use to change the r attribute and edit the file. Ok I use Notepad++ and have Set a variable for OneDrive... Here's the script... Have fun.
    @echo off

    SetLocal EnableDelayedExpansion EnableExtensions

    :: +-----------------------------------------------------------------+

    :: | Author: Bob Maarschalkerweerd - 2018

    :: | Edit the hosts file, change attributes etc and save

    :: | Bats and files used:

    :: | 1) %~dp0EditHostsFile.bat

    :: | 2) echo Edit Hosts File&START "EditHosts" /D "%OneDrive%" /High "%OneDrive%\Batch\EditHostsFile.bat"

    :: | Last Updated: 02 May 2018 08:49 AM

    :: | Last Updated: 02 May 2018 08:49 AM

    :: +-----------------------------------------------------------------+

    title=[%~nx0] %date% %time% - Edit the hosts file, change attributes etc and save

    title %title%

    SET In=C:\Windows\System32\drivers\etc\

    SET Ed="C:\Program Files\Notepad++\notepad++.exe"

    c:

    cd\

    cd %In%

    echo %date% %time% ----------------------------------------------------------------------------------------

    echo %date% %time% -----{ attrib -r %In%\hosts }-----

    set /a c=!c!+1

    eventcreate /l Application /so Hostfile /t information /id 540 /d "attrib -r %In%\hosts" > NUL 2>&1

    attrib -r %In%\hosts

    echo %date% %time% -----{ !c!) ERRORLEVEL: %ERRORLEVEL% }-----

    if %errorlevel% neq 0 (

    	eventcreate /l Application /so Hostfile /t error /id 544 /d "attrib -r %In%\hosts" > NUL 2>&1 
    
    	echo %date% %time% -----{ attrib -r ERRORLEVEL: %errorlevel% }----- 
    
    ) 
    

    echo %date% %time% ----------------------------------------------------------------------------------------

    echo %date% %time% -----{ call %Ed% hosts }-----

    set /a c=!c!+1

    eventcreate /l Application /so Hostfile /t information /id 541 /d "call "c:\Program Files\Notepad++\notepad++.exe" hosts" > NUL 2>&1

    call "c:\Program Files\Notepad++\notepad++.exe" hosts

    echo %date% %time% -----{ !c!) ERRORLEVEL: %ERRORLEVEL% }-----

    if %errorlevel% neq 0 (

    	eventcreate /l Application /so Hostfile /t error /id 544 /d "call "c:\Program Files\Notepad++\notepad++.exe" hosts"" > NUL 2>&1 
    
    	echo %date% %time% -----{ attrib -r ERRORLEVEL: %errorlevel% }----- 
    
    ) 
    

    echo %date% %time% -----{ %~nx0 Paused for edit. Make changes and save first. }-----

    pause

    echo %date% %time% ----------------------------------------------------------------------------------------

    echo %date% %time% -----{ attrib +r hosts }-----

    set /a c=!c!+1

    eventcreate /l Application /so Hostfile /t information /id 540 /d "attrib +r %In%\hosts" > NUL 2>&1

    attrib +r %In%\hosts

    echo %date% %time% -----{ !c!) ERRORLEVEL: %ERRORLEVEL% }-----

    if %errorlevel% neq 0 (

    	eventcreate /l Application /so Hostfile /t error /id 544 /d "attrib +r %In%\hosts" > NUL 2>&1 
    
    	echo %date% %time% -----{ attrib -r ERRORLEVEL: %errorlevel% }----- 
    
    ) 
    

    echo %date% %time% ----------------------------------------------------------------------------------------

    pause >nul

    exit

    Was this answer helpful?

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2022-07-26T12:15:40+00:00

    Hi,

    I used a NET USE DOS command: NET USE z: \10.20.30.40\Documents for consistent access.

    I can also browse \10.20.30.40\Documents in the file browser.

    I believe the failure is in the way Windows 11 uses DNS, from what I'm seeing. Once you browse to the Win 11 machine from Win 10, the IP address then displays in the network browsing tree, at least temporarily, but you still cannot use the PC's named entry in the tree to access the share.

    Because my Win 10 PC is a work PC, I cannot edit the HOSTS file. I wonder if that wouldn't work for this issue.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-07-25T12:49:57+00:00

    I can ping the Windows 11 machine from all of the Windows 10 systems, but that's about as much connectivity I get.

    Island fishing, when you say Ping, are you using the Name, or the IP?

    I have found that using the IP seem to work for me. e.g. \111.222.333.444<sharename>

    I then map a drive using the NET USE DOS command.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-03-25T12:02:22+00:00

    Yes. It was the simplest option even though it doesn't have secure boot, TPM or a supported processor. It works perfectly.

    Was this answer helpful?

    0 comments No comments