Windows 7 Command prompt
some functions are restricted to elevated privilegesPosted 4 years agodan1980Member
Ping and tracert are standard user level commands, so shouldn’t need elevated privilages.
First check the commands are actually there (e.g. C:\windows\system32\ping.exe), then check that the paths variables haven’t been changed (System – advanced system settings – advanced – enviromental variables), and are pointing to the relavent places where these commands can be found e.g. %SystemRoot%\system32;
edited to add: missed the bit where you said it works in elevated mode… sorry!Posted 4 years ago
When I try to run things like ping, tracert and ipconfig from the DOS prompt its coming up as “‘ping’ is not recognized as an internal or external command, operable program or batch file.”
Same applies for other things too. I can get “dir” to bring up a directory listing though.
If I run cmd.exe as an admin it works fine, but not as a local user (I am an admin on the machine).
Any suggestions?Posted 4 years agodan1980Member
Open up the system control panel, click on Advanced System Settings, go to the Advanced tab if needed, and click on the Enviromental Variables button.
Scroll down the list of System variables, until you see Path, click on it, then edit.
There’ll be a job lot of text, separated by semi-colons.
Here’s mine below:
C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static; D:\crysis-2\bin32;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\PHP
You’ll want to look for the %SystemRoot% entries, and modify them to C:\Windows\System32 (or whetherever your System 32 dir is) or if they’re not present, add them.
Click the image below to make it bigger…Posted 4 years ago
The topic ‘Windows 7 Command prompt’ is closed to new replies.