Skip to content

Instantly share code, notes, and snippets.

@karoltheguy
Created April 17, 2021 18:17
Show Gist options
  • Save karoltheguy/283c69e7cb2d24d85afe417b2b75c621 to your computer and use it in GitHub Desktop.
Save karoltheguy/283c69e7cb2d24d85afe417b2b75c621 to your computer and use it in GitHub Desktop.
Create a WIFI adhoc connection between two PCs
netsh wlan set hostednetwork mode=allow ssid=AdHocNetwork key=yourpassword
netsh wlan start hostednetwork
REM Then go enable the new hostednetwork network adapter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment