1.

Solve : Creating batch files for few useful settings or configurations.?

Answer»

Hi

Can somebody HELP me to create the batch files to change the IP address.
1) Batch file for setting the STATIC IP address.
2) Batch file for setting the Dynamic IP address.
3) Batch file for protecting the SYSTEM from USB Pen drives (Enabling/Disabling USB write & Detection of it.)

Regards,

Prasad.
Why do you want to do this from a batch file?There's a handy little utility called netsh that comes with Win2000 and forward that'll allow you to do all sorts of IP configuration things, such as:


netsh interface ip set address name="LAN1" static 192.168.0.1 255.255.255.0 192.168.0.2 1

and...

netsh interface ip set address "LAN1" dhcp

http://www.petri.co.il/configure_tcp_ip_from_cmd.htm has a lot more examples.

Try http://www.mydigitallife.info/2006/09/11/disable-auto-run-and-auto-play-of-u3-smart-drives-launchpad/ to see if you can get the AUTORUN turned off.



Discussion

No Comment Found