Enable network adapter in windows from command line?

w1z4rd

Karmic Sangoma
Joined
Jan 17, 2005
Messages
52,146
Reaction score
8,340
Location
127.0.0.1
Okay, heres my problem. I have a machine that I disabled its network adapter by mistake. This machine logs into a domain to login.

Now that I have disabled the network adapter I cant login to the domain, and it wont let you log into the local machine (or perhaps there is a user account difference.. Im not sure)

Is there a flat file in windows I can edit to enable the windows adapter again? Like an ini file where it has this setting?
 
Haven't tested either of these, but these might be useful once modified to your needs:
Vista
XP

Edit: Oooh... Looks like netsh.exe is what you're looking for
 
Ok, sorry, my bad, I was thinking command line as in edit a file. I am unable to login computer (for the DOS prompt) , so I was thinking of booting off a linux livecd and editing a file.
 
Can you not boot in "Safe mode with command line and networking"
?
 
Just logon to the local administrator account.
Enable network card.

If you have forgotten the local administrator account's password just reset it with a linux boot cd. (Can't remember the exact name of it)

EDIT: http://home.eunet.no/pnordahl/ntpasswd/
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X