Windows 10 - adding Wifi Credentials for all users
Solution 1:
First, export an existing WiFi profile with:
netsh wlan export profile name="WifiNetwork" folder="C:\path\" key=clear
After that, add it to all users:
netsh wlan add profile filename="full path of .xml file" user=all
For detailed information refer to this tutorial from tenforums.com: