We've built a script that will export our profiles and will successfully import them for the user.
The strange part: The script works in that they can immediate connect to the network. But heres the problem, it's only short lived. After so much amount of time (it varies) they will lose Internet connectivity, but still retain local network connectivity (meaning I can connect to anything locally on the network just nothing over the internet).
Am I missing something here?
My Export looks like this:
netsh wlan export profile name="HOC-Mandrin" Folder=. key=clear
The Import looks like this:
netsh wlan add profile filename="\\domain\netlogo
The actual XML file, which looks exactly like the XML file stored in C:\ProgramData\Microsoft\w
lansvc, looks like this:
What the heck could be causing this? We know it's got to do with this script because everything was 100% fine until we started using the script.... and now it has been pushed out organization wide and we're in deep ... well you know.