Windows Legacy OS forum

General discussion

Command Line Wireless Network Help Needed

by mkruluts / December 29, 2008 8:03 AM PST

OS: Microsoft Windows XP SP2/SP3

Problem:
Starting off what I need is strictly for professional use, and is not for any 'Hacking' or illegal activity. I have close to a hundred laptops I just recieved for my company, and I have six access points I have set up. The laptops connect to the domain through the access points... well, I have a lot of work to do. I have looked around the internet and the only way I was able to figure out how to simplify the connections was through windows wireless configuration with a directory on a jump drive with files like setupSNK.exe and WSETTINGS.WFC, however this isn't as easy as I would like it...

Objective:
I would like a command line script that will add the following to a Windows XP Wireless Preffered Connections:

Example:
SSID: Network WEP: 12345

If this cannot be done in command then I have another thing that could solve my problem... For some reason the autorun script only works right with the autoplay feature with removable storage, it wouldn't work if I just simply double click setupSNK.exe. How might I force the autoplay feature on a directory with an autorun.inf file using command line, If I simply use the 'Start' or 'Call' feature in my .bat file it just opens the Autorun.inf file for editing, I would simply like to execute the autorun.

If any of this makes sence please help, Questions like this have been asked before, however never answered... so I am hoping its just my searching abilities...

Discussion is locked
You are posting a reply to: Command Line Wireless Network Help Needed
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Command Line Wireless Network Help Needed
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
How to figure this out.
by R. Proffitt Forum moderator / December 29, 2008 10:29 AM PST

Look up the two utilities called REGMON and FILEMON. With these monitoring, manually add the connection. Stop monitoring and look at the log files.

Now write code in the language you write in to copy files and create/change the registry keys and then call Windows to reboot when done.

Works every time here. This is not an offer to write your application but to share how I got it done.
Bob

Collapse -
Doesn't Work
by mkruluts / December 29, 2008 12:06 PM PST

I already know the registry key that gets changed on the computer, however when I export the key and install it (even after a reboot) it still doesn't work... But thanks for trying to help.

Collapse -
Then you need both file and registry monitoring.
by R. Proffitt Forum moderator / December 29, 2008 10:46 PM PST
In reply to: Doesn't Work

I can only offer how I solved such an issue. You are now a reverse engineering programmer and would keep digging till you solved this issue.

You can also do this the hard way and export the entire registry and file lists from the hard disk and write an application to find what's changed from before and after.

Then again you could pay Microsoft for this or talk to and pay them for their knowledge at http://www.netswitcher.com/

The NetSwitcher folk have this nailed. They know the answer.
Bob

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?