Professional Documents
Culture Documents
Own WiFi Hotspot Through LAPTOP
Own WiFi Hotspot Through LAPTOP
C:\Windows\system32>netshwlansethostednetworkmode=allow
Thehostednetworkmodehasbeensettoallow.
C:\Windows\system32>netshwlansethostednetworkssid=phrases
TheSSIDofthehostednetworkhasbeensuccessfullychanged.
C:\Windows\system32>netshwlansethostednetworkkey=passphrases
Theuserkeypassphraseofthehostednetworkhasbeensuccessfullychanged.
C:\Windows\system32>netshwlanstarthostednetwork
Thehostednetworkstarted.
C:\Windows\system32>netshwlanshowhostednetwork
Hostednetworksettings
Mode
SSIDname
Maxnumberofclients
Authentication
Cipher
:Allowed
:"India"
:8
:WPA2Personal
:CCMP
Hostednetworkstatus
Status:Notavailable
C:\Windows\system32>netshwlansethostednetworkmode=allowssid=indiakey=Opsi0107
Thehostednetworkmodehasbeensettoallow.
TheSSIDofthehostednetworkhasbeensuccessfullychanged.
Theuserkeypassphraseofthehostednetworkhasbeensuccessfullychanged.
C:\Windows\system32>netshwlanshowhostednetwork
Hostednetworksettings
Mode
SSIDname
Maxnumberofclients
Authentication
Cipher
Hostednetworkstatus
Status
:Allowed
:"India"
:8
:WPA2Personal
:CCMP
:Notavailable
C:\Windows\system32>netshwlanstarthostednetwork
Thehostednetworkcouldn'tbestarted.Thegrouporresourceisnotinthecorrectstatetoperformthe
requestedoperation.
C:\Windows\system32>netshwlanstarthostednetwork
Thehostednetworkstarted.
C:\Windows\system32>
C:\Windows\system32>netshwlanshowhostednetwork
Hostednetworkstatus
Status
BSSID
Radiotype
Channel
Numberofclients
7c:1d:d9:3e:42:d3
:Started
:a4:4e:31:25:fc:a9
:802.11n
:1
:1
:Authenticated
C:\Windows\system32>netshwlanstophostednetwork
Thehostednetworkstopped.
C:\Windows\system32>netshwlanshowhostednetwork
Hostednetworksettings
Mode
SSIDname
Maxnumberofclients
Authentication
Cipher
Hostednetworkstatus
Status
:Allowed
:"DIRECT333333442"
:8
:WPA2Personal
:CCMP
:Notstarted
Usage:sethostednetwork[mode=]allow|disallow[ssid=]<ssid>
[key=]<passphrase>[keyUsage=]persistent|temporary
Parameters:
Tag
Value
mode
Specifieswhethertoallowordisallowthehostednetwork.
ssid
SSIDofthehostednetwork.
key
Theusersecuritykeyusedbythehostednetwork.
keyUsage Specifieswhethertheusersecuritykeyispersistentortemporary.
Remarks:
Thiscommandchangesthepropertiesofhostednetwork,including:SSIDofthehostednetwork,allow
ordisallowthehostednetworkinthesystem,andausersecuritykeythatisusedbythehosted
network.Theusersecuritykeyshouldbeastringwith8to63ASCIIcharacters,eg.apassphrase,or64
hexadecimaldigitswhichrepresent32binarybytes.
IfkeyUsageisspecifiedaspersistent,thesecuritykeywillbesavedandusedwhenthehostednetwork
isstartedagaininfuture.Otherwiseitwillbeusedonlywhenthecurrentornexttimethehosted
networkisstarted.Oncethehostednetworkisstopped,thetemporarysecuritykeywillbedeletedfrom
thesystem.IfkeyUsageisnotspecified,itispersistentbydefault.
Thiscommandrequiresadministratorprivilegestoallowordisallowthehostednetwork.
Examples:
sethostednetworkmode=allow
sethostednetworkssid=ssid1
sethostednetworkkey=passphrasekeyUsage=persistent
FollowingservicesmustbestartedinAutomaticmode.
a. Application Layer Gateway Service
b. Network Connections
Manual
Manual
Manual
Manual
Manual