This has been asked before (see /index.php?/topic/76896-no-way-to-turn-off/&tab=comments#comment-274637" rel="">this thread from a year ago) but there still doesn't appear to be a way of temporarily disabling Bitdefender to aid troubleshooting.
I'm trying to help someone create an AutoHotkey (AHK) ****** to automatically configure their installation of Windows 10 whenever they do a clean install. They are using Bitdefender 2019 so I've installed the 30-day trial of Bitdefender 2019 to carry out testing.
I've run into an immediate problem whereby any AHK ****** which calls a PowerShell cmdlet no longer works.
For example, to 'get' the state of SMB I can enter the following in a PowerShell commandline window (either standard or elevated) and the contents are piped to the Windows clipboard:
Get-SmbServerConfiguration | Select EnableSMB1Protocol | clip
I can test by pasting into Notepad.
However, if I wrap the exact same PowerShell cmdlet in AHK then the ****** doesn't write to the clipboard irrespective of whether I run it as standard or elevated:
psScript =
(
Get-SmbServerConfiguration | Select EnableSMB1Protocol | clip
)
Run PowerShell.exe -Command %psScript%,, hide
I've disabled as much as I can within the Bitdefender control panel but to no avail... yet the same 'PowerShell cmdlet wrapped in AHK' ****** ran perfectly before Bitdefender was installed (and continues to run on other Win 10 devices without Bitdender installed).
My conclusion is that Bitdefender is preventing access to the Windows clipboard if the output is piped from PowerShell yet has no problem allowing the piping from PowerShell itself.
To troubleshoot I would normally just temporarily disable any AV... but Bitdefender doesn't appear to allow for that.
Any suggestions?