Disabling windows key on keyboard?

any idea on how to disable the windows key using java code?

Came across a relevant article looking for something else:
[Disable Windows key registry policy setting|http://msdn.microsoft.com/en-us/library/aa460734.aspx]
[Access registry from Java|http://lenkite.blogspot.com/2008/05/access-windows-registry-using-java.html]
- you need to be an admin
- most of the settings are better accomplished by removing the parts from your OS image
- if you're not creating an embedded system which sole purpose is to run your program, you've no business messing with the Windows key policy settings.
(not having in Windows XP box to play with at home, can't verify if it works)

Similar Messages

  • Disable certain keys on keyboard

    hello,
    I am trying to disable numerous keys within the movie at all
    times can anyone help me with this please.
    thanks
    iso

    How about disabling the QUOTE key - that is the shifted one "   ?
    I added an additional test to the keydownscript to test for keyCode = 39 but that kills both the single and double quote:
    the keydownscript = "if "&QUOTE&notWanted&QUOTE& contains the key OR the keyCode = 39 then stopEvent"
    I am trying to stop my assistants from entering the " in a multiple choice question because it messages up the list I am using to store them.  Instead I want them to use the single '
    How can I stop the "  but allow '  ?
    I'm stumped, can someone please help - thank you!
    S

  • Disable Window keys ALT+TAB, CTRL+ALT+DEL

    Hello i am developing an application in which i need to catch the ALT+TAB and CTRLALT+DEL key events and handle it in my own way.
    The default action of showing the next window or the task manager should not take place.
    In the event handler i have given
    eventName.consume();
    also.But the default handling is also done.
    How do i stop the default action from being done?

    Windows will not allow any application to catch the CTRL+ALT+DEL keystroke. In Windows NT-kernel OSes, this keystroke brings up a menu which, among other things, allows the user to change his or her password. If an application could intercept CTRL+ALT+DEL, it could present itself in such a way as to look just like that dialog. Then, if a user typed his or her password into that dialog, the program could log or transmit that password plaintext, severely violating security.
    All sorts of exploits like that would be possible. This is why you can't block system keystrokes.
    Is there any particular reason you need to override this behavior? Perhaps we can help you find another solution to whatever problem made you decide you wanted to catch those keystrokes in the first place.

  • When I disable my left windows key for gameing using Microsoft keyboard and mouse software, I can no longer type in firefox. How can i fix this?

    Microsoft Keyboard and Mouse Software that you install with Microsoft keyboard and mice, (latest version) allows you to disable your windows key so that you don't accidentally hit it when gaming. When I take advantage of this feature, I can no longer type in Firefox. Typing in Firefox is completely disabled. Other browsers, windows, applications work, but not Firefox. What is it about the windows key that firefox needs for typing. Strange problem, but annoying because I have to use a different browser while game. Certainly not a deal breaker, but kinda strange.

    Try:
    *[[/questions/947513]]

  • Disable the windows key?

    Task manager can easily be disabled by changing a registry value.  I also need to lock out the Windows keys.  Since NI claims that LabVIEW is Part 11 compliant, I would have assumed that this function would be standard but I digress.
    I have found the registry value but for some reason, the value does not get written into the registry correctly:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Keyboard Layout]
    "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00​,5B,E0,00,00,5C,E0,00,00,00,00
    I have also tried to write the binary value (0000 0000 0000 0000 0300 0000 0000 5BE0 0000 5CE0 0000 0000) as well with no luck.
    Any ideas??
    Thanks all!
    Message Edited by ScooterInMN on 12-17-2008 10:20 AM
    Solved!
    Go to Solution.

    Thanks to you I have no windows key (until I reboot ). Change the setting for the string const. Then you can write pure hex values. Go to the msdn web site and cut and paste the values .Worked for me. Then I came to work today I had no windows key
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    sample.PNG ‏43 KB

  • How to disable certain keys in Macbook's keyboard

    How to disable certain keys in Macbook's keyboard? My keyboard is break down. It always type "\" key and disturb me!
    Dealer says internal keyboard need cost $120 to replace.
    So, I think can i disable "\" key? i don't want to disable keyboard, just \" key.
    Thanks for help!

    This posting shows how to remove a default Action;
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=657819

  • Disable the "Poweroff" key in keyboard

    How to disable the "Poweroff" key in keyboard?

    Modify
    /usr/openwin/lib/speckeysd.map
    and comment out:
    SunPowerSwitch
    SunPowerSwitchShift
    You might have to reboot or restart dtlogin to reinitialize the keyboard map
    Sharif Rizal

  • Windows key on mac keyboard

    I have Windows 8.1 installed in VMWare Fusion on my iMac.  I am using a wireless Mac keyboard. 
    Does anyone know a workaround on the Mac keyboard for the "Windows key"?

    It may need a replacement PRAM (CMOS) battery.  Certain peripherals and CPU bus attached mechanisms on computers may start to fail if the PRAM battery is low.   http://www.ifixit.com/ explains how to replace it yourself, if you are not near an authorized service center, or not in the U.S. where some of these cheaper repair places exist:
    http://www.dttservice.com/
    http://www.powerbookresq.com/
    http://www.microdocusa.com/
    http://www.macspecialist.com/
    http://www.techrestore.com/
    Windows may address the keyboard differently than from the CMOS level.

  • How do I get Windows Key/Icon to work again ( Not a keyboard fault - No menu, No apps )

    Had a technical issue with a crashed application, so tried a rollback to a stable point in time. Went OK and solved the problem I had, but absolutely screwed up Windows 10.
    Pressing the windows key does nothing. Pressing the start icon does nothing. I can't type in anything in "Search web and windows". If I run something like calculator, it appears and then vanishes before I see anything other than a blank window.
    All the new apps are completely stuffed, but all the normal Windows 10 functions are otherwise fine. I can run control panel ( Can't run update - that's an App ) - I can run command  prompt OK. Programs work fine ( just not apps ). I think a critical
    update is missing and severely screwed things up, but I can't update because that's busted. Anything that's not Windows 7-ish doesn't work anymore - like it doesn't exist.
    Yeah, I know some people will say that's an improvement but too much stuff needs the new system and I want it all back - :( How do I fix it without a complete system rebuild?
    Thanks
    David

    .......... I think a critical update is missing and severely screwed things up, but I can't update because that's busted. ..............
    To do Windows Updates without Start Menu, try this method given by Insider Hub:
    To check for updates without the Start menu, do the following:
    Select the Internet Explorer icon.
    Type http://update.microsoft.com into the address bar and select
    Enter.
    If you are prompted to run a control, click
    Yes.
    This should bring up the Check for updates window. Install updates.
    If no update is available, or the available updates don’t fix the issue, restart the device–this should make the Start menu appear. To reboot without using the Start menu:
    Hold down the Windows key and select L to lock the device. Swipe up or select
    Enter to open the sign in screen. Select the
    Power icon on the log in screen to restart the computer.            
    OR
    Hold down the Windows key and select R to bring up a command prompt. In the prompt, type
    shutdown –r to restart
    If that does not work, perhaps a reinstall is in order.

  • Keyboard windows key not working properly

    I am not able to navigate to start screen with regular windows key press. I need to press hard to navigate to the start screen. But other functions with windows key is working properly. For Eg: Windows Key + R is working properly with regular press. Please help.

    Hello:
    I do not know of a setting that would do that - especially intermittently.
    I would suspect the KB is failing/has failed.
    Barry

  • How to deactivate Windows Key on Qosmio X500 while gaming?

    Hey,
    I just bought my first ever laptop and went with the Qosmio X500/02M.
    Am having a bit of trouble adjusting to the keyboard layout at the moment after years of desktop and normal keyboard use.
    I seem to have trouble epsecially with the Windows Logo Key while i'm gaming in that i keep hitting it and getting popped out to the desktop.
    Have looked in all the places i can think of to disable this key, does anyone know of a way i can do this so i dont have to resort to actually popping the button out of the keyboard itself ?

    Hi
    In Windows registry you can disable the Windows key. Unfortunately it disables only the key combinations like Windows-key + E (start explorer) but if you press the Windows-key only, it still opens the Windows menu.
    Anyway, here it is:
    HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer
    There you have to create the new key NoWinKeys (REG_DWORD). Set the value data to 1.
    Restart your notebook and check this again!

  • Disable Function Key F3 in Internet Explorer

    I would like to disable function keys F1 and F3 while playing
    my flash movie in internet explorer. I am using these keys within
    Flash to do some actions.
    I got the script working for Function Key F1 using the
    following script
    <script language="javascript">
    document.onhelp = function() {return(false);}
    window.onhelp = function() {return(false);}
    </script>
    But unable to make it to work for function key F3.
    Thanks in advance,
    Desmond

    Hi des_shun, I have workaround for this issue.
    First thing we have to do is disable keyboard event for F3 key on HTML document so that even if focus is on html document, default Search functionality will not popup. Next thing is, flash must contain KeyboardEvent listener for keyboard response. This is where we will keep our custom F3 functionality. This setting works well on Chrome & FireFox.
    Now IE thing.
    The prolem with IE is that if any one of F3, F5, F6,F7 & F11 key is pressed, when the focus is on flash movie it directly executes the default browser functions like searching, refreshing etc never allowing flash to execute its keyeventlistener. But if focus is on document body, then F3 and other keys work fine.
    Here is the catch.
    All we have to do is whenever focus is shifted to flash, we should revert that focus to document body.
    Here is how we can do this.
    Capture the MouseClick event in your flash movie. Then in this mouseclick event handler, call  javascript function to change focus to document again. Below is the sample code.
    //Flash Code
    stage.addEventListener(MouseEvent.CLICK,mClick);
    function mClick(event:MouseEvent)
              ExternalInterface.call("changeFocus");
    // Javascript Code
    <script type="text/javascript"</script>
              function changeFocus()
                             document.body.focus();
        </script>
    Thats it!

  • Start won't appear after clicking start button or win key on keyboard

    It's happened after update to 9926. First start menu works properly but after reboot it broken-down. Right click works fine. Before reboot i disabled "Windows search" service but i don't think it related.

    Start won't appear after clicking the start button or win key on keyboard on the second user account. It works fine on the administrator account. UAC changes have no effect. Re-booting has no effect. Build is 9926

  • Recovery mode without command or windows keys

    Hello,
    I am a mac newbie, but experienced linux and windows user. I am trying to restore my mac mini (mid 2011) running mavericks. The process should normally be very simple; press command-R keys while booting to start recovery mode and go from there.
    Unfortunately my keyboard is a palm-sized keyboard without command or windows keys. So I am stuck. I have 2 windows laptops that I can use to remote login but I cannot do remote login during boot.
    I tried mapping the Command key to Ctrl key inside OS X, but it seems like this only works after reboot.
    I tried to use recovery disk assistant as it requires "Option" key, but the assistant does not allow me select the HD, as I guess I do not have a recovery system on the HD.
    I tried doing network install, but it requires the install CD, which I don't have.
    Can you help me get out of this situation?  I have an ipad and two iphones if it helps.
    Thanks!

    I tried to use recovery disk assistant as it requires "Option" key, but the assistant does not allow me select the HD, as I guess I do not have a recovery system on the HD.
    If you mean holding down the OPTION (alt) key during restart, that takes you to the Startup Manager. AFAIK, there's no recovery disk assistant app in OS X. If you can't do that, then get an Apple keyboard. Without a recovery HD, you'll have to reinstall the OS.

  • How could I turn off the Command Key to Windows Key mapping in Remote Desktop for Mac 8

    I'd like to be able to turn the Command key->Windows key mapping off.  In this new app, whenever I use the Command key to initiate a Mac-side function, it registers a press of the Windows key within the Remote Desktop session.  Speaking only
    for myself, I use the Command Key for quite a lot of Mac operations, while my need and expectation for a Windows key press is zero.

    I'd like to be able to turn the Command key->Windows key mapping off.  In this new app, whenever I use the Command key to initiate a Mac-side function, it registers a press of the Windows key within the Remote Desktop session.  Speaking
    only for myself, I use the Command Key for quite a lot of Mac operations, while my need and expectation for a Windows key press is zero.
    Agreed. Cannot stop it by disabling the "Windows" key (from within Windows 7). Every time I Cmd-Tab to change apps, the Start Menu pops up,
    and persists, overlaying other app windows. Much more than annoying.
    Also, there is no Clipboard Sharing, apparently. Love typing in long binary strings into the Registry.

Maybe you are looking for

  • Multiple facebook accounts on one device

    recently bought the touchpad and added my facebook profile to it.  Me and my fiance both use the device though.  Was able to add her account as well but can't find any way of actually viewing it.  Is there any fix for this? Post relates to: HP TouchP

  • Manually Moving Music to my iphone

    I manually manage music on my iphone.  In the past, I dragged music from my library or my purchases and dropped it into my iphone.  In Sept, I purchased an album and was able to put it on my iphone, but in Nov, using the same computer, I could not. 

  • Error 40820 - please help

    I've had the error 80003 before on blackberry application world, managed to sort this out by going to a Wi-fi spot, however another problem popped up again when trying to download from application world. I've got a 8520. Please can someone give me th

  • Form Connectivity to Database

    hi everyone, Problem still exist I install Oracle 9i and forms and report 6i in same computer (I did the same thing many time SUCCESSFULLY), but this time when try to connect forms...its closing automatically without giving any message. any help will

  • Sqlldr80 error

    Hello, I'm used Sqlldr80 on Oracle 8i and dispayed: "SQL*Loader: Internal error: ulconnect: OCISessionBegin [-1] Help me, Thanks you