Skip to main content

Disable Local Area Connection in Command Prompt

More
20 years 9 months ago #3028 by CeriR
Hi All,

I'm desperate for this so please help! :oops:

Have just built an XP image and syspreped it. All working fine except for one issue... Sysprep re-enables the Local Area Connection which I had previusly disabled ARRGH!

Is there a DOS command which I can put in my startup script that will disable the local area connection - I've run into a brick wall with this so far!

Cheers,
Ceri
More
20 years 9 months ago #3033 by sahirh
Yep you're in luck, have a look at the netsh commands, there are little things like 'interface' and 'offline' over there. Microsoft has a whole reference somewhere but the internal help might help you.
Type netsh <enter>
? <enter>

I almost answered this saying 'ifconfig eth0 down' hehe

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
20 years 9 months ago #3034 by tfs
Try this address:

www.foxpop.co.uk/pc/network_01.htm

There is also plenty of other links to other sites that have explanations on netsh. Looks like what you might be looking for.

Thanks,

Tom
More
20 years 9 months ago #3038 by CeriR
:D :D Thanks for the help all - will have a look around netsh today!

Cheers,
Ceri
Time to create page: 0.132 seconds