Windows 7 environment variable not removable





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







4















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





























    4















    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

























      4












      4








      4








      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














      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?







      windows-7 command-line cygwin environment-variables






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 12 '12 at 12:10









      walderichwalderich

      214




      214






















          2 Answers
          2






          active

          oldest

          votes


















          1














          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































            1














            check the registry:



            For System Variables:



            HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment



            For User Variables:



            HKEY_CURRENT_USEREnvironment






            share|improve this answer
























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f435742%2fwindows-7-environment-variable-not-removable%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              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




























                1














                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


























                  1












                  1








                  1







                  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













                  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












                  share|improve this answer



                  share|improve this answer










                  answered Jun 12 '12 at 15:00









                  FranFran

                  4,5171521




                  4,5171521

























                      1














                      check the registry:



                      For System Variables:



                      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment



                      For User Variables:



                      HKEY_CURRENT_USEREnvironment






                      share|improve this answer




























                        1














                        check the registry:



                        For System Variables:



                        HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment



                        For User Variables:



                        HKEY_CURRENT_USEREnvironment






                        share|improve this answer


























                          1












                          1








                          1







                          check the registry:



                          For System Variables:



                          HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment



                          For User Variables:



                          HKEY_CURRENT_USEREnvironment






                          share|improve this answer













                          check the registry:



                          For System Variables:



                          HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment



                          For User Variables:



                          HKEY_CURRENT_USEREnvironment







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jun 19 '12 at 19:52









                          SeanCSeanC

                          3,35421426




                          3,35421426






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f435742%2fwindows-7-environment-variable-not-removable%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Probability when a professor distributes a quiz and homework assignment to a class of n students.

                              Aardman Animations

                              Are they similar matrix