Path not working

R

Ralph

I am running windows 2000 and have recently been hit by some trojans,
webdialer and virus's.
I am using Kerio 2.1.5, AdAware SE and Spybot to remove them.
All are gone, but my Path environment variable does not work any more.

In System Properties it appears like
C:\WINNT\SYSTEM32;C:\WINNT etc
and when I edit it %SystemRoot%\system32;%SystemRoot% etc

If I go Start / Run / command / path, I get
%SystemRoot%\system32;%SystemRoot% etc instead of C:\WINNT\SYSTEM32;C:\WINNT
etc

Any ideas as to how to fix this without a reinstall of w2000?
 
J

Jerold Schulman

I am running windows 2000 and have recently been hit by some trojans,
webdialer and virus's.
I am using Kerio 2.1.5, AdAware SE and Spybot to remove them.
All are gone, but my Path environment variable does not work any more.

In System Properties it appears like
C:\WINNT\SYSTEM32;C:\WINNT etc
and when I edit it %SystemRoot%\system32;%SystemRoot% etc

If I go Start / Run / command / path, I get
%SystemRoot%\system32;%SystemRoot% etc instead of C:\WINNT\SYSTEM32;C:\WINNT
etc

Any ideas as to how to fix this without a reinstall of w2000?

And what happens when you use the REAL command processor,
Start / run /cmd/OK. instead of the 16bit command processor?



Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
D

Dave Patrick

Check that "Path" found at
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
is a type Reg_Expand_Sz string and not type Reg_Sz

You can run Programs|Accessories|System Tools|Backup, then choose ERD, then
if you check the box for "Also backup....", then the reg will also be backed
up to
%windir%\repair\RegBack
leaving the
%windir%\repair\
directory files intact as original installation.

Then close all programs, run regedit, navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
rename the Reg_Sz string "Path" to "Pathx" Then run regedt32, navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
double-click on Pathx, then right-click|Copy the string then from the menu;
Edit|Add Value
Value Name:=Path
Data Type:=REG_EXPAND_SZ
OK
then paste the string (copied from Pathx) in the string editor text box.
OK
Should be ok to delete the old value "Pathx" Close regedit, and regedt32,
restart for effect.


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I am running windows 2000 and have recently been hit by some trojans,
| webdialer and virus's.
| I am using Kerio 2.1.5, AdAware SE and Spybot to remove them.
| All are gone, but my Path environment variable does not work any more.
|
| In System Properties it appears like
| C:\WINNT\SYSTEM32;C:\WINNT etc
| and when I edit it %SystemRoot%\system32;%SystemRoot% etc
|
| If I go Start / Run / command / path, I get
| %SystemRoot%\system32;%SystemRoot% etc instead of
C:\WINNT\SYSTEM32;C:\WINNT
| etc
|
| Any ideas as to how to fix this without a reinstall of w2000?
|
| --
| remove n u m b e r s to reply
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top