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. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

78 answers

Sort by: Most helpful
  1. Anonymous
    2022-07-25T20:12:20+00:00

    This may be getting long in the tooth, but I have a way to make this work on my Network of 10 machines...:
    :: NOTE: Be aware that by changing these settings may not be what your organization wants, but as I'm a home user this works great for me...

    Windows 11 Control for Network Sharing - - Using Net Use X: <Shared Net Drive/Folder> e.g. echo .Net Use O:&IF NOT EXIST "O:" (Net Use O: \yourmachine\OneShare /Y)

    Method: Provide permissions through settings. Open Control panel using either control -OR- Rundll32.exe shell32.dll,Control_RunDLL

    Control panel -> Network and sharing center -> Change advanced sharing settings ->

    "Under the heading: Change sharing options for different network profiles"

    -> Private v (Expand) -> [Network Discovery] - Turn on Network Discovery and check Turn on automatic setup of network connected devices.

    -> Private v (Expand) -> [File and Printer Sharing] - Turn on File and Printer Sharing.

    -> Guest or Public v (Expand) -> [Network discovery] - Turn on Network Discovery.

    -> Guest or Public v (Expand) -> [File and Printer Sharing] - Turn on File and Printer Sharing.

    -> All Networks v (Expand) -> [Public folder sharing] - Turn on sharing so anyone with network access can read and write files in Public folders....

    -> All Networks v (Expand) -> [Media streaming] - Local Network Firewall stuff to allow Media, TV and other devices.. I've left this alone unless you need to stream something...

    -> All Networks v (Expand) -> [File sharing connections] - Use 128-bit encryption to help protect file sharing connections (recommended).

    -> All Networks v (Expand) -> [Password protected sharing] - Turn off password protected sharing. [ <-- This is where the main issues come from...]

    --> Save changes.

    Save Changes - May need a re-boot...

    Windows 10 Control for Network Sharing

    Turn on network discovery. -> Turn on file and printer sharing. ->

    Allow windows to manage home group connection(recommended).

    Method: Turn on SMB feature.

    appwiz.cpl -> 'Turn Windows Features On or Off' -> Check scroll to SMB 1.0/CIFS File Sharing Support.

    TAKEOWN /F<Your Drive.. X:> /R /D Y /SKIPSL

    Icacls <Your Drive.. X:> /INHERITANCE:e /GRANT:r %UserName%:(F) /T /C

    4 people found this answer helpful.
    0 comments No comments
  2. 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.

    0 comments No comments
  3. 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

  4. Anonymous
    2022-07-26T15:28:51+00:00

    I've had this problem for several months now. After monthly cumulative updates, Sharing works perfectly from Win 11 laptop to Win 10 Desktop and vice versa. This usually lasts for 6-7 days, then it stops and nothing restores it except the following monthly cumulative update. Between these times, I use Send or Receive Files Via Bluetooth in the Bluetooth & Other Devices Screen - and that only works about 50% of the time.

    I've given up and resigned to just living with it..

    1 person found this answer helpful.
    0 comments No comments
  5. 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" &gt; NUL 2&gt;&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"" &gt; NUL 2&gt;&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" &gt; NUL 2&gt;&1 
    
    	echo %date% %time% -----{ attrib -r ERRORLEVEL: %errorlevel% }----- 
    
    ) 
    

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

    pause >nul

    exit

    0 comments No comments