To change a Windows 11 network from Public to Private
Using PowerShell (for advanced users)
Open PowerShell as Admin: Right-click the Start button and select Windows Terminal (Admin) or PowerShell (Admin).
Identify Your Network: Type Get-NetConnectionProfile and press Enter to see your network names and current category.
Set to Private: Type Set-NetConnectionProfile -Name "Your Network Name" -NetworkCategory Private (replace "Your Network Name" with your actual network name) and press Enter.
Verify: Rerun Get-NetConnectionProfile to confirm the change to Private.