2k8 cmd problem
one of my 2k8 server can not execute a command like ipconfig,ping and etc it says command not found it is external or internal command. can anyone please help me out.
July 8th, 2011 4:14am
It sounds like you have lost some directories from your path. Are you able to execute 'path' at a command prompt? If not can you change directory to windows\system32 and execute 'path'. If you can then also try 'ping' from here also.
If this works then you just need to add your windows\system32 folder to the path on the environment variables screen.Alan Moseley
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2011 4:52am
set environment variable
Right click "My Computer" and click "Properties". Click the "Advanced system settings " tab up top followed by the "Environment Variables" button at the bottom. In the 2nd list box, scroll down to the 5th or 6th entry "Path", select it and click
"Edit". Add
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ Okay the changes and try out your commands now.
http://www.virmansec.com/blogs/skhairuddin
July 8th, 2011 7:11am
It is the case of mess up environment variables.
My Computer | Advance | Environment Variable
At the system variable panel, choose path then click the
Edit button.
Make sure you have the entry %systemroot%\system32;
Thanks
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2011 8:26am
It is the case of mess up environment variables.
My Computer | Advance | Environment Variable
At the system variable panel, choose path then click the
Edit button.
Make sure you have the entry %systemroot%\system32;
Thanks
Run SystemPropertiesAdvance.exe (unless your path is screwy... C:\windows\system32\systempropertiesadvance.exe)
Click Environment variables - Under System Variables group box, on the list edit your Path variable. You can copy and paste any of the following if you see that they are not present.
Your path variable should resemble as follows.
Windows Server 2008 - The bold/italicised is optional based on the factor of SQL Server being present on your server
C:\windows\system32;c:\windows;c:\windows\system32\wbem; - 64 Bit
C:\windows\system32;c:\windows;c:\windows\system32\wbem; - 32 Bit
C:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\program files (x86)\Microsoft SQL Server\80\Tools\Binn\ - 64-bit with SQL Server
Windows Server 2008 R2
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Imaging\;C:\Windows\idmu\common
Best Regards,Steve Kline
Microsoft Certified IT Professional: Server Administrator
Microsoft Certified Technology Specialist: Active Directory, Network Infrastructure, Application Platform, Windows 7
Microsoft Certified Product Specialist & Network Product Specialist
Red Hat Certified System Administrator
Microsoft® Community Contributor Award 2011
This posting is "as is" without warranties and confers no rights.
July 8th, 2011 9:38am


