%SYSTEMROOT% set to wrong location

G

Guest

Thanks for taking the time to read my question.

I installed and then uninstalled MySQL and it seems that MySQL changes what
%SYSTEMROOT% is set to.

How can I set what %SYSTEMROOT% is equal to?

I can't run things like ipconfig by typing just that. I have to type
C:\Windows\System32\ipconfig

To fix this I went to:

My Computer - Properties - Advanced - Environment Variables and changed Path.

Path was set
to:%SYSTEMROOT%\system32;%SYSTEMROOT%;%SYSTEMROOT%\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System;C:\PROGRA~1\MICROS~2\Office;

and I changed it to:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System;C:\PROGRA~1\MICROS~2\Office;

It had %SYSTEMROOT% in it, and I changed it to C:\Windows.

I'd like to change it back to %SYSTEMROOT% if I could.

Thanks again for your help.

Brad
 
T

Torgeir Bakken \(MVP\)

Brad said:
Thanks for taking the time to read my question.

I installed and then uninstalled MySQL and it seems that MySQL changes what
%SYSTEMROOT% is set to.

How can I set what %SYSTEMROOT% is equal to?

I can't run things like ipconfig by typing just that. I have to type
C:\Windows\System32\ipconfig

To fix this I went to:

My Computer - Properties - Advanced - Environment Variables and changed Path.

Path was set
to:%SYSTEMROOT%\system32;%SYSTEMROOT%;%SYSTEMROOT%\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System;C:\PROGRA~1\MICROS~2\Office;

and I changed it to:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System;C:\PROGRA~1\MICROS~2\Office;

It had %SYSTEMROOT% in it, and I changed it to C:\Windows.

I'd like to change it back to %SYSTEMROOT% if I could.
Hi

Remove this part again:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;

Then download and run Fixpath.exe:

Fixpath.exe is in fixpath2.zip available here:
http://internet.cybermesa.com/~bstewart/misctools.html
 
G

Guest

Hi Torgeir,

I've tried running the exe from the zip file and from within a folder where
I extracted the files to. Neither worked.

The DOS screen comes up, and asks for a Y or N. I type Y and I assume it
does it's thing.

Then I go to properties of My Documents Advanced Environment and check Path,
and there is no value in that line. I took everything out like you said,
then ran the program.

Should it be putting new values in there, or did you mean that I was to
change

C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System;C:\PROGRA~1\MICROS~2\Office;

back to

%SYSTEMROOT%\system32;%SYSTEMROOT%;%SYSTEMROOT%\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System;C:\PROGRA~1\MICROS~2\Office;

Thanks again for your help.

Brad
 
T

Torgeir Bakken \(MVP\)

Brad said:
Hi Torgeir,

I've tried running the exe from the zip file and from within a folder where
I extracted the files to. Neither worked.

The DOS screen comes up, and asks for a Y or N. I type Y and I assume it
does it's thing.

Then I go to properties of My Documents Advanced Environment and check Path,
and there is no value in that line. I took everything out like you said,
then ran the program.

Should it be putting new values in there, or did you mean that I was to
change

C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System;C:\PROGRA~1\MICROS~2\Office;

back to

%SYSTEMROOT%\system32;%SYSTEMROOT%;%SYSTEMROOT%\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System;C:\PROGRA~1\MICROS~2\Office;
Hi

Try this:

Change the path to only contain this:

C:\Program Files\Common Files\Adaptec Shared\System;C:\PROGRA~1
\MICROS~2\Office;

Then run FIXPATH.EXE. You should run FIXPATH from a command prompt and
not Explorer to see what resulting messages comes out. It should say
something like this:

--------------------8<----------------------
Error! The minimum required directories were not found in the Path!
The Path has been updated successfully.

You must reboot for the change to take effect.

--------------------8<----------------------


Reboot as the utility instructs you to. Running ipconfig should now
work without adding the path in front of it.
 

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