My answer, Hope I can help you.
1. Run the command prompt as an administrator:
Shortcut key win+R→ enter cmd→ enter

2. Enable and set the virtual WiFi network card:
Run the command: netsh wlan set hostednetwork mode=allow ssid=wuminPC key=wuminWiFi
This command has three parameters, mode: whether to enable the virtual WiFi network card, or disable to disallow.
Ssid: The name of the wireless network, preferably in English (using wuminPC as an example).
Key: wireless network password, more than eight characters (using wuminWiFi as an example).
The above three parameters can be used separately. For example, only mode=disallow can be used to directly disable the virtual Wifi NIC.
After the connection is successful, there will be one more wireless connection 2 in the network connection as “Microsoft Virtual WiFi Miniport Adapter”. For convenience, rename it to virtual WiFi. If not, just update the wireless network card driver and
it will be OK.

3. Set up Internet connection sharing:
In the "Network Connection" window, right-click the network connection that is connected to the Internet, select "Properties" → "Share", tick "Allow other connections? (N)" and select "Virtual WiFi" .
Once confirmed, the words “Shared” appear next to the shared NIC icon, indicating that “Broadband Connection” has been shared to “Virtual WiFi”.

4. Turn on the wireless network:
Continue to run at the command prompt: netsh wlan start hostednetwork


