network-profile-fix

Change Windows network adapter profiles from Public to Private.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/krishnabankar-webgility/AskAI --skill network-profile-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: network-profile-fix
Source: https://github.com/krishnabankar-webgility/AskAI/tree/main/.github/skills/network-profile-fix
Command: npx skills add https://github.com/krishnabankar-webgility/AskAI --skill network-profile-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill resolves issues where network profiles are stuck as Public, preventing Private network connections, file sharing, and network discovery.

Core Features & Use Cases

  • Profile Identification: Identifies and changes the network adapter profile to Private when it is stuck as Public.
  • Firewall Rule Verification: Verifies and ensures necessary firewall rules are enabled for file sharing and printer sharing.
  • VPN Adaptation: Adjusts VPN adapter settings to maintain Private profiles upon reconnection.
  • Use Case: If you experience file sharing issues, or cannot change your network profile to Private, this Skill can help fix the configuration.

Quick Start

Change the network profile to Private for your Wi-Fi adapter with 'Set-NetConnectionProfile -InterfaceAlias Wi-Fi -NetworkCategory Private'.

Frequently Asked Questions about network-profile-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix a Windows network profile stuck as Public?

To fix a Windows network profile stuck as Public, change the network adapter category to Private using the Set-NetConnectionProfile command. This restores file sharing, printer sharing, and network discovery capabilities.

Why does my network profile keep reverting to Public when I try to enable file sharing?

Your network profile reverts to Public due to misconfigured adapter settings or firewall rules. Verifying firewall rules and adjusting VPN adapter profiles ensures the Private network category persists, allowing proper file sharing.

How do I configure a VPN adapter to maintain a Private network profile upon reconnection?

Configuring a VPN adapter to maintain a Private network profile involves adjusting the adapter settings to force the Private category. This ensures network discovery and file sharing remain active after the VPN reconnects.

What firewall rules need to be enabled for Windows file sharing?

Windows file sharing requires specific firewall rules to be enabled for network discovery and printer sharing. Verifying and activating these rules ensures that Private network connections allow proper file and printer access.

Can I change my Wi-Fi network profile to Private using PowerShell?

You can change your Wi-Fi network profile to Private using PowerShell by running Set-NetConnectionProfile -InterfaceAlias Wi-Fi -NetworkCategory Private. This directly updates the network adapter configuration on Windows systems.

Do I need administrator privileges to change network adapter profiles on Windows?

Changing network adapter profiles on Windows requires administrator privileges to execute network configuration changes. This ensures IT administrators and power users can securely manage firewall rules and network categories.