?
Solved

reset environment variables XP pro

Posted on 2009-04-29
6
Medium Priority
?
1,952 Views
Last Modified: 2012-08-13
I cloned my C: hard drive and have had some little problems since.
What is happening now is that in the command window, neither ping or ipconfig work unles I change the path to c:\windows\system32.
This tells me the environment variables (path for example) are not available somehow. I look in control panel/system/advanced/environment variables and edit the 'path' variable and see that %systemroot% is there and I do 'set' in the command window and see that the %systemroot% variable is 'C:\windows' as is appropriate. %systemroot%\system32 is also in the path statement.
And yet it does not work in the command window.

What can I do to fix this?
I am thinking a registry entry is hosed but don't know where to look.
Maybe the problem is the command window since most other things seem OK after a few re-installes.
0
Comment
Question by:Liefr
  • 3
  • 3
6 Comments
 
LVL 14

Accepted Solution

by:
BigBadWolf_000 earned 2000 total points
ID: 24267033
0
 
LVL 14

Expert Comment

by:BigBadWolf_000
ID: 24267064
the two attached files....one for local machine settings and the other for currrent user setting......rename extension to reg and you can import into registry (double click on file)..they set env paths to common default...you can do so manually if you want to...just follow the registry key paths.

Hope this helps

localmachine.txt
currentusr.txt
0
 

Author Comment

by:Liefr
ID: 24326288
sorry guys, I have been distracted recently.

I will respond soon on your suggestions.

Lief
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Liefr
ID: 24326795
ok, then ... thanks to your suggestion I found that my environment variable for 'Path' was not the expandable type.
How it got changed may remain one of lifes little mysteries.
I copied the value, deleted and re-added the key, rebooted and it works again ...

a miracle.

Thanks BigBad ...
0
 

Author Closing Comment

by:Liefr
ID: 31576277
I was impatient with info I thought I already knew but the answer was there.
0
 
LVL 14

Expert Comment

by:BigBadWolf_000
ID: 24331254
Your welcome, glad it worked out :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question