Simulating the Windows key on an old keyboard












29














I'm using a very old keyboard that doesn't have a physical Windows key — it does have a 5/180° connector and an AT/XT switch on the back — but I don't want to completely miss out on the functionality of the Windows key.



Is there some group of keys in Windows 7 Pro that simulates Win when used together? In other words, I want to be able to take any key combination that uses Win, mentally remove Win and drop in this other group of keys and have the original combo work.



If no such combination exists, how can I create one?



I know that I could just plug in a newer keyboard that has a Windows key, but the whole point of this question is to avoid that. None of the existing windows-key questions seem to address this; the closest is this one, but it doesn't actually say how to create the mapping.



This is for my work computer, so "install this utility/plugin" isn't a good option for me. Feel free to answer with those for the benefit of others, though.










share|improve this question




















  • 1




    Look at AutoIt or AutoHotKey, you can setup a hotkey combo for the winkey.
    – MaQleod
    Sep 8 '11 at 18:48










  • I didn't think Windows 7 would run on anything that could accept a keyboard with a 5/180 connector!
    – Iszi
    Sep 8 '11 at 20:04










  • @Iszi, you're probably right! I happen to have a little PS/2 converter.
    – Pops
    Sep 8 '11 at 22:08










  • Anecdote warning: @Iszi win7-x64 ultimate runs fine on my core i7 with IBM Model M (a solid keyboard with PS/2 connector, made in 1991!). And a coworker is replacing his DIN5 model M because the DIN to PS2 plug is worn out.
    – Hennes
    Mar 9 '14 at 16:30
















29














I'm using a very old keyboard that doesn't have a physical Windows key — it does have a 5/180° connector and an AT/XT switch on the back — but I don't want to completely miss out on the functionality of the Windows key.



Is there some group of keys in Windows 7 Pro that simulates Win when used together? In other words, I want to be able to take any key combination that uses Win, mentally remove Win and drop in this other group of keys and have the original combo work.



If no such combination exists, how can I create one?



I know that I could just plug in a newer keyboard that has a Windows key, but the whole point of this question is to avoid that. None of the existing windows-key questions seem to address this; the closest is this one, but it doesn't actually say how to create the mapping.



This is for my work computer, so "install this utility/plugin" isn't a good option for me. Feel free to answer with those for the benefit of others, though.










share|improve this question




















  • 1




    Look at AutoIt or AutoHotKey, you can setup a hotkey combo for the winkey.
    – MaQleod
    Sep 8 '11 at 18:48










  • I didn't think Windows 7 would run on anything that could accept a keyboard with a 5/180 connector!
    – Iszi
    Sep 8 '11 at 20:04










  • @Iszi, you're probably right! I happen to have a little PS/2 converter.
    – Pops
    Sep 8 '11 at 22:08










  • Anecdote warning: @Iszi win7-x64 ultimate runs fine on my core i7 with IBM Model M (a solid keyboard with PS/2 connector, made in 1991!). And a coworker is replacing his DIN5 model M because the DIN to PS2 plug is worn out.
    – Hennes
    Mar 9 '14 at 16:30














29












29








29


8





I'm using a very old keyboard that doesn't have a physical Windows key — it does have a 5/180° connector and an AT/XT switch on the back — but I don't want to completely miss out on the functionality of the Windows key.



Is there some group of keys in Windows 7 Pro that simulates Win when used together? In other words, I want to be able to take any key combination that uses Win, mentally remove Win and drop in this other group of keys and have the original combo work.



If no such combination exists, how can I create one?



I know that I could just plug in a newer keyboard that has a Windows key, but the whole point of this question is to avoid that. None of the existing windows-key questions seem to address this; the closest is this one, but it doesn't actually say how to create the mapping.



This is for my work computer, so "install this utility/plugin" isn't a good option for me. Feel free to answer with those for the benefit of others, though.










share|improve this question















I'm using a very old keyboard that doesn't have a physical Windows key — it does have a 5/180° connector and an AT/XT switch on the back — but I don't want to completely miss out on the functionality of the Windows key.



Is there some group of keys in Windows 7 Pro that simulates Win when used together? In other words, I want to be able to take any key combination that uses Win, mentally remove Win and drop in this other group of keys and have the original combo work.



If no such combination exists, how can I create one?



I know that I could just plug in a newer keyboard that has a Windows key, but the whole point of this question is to avoid that. None of the existing windows-key questions seem to address this; the closest is this one, but it doesn't actually say how to create the mapping.



This is for my work computer, so "install this utility/plugin" isn't a good option for me. Feel free to answer with those for the benefit of others, though.







keyboard keyboard-shortcuts windows-key






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 20 '17 at 10:17









Community

1




1










asked Sep 8 '11 at 18:42









Pops

4,695246390




4,695246390








  • 1




    Look at AutoIt or AutoHotKey, you can setup a hotkey combo for the winkey.
    – MaQleod
    Sep 8 '11 at 18:48










  • I didn't think Windows 7 would run on anything that could accept a keyboard with a 5/180 connector!
    – Iszi
    Sep 8 '11 at 20:04










  • @Iszi, you're probably right! I happen to have a little PS/2 converter.
    – Pops
    Sep 8 '11 at 22:08










  • Anecdote warning: @Iszi win7-x64 ultimate runs fine on my core i7 with IBM Model M (a solid keyboard with PS/2 connector, made in 1991!). And a coworker is replacing his DIN5 model M because the DIN to PS2 plug is worn out.
    – Hennes
    Mar 9 '14 at 16:30














  • 1




    Look at AutoIt or AutoHotKey, you can setup a hotkey combo for the winkey.
    – MaQleod
    Sep 8 '11 at 18:48










  • I didn't think Windows 7 would run on anything that could accept a keyboard with a 5/180 connector!
    – Iszi
    Sep 8 '11 at 20:04










  • @Iszi, you're probably right! I happen to have a little PS/2 converter.
    – Pops
    Sep 8 '11 at 22:08










  • Anecdote warning: @Iszi win7-x64 ultimate runs fine on my core i7 with IBM Model M (a solid keyboard with PS/2 connector, made in 1991!). And a coworker is replacing his DIN5 model M because the DIN to PS2 plug is worn out.
    – Hennes
    Mar 9 '14 at 16:30








1




1




Look at AutoIt or AutoHotKey, you can setup a hotkey combo for the winkey.
– MaQleod
Sep 8 '11 at 18:48




Look at AutoIt or AutoHotKey, you can setup a hotkey combo for the winkey.
– MaQleod
Sep 8 '11 at 18:48












I didn't think Windows 7 would run on anything that could accept a keyboard with a 5/180 connector!
– Iszi
Sep 8 '11 at 20:04




I didn't think Windows 7 would run on anything that could accept a keyboard with a 5/180 connector!
– Iszi
Sep 8 '11 at 20:04












@Iszi, you're probably right! I happen to have a little PS/2 converter.
– Pops
Sep 8 '11 at 22:08




@Iszi, you're probably right! I happen to have a little PS/2 converter.
– Pops
Sep 8 '11 at 22:08












Anecdote warning: @Iszi win7-x64 ultimate runs fine on my core i7 with IBM Model M (a solid keyboard with PS/2 connector, made in 1991!). And a coworker is replacing his DIN5 model M because the DIN to PS2 plug is worn out.
– Hennes
Mar 9 '14 at 16:30




Anecdote warning: @Iszi win7-x64 ultimate runs fine on my core i7 with IBM Model M (a solid keyboard with PS/2 connector, made in 1991!). And a coworker is replacing his DIN5 model M because the DIN to PS2 plug is worn out.
– Hennes
Mar 9 '14 at 16:30










6 Answers
6






active

oldest

votes


















16














Remap your capslock key with a quick registry hack? The Caps lock key is worthless.



Paste this into a file called something like remap_caps_to_windows.reg and double click it. You must restart for the changes to take affect



Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5c,e0,3a,00,00,00,00,00





share|improve this answer























  • Hey, that must be the approach mentioned in the related post. I'll give it a try once I figure out how to back up the current setting.
    – Pops
    Sep 8 '11 at 19:35










  • Just open regedit, go to that subkey HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout right click and choose export. But there really isn't much to backup. On a clean install of Windows there is no Scancode Map setting in the registry. So if you don't like what this does simply delete the Scancode Map value.
    – Zoredache
    Sep 8 '11 at 19:38












  • BTW, what this does is a bit different from what the Microsoft tool in the other answer does. That builds a new layout, this just applies a small remapping to your current layout. The results could be similar but the method is different.
    – Zoredache
    Sep 8 '11 at 19:40










  • @Zoredache: There are GUI interfaces for doing the same thing, as mentioned in my answer.
    – paradroid
    Sep 8 '11 at 20:03










  • @paradroid, I know, but I was just saying that the tool suggested in this answer didn't tweak the scanmap. BTW, what is so great about GUIs. We are superusers after all, we like messing around in the registry. :) Also, I was paying close attention to his no external software requirement.
    – Zoredache
    Sep 8 '11 at 20:07





















10














CTRL-ESC brings up the Start Menu.



Unfortunately, it does not allow the other windows key shortcut functions. For instance CTRL-ESC-Pause/Break will not bring up system properties. And CTRL-ESC-R will only bring up Run if you release CTRL-ESC before striking R, and then it'll only work if there aren't any entries in your Start Menu beginning with "R".






share|improve this answer





























    5














    You could create a custom keyboard layout with the key remapped.



    Microsoft Keyboard Layout Creator may be able to do the job.






    share|improve this answer





























      4














      You can remap any key to be a Windows key using KeyTweak.



      It's just a GUI interface to the registry, so does the same thing as what Zoredache suggests in his answer.



      KeyTweak






      share|improve this answer































        2














        In Windows 10 the keymap suggested in the accepted answer maps Z and M to B and maps B to Z.



        It was funny until I realized my username has an "M" in it. Thankfully Win10 has the on screen keyboard option in the accessibility options during login, but this wouldn't show up for the "Run as administrator" dialog.



        Anyway, using SharpKeys I found the correct map for CAPS LOCK to Win is this:



        Windows Registry Editor Version 5.00
        [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
        "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5b,e0,3a,00,00,00,00,00





        share|improve this answer





















        • I did not have that issue, do you use a U.S. keyboard layout? DVORAK? International U.S?
          – Jonathan
          Dec 4 at 3:02










        • Nope, an old Compaq QWERTY from the mid 90s
          – music2myear
          Dec 4 at 4:40



















        1














        In AutoIt, this should do it using Ctrl + Shift + w:



        HotKeySet("^+w", "WinKey")

        While 1
        Sleep(100)
        WEnd

        Func WinKey()
        Send("#")
        EndFunc


        AutoIt does not need to be installed on a computer for it to run. It can be compiled into an executable that contains the interpreter so that it can run on any windows machine. You also don't need to install it to write and compile, you can simply use the zip download.






        share|improve this answer



















        • 1




          Can you not use AutoHotkey to avoid that sleep() spinlock?
          – RJFalconer
          Sep 8 '11 at 18:58










        • @RJFalconer, the while loop is what keeps it running indefinitely, the sleep(100) keeps it from maxing out the processor. Even if you don't explicitly state this in an AutoHotkey script, it still employs similar behavior, it is inherently necessary in programming to loop to keep a program or script running.
          – MaQleod
          Sep 8 '11 at 19:01












        • I used autohotkey and set it to be F1, while I was there I also set F6-12 as multimedia keys.
          – Ziv
          Sep 13 '11 at 12:11











        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%2f333445%2fsimulating-the-windows-key-on-an-old-keyboard%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        6 Answers
        6






        active

        oldest

        votes








        6 Answers
        6






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        16














        Remap your capslock key with a quick registry hack? The Caps lock key is worthless.



        Paste this into a file called something like remap_caps_to_windows.reg and double click it. You must restart for the changes to take affect



        Windows Registry Editor Version 5.00
        [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
        "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5c,e0,3a,00,00,00,00,00





        share|improve this answer























        • Hey, that must be the approach mentioned in the related post. I'll give it a try once I figure out how to back up the current setting.
          – Pops
          Sep 8 '11 at 19:35










        • Just open regedit, go to that subkey HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout right click and choose export. But there really isn't much to backup. On a clean install of Windows there is no Scancode Map setting in the registry. So if you don't like what this does simply delete the Scancode Map value.
          – Zoredache
          Sep 8 '11 at 19:38












        • BTW, what this does is a bit different from what the Microsoft tool in the other answer does. That builds a new layout, this just applies a small remapping to your current layout. The results could be similar but the method is different.
          – Zoredache
          Sep 8 '11 at 19:40










        • @Zoredache: There are GUI interfaces for doing the same thing, as mentioned in my answer.
          – paradroid
          Sep 8 '11 at 20:03










        • @paradroid, I know, but I was just saying that the tool suggested in this answer didn't tweak the scanmap. BTW, what is so great about GUIs. We are superusers after all, we like messing around in the registry. :) Also, I was paying close attention to his no external software requirement.
          – Zoredache
          Sep 8 '11 at 20:07


















        16














        Remap your capslock key with a quick registry hack? The Caps lock key is worthless.



        Paste this into a file called something like remap_caps_to_windows.reg and double click it. You must restart for the changes to take affect



        Windows Registry Editor Version 5.00
        [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
        "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5c,e0,3a,00,00,00,00,00





        share|improve this answer























        • Hey, that must be the approach mentioned in the related post. I'll give it a try once I figure out how to back up the current setting.
          – Pops
          Sep 8 '11 at 19:35










        • Just open regedit, go to that subkey HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout right click and choose export. But there really isn't much to backup. On a clean install of Windows there is no Scancode Map setting in the registry. So if you don't like what this does simply delete the Scancode Map value.
          – Zoredache
          Sep 8 '11 at 19:38












        • BTW, what this does is a bit different from what the Microsoft tool in the other answer does. That builds a new layout, this just applies a small remapping to your current layout. The results could be similar but the method is different.
          – Zoredache
          Sep 8 '11 at 19:40










        • @Zoredache: There are GUI interfaces for doing the same thing, as mentioned in my answer.
          – paradroid
          Sep 8 '11 at 20:03










        • @paradroid, I know, but I was just saying that the tool suggested in this answer didn't tweak the scanmap. BTW, what is so great about GUIs. We are superusers after all, we like messing around in the registry. :) Also, I was paying close attention to his no external software requirement.
          – Zoredache
          Sep 8 '11 at 20:07
















        16












        16








        16






        Remap your capslock key with a quick registry hack? The Caps lock key is worthless.



        Paste this into a file called something like remap_caps_to_windows.reg and double click it. You must restart for the changes to take affect



        Windows Registry Editor Version 5.00
        [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
        "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5c,e0,3a,00,00,00,00,00





        share|improve this answer














        Remap your capslock key with a quick registry hack? The Caps lock key is worthless.



        Paste this into a file called something like remap_caps_to_windows.reg and double click it. You must restart for the changes to take affect



        Windows Registry Editor Version 5.00
        [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
        "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5c,e0,3a,00,00,00,00,00






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 4 at 3:50









        Jonathan

        81641734




        81641734










        answered Sep 8 '11 at 19:31









        Zoredache

        17.1k74267




        17.1k74267












        • Hey, that must be the approach mentioned in the related post. I'll give it a try once I figure out how to back up the current setting.
          – Pops
          Sep 8 '11 at 19:35










        • Just open regedit, go to that subkey HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout right click and choose export. But there really isn't much to backup. On a clean install of Windows there is no Scancode Map setting in the registry. So if you don't like what this does simply delete the Scancode Map value.
          – Zoredache
          Sep 8 '11 at 19:38












        • BTW, what this does is a bit different from what the Microsoft tool in the other answer does. That builds a new layout, this just applies a small remapping to your current layout. The results could be similar but the method is different.
          – Zoredache
          Sep 8 '11 at 19:40










        • @Zoredache: There are GUI interfaces for doing the same thing, as mentioned in my answer.
          – paradroid
          Sep 8 '11 at 20:03










        • @paradroid, I know, but I was just saying that the tool suggested in this answer didn't tweak the scanmap. BTW, what is so great about GUIs. We are superusers after all, we like messing around in the registry. :) Also, I was paying close attention to his no external software requirement.
          – Zoredache
          Sep 8 '11 at 20:07




















        • Hey, that must be the approach mentioned in the related post. I'll give it a try once I figure out how to back up the current setting.
          – Pops
          Sep 8 '11 at 19:35










        • Just open regedit, go to that subkey HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout right click and choose export. But there really isn't much to backup. On a clean install of Windows there is no Scancode Map setting in the registry. So if you don't like what this does simply delete the Scancode Map value.
          – Zoredache
          Sep 8 '11 at 19:38












        • BTW, what this does is a bit different from what the Microsoft tool in the other answer does. That builds a new layout, this just applies a small remapping to your current layout. The results could be similar but the method is different.
          – Zoredache
          Sep 8 '11 at 19:40










        • @Zoredache: There are GUI interfaces for doing the same thing, as mentioned in my answer.
          – paradroid
          Sep 8 '11 at 20:03










        • @paradroid, I know, but I was just saying that the tool suggested in this answer didn't tweak the scanmap. BTW, what is so great about GUIs. We are superusers after all, we like messing around in the registry. :) Also, I was paying close attention to his no external software requirement.
          – Zoredache
          Sep 8 '11 at 20:07


















        Hey, that must be the approach mentioned in the related post. I'll give it a try once I figure out how to back up the current setting.
        – Pops
        Sep 8 '11 at 19:35




        Hey, that must be the approach mentioned in the related post. I'll give it a try once I figure out how to back up the current setting.
        – Pops
        Sep 8 '11 at 19:35












        Just open regedit, go to that subkey HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout right click and choose export. But there really isn't much to backup. On a clean install of Windows there is no Scancode Map setting in the registry. So if you don't like what this does simply delete the Scancode Map value.
        – Zoredache
        Sep 8 '11 at 19:38






        Just open regedit, go to that subkey HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout right click and choose export. But there really isn't much to backup. On a clean install of Windows there is no Scancode Map setting in the registry. So if you don't like what this does simply delete the Scancode Map value.
        – Zoredache
        Sep 8 '11 at 19:38














        BTW, what this does is a bit different from what the Microsoft tool in the other answer does. That builds a new layout, this just applies a small remapping to your current layout. The results could be similar but the method is different.
        – Zoredache
        Sep 8 '11 at 19:40




        BTW, what this does is a bit different from what the Microsoft tool in the other answer does. That builds a new layout, this just applies a small remapping to your current layout. The results could be similar but the method is different.
        – Zoredache
        Sep 8 '11 at 19:40












        @Zoredache: There are GUI interfaces for doing the same thing, as mentioned in my answer.
        – paradroid
        Sep 8 '11 at 20:03




        @Zoredache: There are GUI interfaces for doing the same thing, as mentioned in my answer.
        – paradroid
        Sep 8 '11 at 20:03












        @paradroid, I know, but I was just saying that the tool suggested in this answer didn't tweak the scanmap. BTW, what is so great about GUIs. We are superusers after all, we like messing around in the registry. :) Also, I was paying close attention to his no external software requirement.
        – Zoredache
        Sep 8 '11 at 20:07






        @paradroid, I know, but I was just saying that the tool suggested in this answer didn't tweak the scanmap. BTW, what is so great about GUIs. We are superusers after all, we like messing around in the registry. :) Also, I was paying close attention to his no external software requirement.
        – Zoredache
        Sep 8 '11 at 20:07















        10














        CTRL-ESC brings up the Start Menu.



        Unfortunately, it does not allow the other windows key shortcut functions. For instance CTRL-ESC-Pause/Break will not bring up system properties. And CTRL-ESC-R will only bring up Run if you release CTRL-ESC before striking R, and then it'll only work if there aren't any entries in your Start Menu beginning with "R".






        share|improve this answer


























          10














          CTRL-ESC brings up the Start Menu.



          Unfortunately, it does not allow the other windows key shortcut functions. For instance CTRL-ESC-Pause/Break will not bring up system properties. And CTRL-ESC-R will only bring up Run if you release CTRL-ESC before striking R, and then it'll only work if there aren't any entries in your Start Menu beginning with "R".






          share|improve this answer
























            10












            10








            10






            CTRL-ESC brings up the Start Menu.



            Unfortunately, it does not allow the other windows key shortcut functions. For instance CTRL-ESC-Pause/Break will not bring up system properties. And CTRL-ESC-R will only bring up Run if you release CTRL-ESC before striking R, and then it'll only work if there aren't any entries in your Start Menu beginning with "R".






            share|improve this answer












            CTRL-ESC brings up the Start Menu.



            Unfortunately, it does not allow the other windows key shortcut functions. For instance CTRL-ESC-Pause/Break will not bring up system properties. And CTRL-ESC-R will only bring up Run if you release CTRL-ESC before striking R, and then it'll only work if there aren't any entries in your Start Menu beginning with "R".







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 8 '11 at 19:15









            music2myear

            30.6k85597




            30.6k85597























                5














                You could create a custom keyboard layout with the key remapped.



                Microsoft Keyboard Layout Creator may be able to do the job.






                share|improve this answer


























                  5














                  You could create a custom keyboard layout with the key remapped.



                  Microsoft Keyboard Layout Creator may be able to do the job.






                  share|improve this answer
























                    5












                    5








                    5






                    You could create a custom keyboard layout with the key remapped.



                    Microsoft Keyboard Layout Creator may be able to do the job.






                    share|improve this answer












                    You could create a custom keyboard layout with the key remapped.



                    Microsoft Keyboard Layout Creator may be able to do the job.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 8 '11 at 18:56









                    RJFalconer

                    9,31033345




                    9,31033345























                        4














                        You can remap any key to be a Windows key using KeyTweak.



                        It's just a GUI interface to the registry, so does the same thing as what Zoredache suggests in his answer.



                        KeyTweak






                        share|improve this answer




























                          4














                          You can remap any key to be a Windows key using KeyTweak.



                          It's just a GUI interface to the registry, so does the same thing as what Zoredache suggests in his answer.



                          KeyTweak






                          share|improve this answer


























                            4












                            4








                            4






                            You can remap any key to be a Windows key using KeyTweak.



                            It's just a GUI interface to the registry, so does the same thing as what Zoredache suggests in his answer.



                            KeyTweak






                            share|improve this answer














                            You can remap any key to be a Windows key using KeyTweak.



                            It's just a GUI interface to the registry, so does the same thing as what Zoredache suggests in his answer.



                            KeyTweak







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Mar 20 '17 at 10:17









                            Community

                            1




                            1










                            answered Sep 8 '11 at 20:00









                            paradroid

                            19.1k95898




                            19.1k95898























                                2














                                In Windows 10 the keymap suggested in the accepted answer maps Z and M to B and maps B to Z.



                                It was funny until I realized my username has an "M" in it. Thankfully Win10 has the on screen keyboard option in the accessibility options during login, but this wouldn't show up for the "Run as administrator" dialog.



                                Anyway, using SharpKeys I found the correct map for CAPS LOCK to Win is this:



                                Windows Registry Editor Version 5.00
                                [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
                                "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5b,e0,3a,00,00,00,00,00





                                share|improve this answer





















                                • I did not have that issue, do you use a U.S. keyboard layout? DVORAK? International U.S?
                                  – Jonathan
                                  Dec 4 at 3:02










                                • Nope, an old Compaq QWERTY from the mid 90s
                                  – music2myear
                                  Dec 4 at 4:40
















                                2














                                In Windows 10 the keymap suggested in the accepted answer maps Z and M to B and maps B to Z.



                                It was funny until I realized my username has an "M" in it. Thankfully Win10 has the on screen keyboard option in the accessibility options during login, but this wouldn't show up for the "Run as administrator" dialog.



                                Anyway, using SharpKeys I found the correct map for CAPS LOCK to Win is this:



                                Windows Registry Editor Version 5.00
                                [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
                                "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5b,e0,3a,00,00,00,00,00





                                share|improve this answer





















                                • I did not have that issue, do you use a U.S. keyboard layout? DVORAK? International U.S?
                                  – Jonathan
                                  Dec 4 at 3:02










                                • Nope, an old Compaq QWERTY from the mid 90s
                                  – music2myear
                                  Dec 4 at 4:40














                                2












                                2








                                2






                                In Windows 10 the keymap suggested in the accepted answer maps Z and M to B and maps B to Z.



                                It was funny until I realized my username has an "M" in it. Thankfully Win10 has the on screen keyboard option in the accessibility options during login, but this wouldn't show up for the "Run as administrator" dialog.



                                Anyway, using SharpKeys I found the correct map for CAPS LOCK to Win is this:



                                Windows Registry Editor Version 5.00
                                [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
                                "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5b,e0,3a,00,00,00,00,00





                                share|improve this answer












                                In Windows 10 the keymap suggested in the accepted answer maps Z and M to B and maps B to Z.



                                It was funny until I realized my username has an "M" in it. Thankfully Win10 has the on screen keyboard option in the accessibility options during login, but this wouldn't show up for the "Run as administrator" dialog.



                                Anyway, using SharpKeys I found the correct map for CAPS LOCK to Win is this:



                                Windows Registry Editor Version 5.00
                                [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
                                "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5b,e0,3a,00,00,00,00,00






                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Jul 11 '17 at 23:11









                                music2myear

                                30.6k85597




                                30.6k85597












                                • I did not have that issue, do you use a U.S. keyboard layout? DVORAK? International U.S?
                                  – Jonathan
                                  Dec 4 at 3:02










                                • Nope, an old Compaq QWERTY from the mid 90s
                                  – music2myear
                                  Dec 4 at 4:40


















                                • I did not have that issue, do you use a U.S. keyboard layout? DVORAK? International U.S?
                                  – Jonathan
                                  Dec 4 at 3:02










                                • Nope, an old Compaq QWERTY from the mid 90s
                                  – music2myear
                                  Dec 4 at 4:40
















                                I did not have that issue, do you use a U.S. keyboard layout? DVORAK? International U.S?
                                – Jonathan
                                Dec 4 at 3:02




                                I did not have that issue, do you use a U.S. keyboard layout? DVORAK? International U.S?
                                – Jonathan
                                Dec 4 at 3:02












                                Nope, an old Compaq QWERTY from the mid 90s
                                – music2myear
                                Dec 4 at 4:40




                                Nope, an old Compaq QWERTY from the mid 90s
                                – music2myear
                                Dec 4 at 4:40











                                1














                                In AutoIt, this should do it using Ctrl + Shift + w:



                                HotKeySet("^+w", "WinKey")

                                While 1
                                Sleep(100)
                                WEnd

                                Func WinKey()
                                Send("#")
                                EndFunc


                                AutoIt does not need to be installed on a computer for it to run. It can be compiled into an executable that contains the interpreter so that it can run on any windows machine. You also don't need to install it to write and compile, you can simply use the zip download.






                                share|improve this answer



















                                • 1




                                  Can you not use AutoHotkey to avoid that sleep() spinlock?
                                  – RJFalconer
                                  Sep 8 '11 at 18:58










                                • @RJFalconer, the while loop is what keeps it running indefinitely, the sleep(100) keeps it from maxing out the processor. Even if you don't explicitly state this in an AutoHotkey script, it still employs similar behavior, it is inherently necessary in programming to loop to keep a program or script running.
                                  – MaQleod
                                  Sep 8 '11 at 19:01












                                • I used autohotkey and set it to be F1, while I was there I also set F6-12 as multimedia keys.
                                  – Ziv
                                  Sep 13 '11 at 12:11
















                                1














                                In AutoIt, this should do it using Ctrl + Shift + w:



                                HotKeySet("^+w", "WinKey")

                                While 1
                                Sleep(100)
                                WEnd

                                Func WinKey()
                                Send("#")
                                EndFunc


                                AutoIt does not need to be installed on a computer for it to run. It can be compiled into an executable that contains the interpreter so that it can run on any windows machine. You also don't need to install it to write and compile, you can simply use the zip download.






                                share|improve this answer



















                                • 1




                                  Can you not use AutoHotkey to avoid that sleep() spinlock?
                                  – RJFalconer
                                  Sep 8 '11 at 18:58










                                • @RJFalconer, the while loop is what keeps it running indefinitely, the sleep(100) keeps it from maxing out the processor. Even if you don't explicitly state this in an AutoHotkey script, it still employs similar behavior, it is inherently necessary in programming to loop to keep a program or script running.
                                  – MaQleod
                                  Sep 8 '11 at 19:01












                                • I used autohotkey and set it to be F1, while I was there I also set F6-12 as multimedia keys.
                                  – Ziv
                                  Sep 13 '11 at 12:11














                                1












                                1








                                1






                                In AutoIt, this should do it using Ctrl + Shift + w:



                                HotKeySet("^+w", "WinKey")

                                While 1
                                Sleep(100)
                                WEnd

                                Func WinKey()
                                Send("#")
                                EndFunc


                                AutoIt does not need to be installed on a computer for it to run. It can be compiled into an executable that contains the interpreter so that it can run on any windows machine. You also don't need to install it to write and compile, you can simply use the zip download.






                                share|improve this answer














                                In AutoIt, this should do it using Ctrl + Shift + w:



                                HotKeySet("^+w", "WinKey")

                                While 1
                                Sleep(100)
                                WEnd

                                Func WinKey()
                                Send("#")
                                EndFunc


                                AutoIt does not need to be installed on a computer for it to run. It can be compiled into an executable that contains the interpreter so that it can run on any windows machine. You also don't need to install it to write and compile, you can simply use the zip download.







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Sep 8 '11 at 19:07

























                                answered Sep 8 '11 at 18:56









                                MaQleod

                                12.2k43154




                                12.2k43154








                                • 1




                                  Can you not use AutoHotkey to avoid that sleep() spinlock?
                                  – RJFalconer
                                  Sep 8 '11 at 18:58










                                • @RJFalconer, the while loop is what keeps it running indefinitely, the sleep(100) keeps it from maxing out the processor. Even if you don't explicitly state this in an AutoHotkey script, it still employs similar behavior, it is inherently necessary in programming to loop to keep a program or script running.
                                  – MaQleod
                                  Sep 8 '11 at 19:01












                                • I used autohotkey and set it to be F1, while I was there I also set F6-12 as multimedia keys.
                                  – Ziv
                                  Sep 13 '11 at 12:11














                                • 1




                                  Can you not use AutoHotkey to avoid that sleep() spinlock?
                                  – RJFalconer
                                  Sep 8 '11 at 18:58










                                • @RJFalconer, the while loop is what keeps it running indefinitely, the sleep(100) keeps it from maxing out the processor. Even if you don't explicitly state this in an AutoHotkey script, it still employs similar behavior, it is inherently necessary in programming to loop to keep a program or script running.
                                  – MaQleod
                                  Sep 8 '11 at 19:01












                                • I used autohotkey and set it to be F1, while I was there I also set F6-12 as multimedia keys.
                                  – Ziv
                                  Sep 13 '11 at 12:11








                                1




                                1




                                Can you not use AutoHotkey to avoid that sleep() spinlock?
                                – RJFalconer
                                Sep 8 '11 at 18:58




                                Can you not use AutoHotkey to avoid that sleep() spinlock?
                                – RJFalconer
                                Sep 8 '11 at 18:58












                                @RJFalconer, the while loop is what keeps it running indefinitely, the sleep(100) keeps it from maxing out the processor. Even if you don't explicitly state this in an AutoHotkey script, it still employs similar behavior, it is inherently necessary in programming to loop to keep a program or script running.
                                – MaQleod
                                Sep 8 '11 at 19:01






                                @RJFalconer, the while loop is what keeps it running indefinitely, the sleep(100) keeps it from maxing out the processor. Even if you don't explicitly state this in an AutoHotkey script, it still employs similar behavior, it is inherently necessary in programming to loop to keep a program or script running.
                                – MaQleod
                                Sep 8 '11 at 19:01














                                I used autohotkey and set it to be F1, while I was there I also set F6-12 as multimedia keys.
                                – Ziv
                                Sep 13 '11 at 12:11




                                I used autohotkey and set it to be F1, while I was there I also set F6-12 as multimedia keys.
                                – Ziv
                                Sep 13 '11 at 12:11


















                                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.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • 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%2f333445%2fsimulating-the-windows-key-on-an-old-keyboard%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

                                Terni

                                A new problem with tex4ht and tikz

                                Sun Ra