JAUHARI

Everything Is POSSIBLE

[Resolved]: Can Not Run Any Windows Command Prompt

Last day I got a problem with my laptop. I could not run any windows command prompt, such as ping, nslookup and tracert. I restarted it and gave no solution, the problem was still remain.

Command Not Working

I found this page on Google. It told me that Windows can not resolve the %SystemRoot% Environment Variable that can be checked by running “path” command. It returned:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;

To solution for this problem was founded here where the step by step is instructed below.

  1. Go to: Start > Run > Regedit
  2. Check: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    Make sure that the registry key holding the path is of Reg_Expand_SZ type rather Reg_SZ type
  3. If the holding key is Reg_SZ change it into Reg_Expand_SZ by:
    • Double Click “Path” and copy it’s Data Value “…%SystemRoot%\system32;%SystemRoot%; …” to avoid to rewrite it again
    • Delete the “Path”
    • Create New > Expandable String Value
    • Give “Path” as the name, double click it, and Paste the value copied in the previous step to the “Value Data” field
  4. Close the Regedit window and restart the laptop

Once the Windows is finish from loading, the command prompt works again.

Command Works Again

Any comments or suggestions? Just as usual. Write it in the form below.

If you enjoyed this post, make sure you
Subscribe to my RSS feed!

4 Comments in 4 threads. Trackback URI

2008-04-12 03:24:24

Comment by anon

MyAvatars 0.2

Awesome! I had the same problem. Thank you,

 
2008-04-05 15:09:02

Comment by W3G

MyAvatars 0.2

i experienced this kind of problem once, although what I did is I reformatted my drive.
-W3G

 
2008-03-17 14:32:23

Comment by fedmich

MyAvatars 0.2

yup, happened to me once, but I didnt fixed it this way…. I used the advanced tab on “My Computer” properties

 
2008-02-23 00:08:10 Subscribed to comments via email

Comment by ebeSS

MyAvatars 0.2

suwun sam wis mampir . . . . kuwalikan karo ayas . . .
kera ngalam . . . sak iki nggik jogja-salatiga . . wis ngono sik . . :)>-

 

Respond

Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)

Smileys:
:) :( :d :"> :(( \:d/ :x 8-| /:) :o :-? :-" :-w ;) [-( :)>- more »

You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Comments links could be nofollow free.



  • Archives

  • High Quality Free WordPress Themes
  • Earn $$ with WidgetBucks!
  • Your Ads Here