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

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

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Hi,

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

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

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

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

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

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 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

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

windows 7 64bit
 
 

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

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

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 for2: cmd prompt ipconfig, ping not working
Thread Forum
CMD Prompt has malfunctioning IPCONFIG Network & Sharing
Internet not working, windows update, ping, DNS, etc. working fine Network & Sharing
Internet not working and ipconfig problem Network & Sharing
Help me to get my command prompt working in Windows 7 General Discussion
Command prompt not working General Discussion
ipconfig /release ipconfig /renew fail Network & Sharing
Command Prompt command <ipconfig> not working 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 11:09 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33