Answered Alt + F4 not working

  • 2009年8月26日 20:17
     
     
    having a problem with Alt and F4 not working on xp sp3

    both keys function correctly on the keyboard

    keyboard is usb Microsoft comfort curve 2000
    driver updated to latest

    tried reinstalling drivers, no success

    tried the googling, returning the following...


    it is in group policy under User
    Configuration/Administrative Templates/Windows
    Components/Internet Explorer/Browser Menus where you can
    disable/enable the closing of IE and other Explorer windows.
    And the registry also:-
    start>run>regedit>ok
    and find:-
    User Key:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
    Explorer]
    System Key:
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
    Explorer]
    Value Name: NoWinKeys
    Data Type: REG_DWORD (DWORD Value)
    Value Data: (0 = disable restriction, 1 = enable restriction)



    the policy is not configured (i.e no enable/disable setting)
    both reg keys do not exist


    any help?

すべての返信

  • 2009年8月29日 4:26
     
     
    NoWinKeys is related to stopping the usage of the "Windows key" hotkeys.


    Perform a system backup/restore point creation.

    Run sfc /scannow I believe it should restore system entries in your registry, which may solve the problem.


    Another thing to check is to make sure that alt+f4 isn't set to a global hotkey.
  • 2009年8月29日 4:49
     
     回答の候補
    actually reg keys arent scanned with the WFP utility (sfc ) only SYS, DLL, EXE, TTF, FON, and OCX files are in that catagory. If you dont see that key in there you can import it. just open notepad and copy and paste those keys to it, then just make sure that when you save it you save it with a .reg extension, then you can either right click on the saved file and choose "merge" to apply the keys, or you can double click and apply them
    • 回答の候補に設定 securityguy14 2009年8月29日 16:51
    •  
  • 2009年8月29日 16:46
     
     
    no go on stc /scannow
    and no go on system restore, this happened along time ago


    any ideas why it does this?
    where are the keyboard settings? or could it be a driver issue?
  • 2009年8月29日 16:57
     
     
    again, the first thing I'd try was to import the keys in there. but I would back up the registry first ( always before editing the registry). you evedintly know the key and the value it should be.
  • 2009年8月29日 17:10
     
     
    no go on stc /scannow
    and no go on system restore, this happened along time ago


    any ideas why it does this?
    where are the keyboard settings? or could it be a driver issue?
    Solway:
    securityguy14 said that sfc /scannow will not restore system registry keys to factory defaults.
    I was saying that you should take a system restore snapshot, create a restore point before you edit anything (this will backup your registry and various other things).

    When you hit a key combination on your keyboard, Windows will route the keystrokes through things, and when they're serviced, a function is executed.

    You are correct is assuming that the driver is the first thing to see the keystrokes.  After this, it is safe to assume that the driver passes the keystrokes to Windows to be processed, hitting this list of rules that affect the outcome of the keystrokes.

    If there is a global hotkey hook, a hotkey combo that not only affects a program, but hte entire system; that this overrides any rules that the program has.

    For instance, to bring up my Yahoo Widgets "expose" type overlay, I hit alt+f12.  If a program, let's say Mr. Magic's F12 Key Stroke Hitting Capture Game, sets it self a non-global hotkey of alt+f12; when the keystroke combo is hit = drivers> Windows> global hotkey (wins) > program hotkey.

    Alt+f4 is a system call.  It is not set per-program, but it is part of the Win32 API for forms/windows.  However, if you have a global hotkey set for Alt+F4, it will still override this Win32 API.


    Check to make sure that any programs that you have are not establishing global hotkeys with that key combination.

    I'm assuming that the keys on your keyboard aren't broken and that you have an anti-virus running (no keyloggers/viruses are "installed").







    securityguy14:
    Thanks for explaining the sfc /scannow not scanning registry keys to reset to "factory defaults."
    Solway doesn't need to reset the registry key.  He is talking about alt+f4 not working to close certain windows.

    Water in the Machine!
  • 2009年8月29日 17:19
     
     
    alt f4 doesn't work for the entire system, not just programs.

    i uninstalled the drivers, clean reg with ccleaner, and uninstalled the keyboard from device manager

    then reinstalled driver from ms site

    still the same.

    i have kasperksy 2010 running, have disabled it and exited, doesn't seem to be the issue.

    keys are working fine separately, its only the alt+f4 shortcut


    any other ideas?
  • 2009年8月29日 17:46
     
     
    been googling


    found

    start>run> mskey
    opens up a microsoft keyboard diagnostics, which show the input keys been pressed

    turns out all Alt+f1-3 and f5-f12 work ok

    if i hold alt, its works but no input is shown for f4 if alt is held down. f4 works on its own.

    heres a log




    this a driver issue then? how do i contact microsoft?
  • 2009年8月29日 18:21
     
     
    restarted with ps/2 generic keyboard installed

    alt+f4 works

    i have also put older MS driver version 6.1 and not he 7.1) for my usb keyboard on, but same issue


    i'll try a generic keyboard driver....


  • 2009年8月29日 18:22
     
     
    been googling


    found

    start>run> mskey
    opens up a microsoft keyboard diagnostics, which show the input keys been pressed

    turns out all Alt+f1-3 and f5-f12 work ok

    if i hold alt, its works but no input is shown for f4 if alt is held down. f4 works on its own.

    heres a log

     


    this a driver issue then? how do i contact microsoft?
    Wow!  That's a great program!  Thanks!

    Very very weird.  If you can verify it doesn't happen with another keyboard (maybe a good old classic wired ps2 or usb with generic drivers), get it replaced under warranty.


    restarted with ps/2 generic keyboard installed

    alt+f4 works

    i have also put older MS driver version 6.1 and not he 7.1) for my usb keyboard on, but same issue


    i'll try a generic keyboard driver....



    Great!  So your keyboard is broken?  Can you try it on another machine?
  • 2009年8月29日 18:52
     
     
    i'll try another machine tomorrow,

    i'll try win7 on virtual machine now
  • 2009年8月30日 13:50
     
     
    just installed Window 7 RTM and same problem

    i'll try another pc, must be a hardware issue..

    any bios update??
  • 2009年9月1日 17:37
     
     回答済み
    contacted MS support

    getting free replacement

    end of thread......
    • 回答としてマーク Solway 2009年9月1日 17:37
    •  
  • 2012年5月11日 0:40
     
     

    Your keyboard driver is mapping the f4 button to something else.

    Control panel->keyboard and look for key mapping.

  • 2012年5月16日 21:26
     
     
    start>run>regedit>ok
    and find:-
    User Key:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
    Explorer]
    System Key:
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
    Explorer]
    Value Name: NoWinKeys
    Data Type: REG_DWORD (DWORD Value)
    Value Data: (0 = disable restriction, 1 = enable restriction)
    with regards/
    ssg/pronetworks.org
  • 2012年5月29日 0:02
     
     

    (Necro from 2009)

    I got a MS Wireless Comfort Desktop 5000, and I've found that apparently the F buttons do not actually map to the key codes for F1-12. They return "Help - HID Input" (...) in mskey, instead of "F1 - 0x3B" (...) which my built-in laptop keyboard returns.

    Going into the Keyboard settings, Intellitype Pro shows that the alt-F* key combinations are mapped to the actions the keys are named for. So in other words, "close" is actually alt-F6 for whatever dumb reason instead of alt-F4. I have no idea how to get the keys interpreted 'normally' short of uninstalling Intellitype altogether, and that kills my media keys. So for the time being, I've just configured the Intellitype 'new' button to perform the action 'close', since I don't use any other alt-F* combinations.