PDA

View Full Version : Enable network adapter in windows from command line?



ghoti
10-10-2008, 12:45 PM
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?

sn3rd
10-10-2008, 12:50 PM
Haven't tested either of these, but these might be useful once modified to your needs:
Vista (http://www.microsoft.com/technet/scriptcenter/resources/qanda/sept08/hey0929.mspx)
XP (http://forums.speedguide.net/showthread.php?t=203284)

Edit: Oooh... Looks like netsh.exe is what you're looking for

ghoti
10-10-2008, 12:52 PM
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.

sn3rd
10-10-2008, 01:00 PM
Can you not boot in "Safe mode with command line and networking"
?

alternate
10-10-2008, 03:14 PM
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/

The_Librarian
10-10-2008, 03:23 PM
don't you love windows?

the setting is probably somewhere within the windows registry...

PsyWulf
10-10-2008, 03:56 PM
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/

Precisely how to do it