First we need to launch a command prompt with administrator privileges, which we can do by typing ‘cmd’ in the start menu, then right-clicking the command prompt that appears in the search results and running it as administrator.
Then we can create the Wi-Fi network with the following command:
netsh wlan set hostednetwork mode=allow ssid=yournetworkname key=yourpassword
(replace ‘yournetworkname’ with your preferred name and edit ‘yourpassword’ as you wish)
Then turn it on:

