Link to home
Start Free TrialLog in
Avatar of Michael Leonard
Michael LeonardFlag for United States of America

asked on

need assistance with this script to only have it run once at logon

can someone provide additional logic I can use on this script to ensure that it is only run once and not every time the user logs in.

@echo off
netsh wlan add profile filename="\\myserver.com\secure wifi\HQsecure.xml"
netsh wlan set profileorder name=HQSECURE  interface=*  priority=1

Open in new window


thx in advance,

Michael
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Michael Leonard

ASKER

thanks David!