Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.38 KB

README.md

File metadata and controls

30 lines (26 loc) · 1.38 KB

Win-11-ZerotierFix

To fix SMB shares not being accessible through Zerotier on Windows 11

Credits

Automated One-Liner (Click Me)

Copy and paste the following into your Windows 11 Terminal or Powershell with admin priviledges:

irm https://raw.githubusercontent.com/8mpty/Win-11-ZerotierFix/main/Win-11-Zerotier-SMBFix.ps1 | iex
Manual Commands (Click Me) Commands:
  1. Open Terminal/Powershell on your Windows 11 PC with Admin Priviledges.

  2. Copy and paste the following code into the command line and click enter:

    Get-NetConnectionProfile | Where-Object "InterfaceAlias" -like "Zero*"
    

    And check if the network catergory is Public.

  3. If the NetworkCategory is Public, then copy and paste this code into the command line:

    Get-NetConnectionProfile | Where-Object "InterfaceAlias" -like "Zero*" | Set-NetConnectionProfile -NetworkCategory Private
    

    Which is to set the NetworkCategory to Private in order for SMB shares on Windows 11 to work with Zerotier.

  4. If your NetworkCategory is already Private and not working, that means you have another problem with Zerotier which could be a bunch of factors for you to figure out.