Netsh WLAN for Windows XP

1110 pts.
Tags:
Batch Scripts
Microsoft Windows XP
Netsh WLAN
WLAN
WLAN Controller
Is there a netsh wlan for windows XP? I want to automate changing network settings via login or batch scripts.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Netsh wlan command exists only in Windows Vista, Windows 7 and in Windows Server 2008 and not for XP.
netsh may available in Windows XP “C:WindowsSystem32″ for the exe. Make sure the wireless device is found and installed properly on XP and also make sure have SP3 installed as it has some updates for netsh.
You may try this batch….

netsh interface ip set address name="Local Area Connection" source=static addr= mask=
netsh interface ip set address name="Local Area Connection" gateway= gwmetric=1
netsh interface ip set dns name="Local Area Connection" source=static addr=
netsh interface ip add dns name = "Local Area Connection" addr =

If you have DHCP….

netsh interface ip set address name="Local Area Connection" dhcp
netsh interface ip set dns name="Local Area Connection" dhcp

If you need WINS….

netsh interface ip set wins name="Local Area Connection" source=static addr=

After that pass the command as: ipconfig /all

OR
another batch file you may try….

set varstip=
set varsbmk=
set vargtwy=
set vardns= 66.78.202.254
set varhome= (optional)
netsh int ip set address name = "Local Area Connection" source = static addr = %varstip% mask = %varsbmk%
netsh int ip set address name = "Local Area Connection" gateway = %vargtwy% gwmetric = 1
netsh int ip set dns name = "Local Area Connection" source = static addr = %vardns%
netsh int ip show config
ipconfig /all

After that, you must save the file as .bat extension!

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following