Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: cmd prompt ipconfig, ping not working

07 Apr 2011   #1
freakmoister

windows 7 64bit
 
 
cmd prompt ipconfig, ping not working

Hi Guys,

I'm currently having problems with cmd prompt.
The issue happened like this.

Yesterday I was trying to create a shortcut to cmd prompt so after typing 'cmd' in the search bar after pressing start, I dragged the 'cmd.exe' that search found out onto the desktop.

I didn't use 'cmd.exe' on the desktop it straight away, as I was doing other stuff, but the computer was later restarted.

I tried using 'cmd.exe' from the desktop today but issuing 'ping' and 'ipconfig' did nothing. See below I've typed out what I see when I issue the commands, nothing happens, it just goes back to the prompt again. I also noticed that the start location is different from usual, it's "C:\Users\***>" as opposed to the default start directory.

C:\Users\*****>ipconfig

C:\Users\*****>ping 4.4.4.4

C:\Users\*****>

I then checked C:\Windows\Systems32 and found that the cmd.exe had been actually pulled out and is the 'cmd.exe' on the desktop, I put it back in but now the two commands still doesn't work. ipconfig.exe and ping.exe are all in the folder.

I tried changing my environment variables but they've not helped. I'm not sure what could be the problem and if anyone can help it'd be much appreciated.

Thanks


My System SpecsSystem Spec
.

07 Apr 2011   #2
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Hi,

Does cmd still appear in the search box under the Start Orb?

Regards,
Golden
My System SpecsSystem Spec
07 Apr 2011   #3
freakmoister

windows 7 64bit
 
 

yes it does, the cmd.exe I find from start will have a starting directory of 'c:\users\***>" while if I start the cmd prompt in the Systems32 folder the start directory would be "c:\windows\system32>"

However starting from both places results in the same thing when I issue ping or ipconfig.
My System SpecsSystem Spec
.


07 Apr 2011   #4
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit
 
 

Did you use this as the target in the properties tab of the shortcut?


%windir%\system32\cmd.exe
My System SpecsSystem Spec
07 Apr 2011   #5
freakmoister

windows 7 64bit
 
 

Hi, I've just tried it, it didn't make any changes.

In trying to fix the problem, I've deleted the 'PATH' variable in environ vars. I don't think that was a good idea, so I've found some default values off the web and currently my PATH variable is set to

"C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Perl64\site\bin;C:\Perl64\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\CREDANT\Shield v6.8\;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files (x86)\QuickTime\QTSystem\;C:\OpenCV2.2\bin;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\"

Thanks for your help.
My System SpecsSystem Spec
07 Apr 2011   #6
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Bleh......how do you feel about going back to a previous restore point? I can't think of anything else...but perhaps others can.

Regards,
Golden
My System SpecsSystem Spec
07 Apr 2011   #7
Hopalong X

Windows7 Pro 64bit SP-1; Windows XP Pro 32bit
 
 

Do a System Restore as Golden suggested and get things back to normal.

Then use this tutorial to make the shortcut.
Elevated Command Prompt Shortcut
My System SpecsSystem Spec
07 Apr 2011   #8
freakmoister

windows 7 64bit
 
 

okay, I will post result after I try the restore tomorrow.

thx guys~
My System SpecsSystem Spec
07 Apr 2011   #9
freakmoister

windows 7 64bit
 
 

Hi guys,

I've tried the system restore but it failed to restore.

Is there anything else I can try~~

Thanks
My System SpecsSystem Spec
07 Apr 2011   #10
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Dumb question, did you set cmd to run as administrator - right click on cmd > shortcut tab > advanced > check the box "run as admin" > OK > Apply.
My System SpecsSystem Spec
Reply

 cmd prompt ipconfig, ping not working




Thread Tools





Similar help and support threads
Thread Forum
Atheros AR5B95 Radio can ping google in command prompt but
Atheros AR5B95 Radio can ping google in command prompt but when I go to a browser I get a cannot connect to website error. if I use a lan line I can connect just fine if I use a external wifi device can connect just fine is. Any thoughts about what would cause such a condition. Have reformatted and...
Network & Sharing
CMD Prompt has malfunctioning IPCONFIG
So somehow when I put in ipconfig into my Cmd prompt window I get this: Tunnel adapter Local Area Connection* 714: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Tunnel adapter Local Area Connection* 716: Media State . . . . . . . ....
Network & Sharing
Internet not working, windows update, ping, DNS, etc. working fine
Hello, I've got a Dell laptop here that isn't functioning properly. I can't get this to work for the life of me! I am currently using this laptop with a different hard drive, it's the install on the SSD that doesn't work. I know that the quick fix would be to simply reload windows, but I don't...
Network & Sharing
Internet not working and ipconfig problem
Hi windows 7 said I am connected to the Internet but I have limited activity. I've tried tons of things and nothing seemed to work. I even tried to reset winsock, didn't work. I did tons of things and nothing so I decided to create a help thread to see if anyone can assist me. Help is needed and...
Network & Sharing
ipconfig /release ipconfig /renew fail
So I was messing around on my laptop yesterday trying different things one of them being able to get a new ip address. I read /release /renew did this however I was mistaken. ipconfig /renew does not work because my media is disconnected. I essentially seem to have lost my ip address and am having...
Network & Sharing
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 00:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App