I went through the control panel (so far) and updated the excludes for Win 10. I also commented out "MsgBox Could not retrieve the path of the explorer window." as (at least once) an exclude didn't work, but the AHK Msgbox, of course, did. I personally didn't feel I needed to know. After I excluded it, I obviously no longer knew if there was more than a single case. (Make sure to leave the surrounding lines in if you choose to do this too, otherwise you'll get XY open pointing to folder ERROR.)
So, here's the control panel entries for Win 10 as of this post (in no particular order); some things are obviously pretty low use. I split the lines at my editor's approximate margins. I'm sure I'll bump in to a few more things I'll want to exclude, but as Windows moves more towards the newer interface, things will pop up less often. There are a few quirky things here that are just on my system. Pull them out if you feel the need after looking in your Control Panel for anything that might be unique to yours. Of course, you can always temporarily stop the script instead:
Code: Select all
$excludePaths := "All Control Panel Items|Storage Spaces|Sync Center|System|Network and Sharing Center|Programs and Features|Recovery|RemoteApp and Desktop Connections|" . "Security and Maintenance|Speech Recognition|Autoplay|Fonts|Backup and Restore (Windows 7)|Devices and Printers|Dolby Audio|Ease of Access Center|File History|" . "BitLocker Drive Encryption|Color Management|Credential Manager|Device Manager|Action Center|Administrative Tools|Default Programs|Mouse|Power Options|Personalization|" . "User Accounts|Windows 10 Firewall Control|Troubleshooting|Windows Defender Firewall|Work Folders|"