Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed MKS on Windows 7 and with it MKS Toolkit was silently installed. This also seems to set some global environment variables like "TERM" and "TERMCAP". As these variables won't work together with cygwin I uninstalled MKS Toolkit again. But unfortunately the variables are still present.

I now have the problem that I only see those variables on the command line. I can not find them anywhere else. They do not appear under the GUI nor in the registry. How is this possible and how can I remove them anyway?

The only way I get cygwin to work correctly is to explicitly set all the invalid variables to an empty value. But this feels quite wrong. So where can I find and remove them correctly?

share|improve this question

Perhaps commands were appended to your ~/.profile, ~/.bash_profile, or ~/.bashrc files by the MKS installer? If you can't find them in the Registry, then they are being set using traditional UNIX mechanisms (e.g., shell startup scripts). You should also check /etc/profile and the files under /etc/profile.d.

share|improve this answer

check the registry:

For System Variables:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

For User Variables:

HKEY_CURRENT_USER\Environment

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .