The IPconfig command doesn't work - Geeks to Go Forums

Jump to content

Log in Register Register Malware removal guide How it works

The IPconfig command doesn't work

#1 Milktray

  • Group: Member
  • Posts: 11
  • Joined: 12-January 06

Posted 21 January 2006 - 08:36 AM

I have been trying to work out why my wireless internet system crashes occasionally. BUT when I try to run ipconfig in the command window it doesn't return anything. the cursor simply jumps to the next line and stays there flashing. I cant type or do anything on that line. all i can do is close the command window.

Hopefully this is the root of my internet problems and you guys can tell me simply how to fix it!

Thanx

Milktray

#2 bofh

  • Group: Member
  • Posts: 24
  • Joined: 05-January 06

Posted 21 January 2006 - 08:44 AM

i dont think this is the root of your problem but the correct syntaxt for the ipconfig command is

<ipconfig>

or <ipconfig/all>

if you want to see the options availble while using the ipconfig program type

<ipconfig /?>

note : the "<, >" arrows are to ilustrate that these are commands, ont actually type them in.

make sure you are doing this in a command line shell and not in the "run" box, that will give you the same results as you described.

#3 Milktray

  • Group: Member
  • Posts: 11
  • Joined: 12-January 06

Posted 23 January 2006 - 04:59 PM

Thanks for your help. Unfortunately, I've been doing all that already and actually I think there is a space before the /all but unfortunately it still doesn't work.

No, I suspect it isn't the root of the problem but more of a symptom that hopefully indicates the problem.

My knowledge of computers is somewhat limited. But why would ipconfig not work at all. I could understand if it printed out lines that talked about system faults; but hanging the window?

#4 SJSCHOO

  • Group: Member
  • Posts: 87
  • Joined: 01-October 05

Posted 23 January 2006 - 05:26 PM

Can you run it through the command prompt like so?

C:\DOCUME~1\*******>cd c:\windows\system32

C:\WINDOWS\SYSTEM32>ipconfig.exe

Windows IP Configuration


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.0.0.***
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.***

C:\WINDOWS\SYSTEM32>

#5 gerryf

  • Group: Retired Staff
  • Posts: 11,365
  • Joined: 18-March 05

Posted 23 January 2006 - 06:28 PM

Download FIXPATH2.ZIP. Extract the files to a folder in C:\, like C:\FIXPATH2.

RUNNING THE PROGRAM:
  • Open a command prompt window, navigate to the location where the FIXPATH.EXE file is located, and run FIXPATH.EXE.
  • It will display some preliminary information, and ask if it should continue.
  • If it successfully updates the Path value in the registry, you will need to
    reboot for the change to take effect.
If you have any questions about what this is doing, then make sure you read the FIXPATH.TXT file that was included in the zip file you downloaded and should now be located in C:\FIXPATH2, or whatever folder you extracted it to.

Fenor

#6 Milktray

  • Group: Member
  • Posts: 11
  • Joined: 12-January 06

Posted 24 January 2006 - 01:10 PM

Thanks guys,

Firstly, to answer SJSCHOO

The exact same thing happens in the system 32 file unfortunately.

Secondly, to answer gerryf,

I managed to get Fixpath to run. It returned that the path name was correct. In fact, having read someones comments earlier, I checked the path manually. It is:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel

The only difference between this and the text book example is that it has the ATI control panel added. (I presume this is something to do with my monitor - fixpath mentions that the text book path is only a minimum length) Should it be here?

I don't dare remove it for fear of killing the screen.

In the notes of fixpath it mentions several error messages it fixes. Unfortunately my problem doesn't return any error messages. It is as if ipconfig begins to run but then hangs for some reason (i.e. the cursor drops to the next line and does nothing but flash)


Thanks for all your help guys.

#7 gerryf

  • Group: Retired Staff
  • Posts: 11,365
  • Joined: 18-March 05

Posted 24 January 2006 - 02:33 PM

ddoes the file exist in c:\windows\system32?

#8 Milktray

  • Group: Member
  • Posts: 11
  • Joined: 12-January 06

Posted 25 January 2006 - 04:36 PM

yes it does

#9 Milktray

  • Group: Member
  • Posts: 11
  • Joined: 12-January 06

Posted 29 January 2006 - 04:33 PM

the file exists and runs in exactly the same manner when I select it. Does this mean that the programme itself is corrupt in some way?

I don't know exactly how the ipconfig command works so I don't know what could be causing it to hang.

#10 Milktray

  • Group: Member
  • Posts: 11
  • Joined: 12-January 06

Posted 30 January 2006 - 12:54 PM

I just ran NETSH DIAG GUI. it reported that

netgear adapters>netgear wireless USB adapter> IP address 192.168.0.xxx

failed



Does this help explain anything?

#11 dsenette

  • Group: Administrator
  • Posts: 25,677
  • Joined: 21-April 05

Posted 30 January 2006 - 01:03 PM

it may explain why your wireless setup keeps failing..but doesn't explain why ipconfig doesn't work at all

try making a batch file with the following in it (to make a batch file, copy the text below into a text file and change the file extension to .bat instead of .txt. you may have to uncheck the 'hide extensions for known file types' in the folder options in my computer)

runas /user:Administrator "cmd.exe /t:17 /k cd %systemroot%\system32" 


this will bring up a command prompt when you run the batch file, asking for the administrator password (which...hopefully you know) once you put in that password it will open up a blue command prompt...try running ipconfig /all from there

#12 Milktray

  • Group: Member
  • Posts: 11
  • Joined: 12-January 06

Posted 30 January 2006 - 01:14 PM

OK - you may clasp your heads and say 'why hasn't he tried this before' (I apologis for my asinine computing skills) but it seems that a free version of Norton Firewall on my computer wasn't allowing Ipconfig to work. I took it off and ipconfig works fine. I re-ran NETSH DIAG GUI and that passed all the tests.

I presume I should reconnect norton firewall and that the fact that ipconfig doesnt work is for my own protection? or shall i get a free firewall/antivirus software?

#13 dsenette

  • Group: Administrator
  • Posts: 25,677
  • Joined: 21-April 05

Posted 30 January 2006 - 01:15 PM

hehehe...that does make sense there....i would imagine that there is a setting withint the firewall to allow ipconfig...i don't know why it would block that...as ipconfig i rellatively harmless...

Share this topic: