I would rather turn off Defender completely, or even remove it from the system (like I did with older Windows versions until now, even remove it from install.wim), but I believe we all have to accept it now, and turning it off/ removing it in Windows 11 is becoming more and more difficult anyway.
So at least I would like an Autohotkey direct shortcut to the "Real-Time protection" dialog, so I can turn it on and off (temporarily?) with the space bar.
Who would be so kind to provide us with a direct link to this page? I can't seem to find it, didn't we use to have the long direct links to Control Panel sub items?
Thank you and have a nice day!
Shortcut to Defender Real-Time protection dialog?
-
- Posts: 27
- Joined: 29 Apr 2016, 22:09
Re: Shortcut to Defender Real-Time protection dialog?
Hallo,
try (only tested with Windows 10):
https://www.autohotkey.com/docs/v2/misc/CLSID-List.htm
try (only tested with Windows 10):
Code: Select all
#Requires AutoHotkey v2.0
q::Run "shell:::{4026492F-2F69-46B8-B9BF-5654FC07E423}"
-
- Posts: 27
- Joined: 29 Apr 2016, 22:09
Re: Shortcut to Defender Real-Time protection dialog?
Thanks, that opens "Windows Firewall"
I'm looking for a shortcut to the Defender dialog that has the "Realtime protection" toggle switch.
I'm looking for a shortcut to the Defender dialog that has the "Realtime protection" toggle switch.
Re: Shortcut to Defender Real-Time protection dialog?
@Atari800XL
There are too many bad practices. And all are unsuccessful.
Try code below:
There are too many bad practices. And all are unsuccessful.
Some CLSIDs retrieved from registry:
But you can use system's URI protocol.Try code below:
Code: Select all
#Requires Autohotkey v2
Run('explorer.exe windowsdefender://Threat') ;
WinWait('Windows Security ahk_class ApplicationFrameWindow'), WinWaitClose()
Run('explorer.exe windowsdefender://ThreatSettings') ;
Please post your script code inside [code] ... [/code] block. Thank you.