'ipconfig' is not recognized as an internal or external command, operable program or batch file.
- I found another forum that said to do the following:
I just managed to fix this identical problem on a clients computer. What is causing it is the TCPIP.SYS file in C:\windows\system32\drivers is a fake that is nailed into place by some jiggering of the FAT database or something in the NTFS low level format. This forum and others helped me get past the blind alleys, so I'm returning the favor.
To fix the problem, you have to replace TCPIP.SYS with a good copy. Reinstalling Windows will not allow you to replace it. Starting in Safe Mode Command Prompt won't give you the ability to rename or delete TCPIP.SYS. Starting Windows from the CD and using the Repair Console will also fail unless you follow this set of steps.
1. Get a copy of TCPIP.SYS by searching "TCPIP.SYS" on your machine, looking in hidden files and folders. You'll get a bunch of hits. Right click the files and check the preferences to get the most recent version that has Revision data from Microsoft. The one in C:\windows\system32\drivers is not gonna have any file data associated with it, even though it is exactly the same size as the good file.
2. Put the copy of TCPIP.SYS on the root of your C: drive. I had a problem when I made a folder for it, so I recommend just copying it directly to root.
3. Restart your computer with a Windows XP CD (WIN2000 would also work, I think) and select the Repair console function. Log in as Administrator (better know your administrator password!).
4.Navigate to C:\windows\system32\drivers. You will be able to see the TCPIP.SYS file there is you type in DIR, but you won't be able to delete or rename it.
5. Type in "CHKDSK /P". This runs a disk check on your hard drive and fixes errors whether the System thinks you need it or not.
6. Type "del TCPIP.SYS" and press Return.
7. Type in "CHKDSK /P" and run the disk check again (yes, I tried to do do this without this step the first time and it didn't work).
8. Type in "copy C:\TCPIP.SYS". You should get a message that this completed correctly.
9. Type in "CHKDSK /P" one last time just to be sure (I didn't confirm that this was required, but why waste all the previous effort?)
10. Type in "Exit" and let the computer restart. Your internet access should be restored, the Windows Firewall will work, and ipconfig should be able to config IP.
Hope this helps. I spent two days chasing down this rotten bastich myself. Still don't know what caused it, since it was a client's computer, but I've seen it once or twice in the last three years. I'm thrilled that I finally found out how to fix it without reformatting the computer.
- I did all these steps, and it did not work. I am out of ideas, and am in desperate need of some help. I am connected to the internet through the main computer in my house. My computer is hooked up through the d-link which is connected to the main computer and the modem.
OS = windows xp pro