Disable <Shift><Ctrl><Windows><Alt> from opening the "Login to Office


  1. Posts : 91
    10 pro
       #1

    Disable <Shift><Ctrl><Windows><Alt> from opening the "Login to Office


    Micro$oft has added a new "feature" to Windows 10: If you (accidentally) press <Shift><Ctrl><Windows><Alt>, your web browser will open the "Login to Office 365" webpage. This happens even if M$ Office is not installed.

    If you have a cat that likes to jump on the table when you're not there to stop him, you can wake up each morning to find a half-dozen or so browser windows open to the "Login to Office 365" webpage.

    The following registry tweak will stop this annoying behavior (just the computer's annoying behavior, not the cat's .)

    Code:
    Windows Registry Editor Version 5.00
    
    ; Disable <Shift><Ctrl><Windows><Alt> from opening the "Login to Office 365" webpage
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ms-officeapp\Shell\Open\Command]
    @="rundll32"
    You can also add this tweak with the following one-liner
    Code:
    REG ADD HKLM\Software\Classes\ms-officeapp\Shell\Open\Command /t REG_SZ /d rundll32
    which you can run from an elevated command prompt or batch file.

    Addendum: Further research on this topic has uncovered another bit of M$ meddling. If you hold down the 4 aforementioned keys and press certain letters, an unwanted webpage will still open. I haven't found a tweak to disable this yet without any memory-resident software. The only thing I've found so far is AutoHotKey. It works but leaves a background process running. Until M$ gives a cleaner way of disabling this "feature", that appears to be the only way to do it. I'll post the code here when I've got it ready to post (with instructions for use). Stay tuned!
    Last edited by SpacemanSam; 23 Apr 2020 at 15:46.
      My Computer


  2. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Curious. Fortunately my cat knows she shouldn't walk on the keyboard somehow and carefully avoids it!

    Disabling hotkeys is easy with Autohotkey (free scripting language- 1 line per key) - however you don't want a 3rd party solution.

    You could try the registry method described here:
    How to disable specific global hotkeys in Windows - gHacks Tech News
    If you just want to get rid of one or multiple hotkeys triggered by the Windows-key but want to keep others, you better disable those individually.
    - I don't know if it's valid for the complicated key combination you cite.
      My Computers


  3. Posts : 91
    10 pro
    Thread Starter
       #3

    Actually it's not a 3rd-party program that I'm trying to avoid using; they're not a problem. What I'm trying to avoid is a TSR (Terminate and Stay Resident) program.
    AutoHotKey works - it solved the problem, but it leaves a 1.8 MB program resident in memory to intercept keystrokes. I was hoping for a solution such as a registry setting or other command that sets something then exits completely without permanently consuming any memory with stay-resident code. Many of the older computers I work on only have 4 GB of RAM, so I don't like to waste any if I can avoid it.

    BTW, how did you train your cat to stay off the table? That's another problem I haven't been able to solve yet.
      My Computer


  4. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Here's some more on things at a registry level- I doubt this is meaningful for a key combination though-it seems only to appply to single keys.
    How to disable a keyboard key - Learn It Step By Step

    My cat, fortunately is just careful.. she sometimes walks on the table by one of my laptops but doesn't step on it. She doesn't usually knock things over although occasionally scratching can be a problem.
    I've more or less got her to miaow rather than scratch if she wants the door opened now when it's latched shut.
    But she does listen carefully and responds to commands like 'Go to the kitchen' or 'Open the door' (when it's just slightly ajar and she can pull it open).
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:28.
Find Us




Windows 10 Forums