Hi, Bitdefender seems to be blocking PowerShell on my system. I need to use it for legitimate purposes, but it gets automatically blocked or closed. How can I allow or unblock PowerShell through Bitdefender? Thanks in advance for your help!
Kindly follow the steps below:
The Scan scripts feature allows Bitdefender to scan PowerShell scripts and Office documents that may contain s.c.r.i.p.t based malware. Disabling this option can help prevent legitimate PowerShell use from being blocked.
If the issue persists, try adding PowerShell as an exclusion in your Bitdefender product:
1) Temporarily disable Bitdefender Protection: https://www.bitdefender.com/consumer/support/answer/28557/
2) Set exclusions in Bitdefender Antivirus: https://www.bitdefender.com/consumer/support/answer/13427/
3) Set exclusions in Bitdefender Advanced Threat Defense: https://www.bitdefender.com/consumer/support/answer/2393/
4) Re-enable real-time protection in Bitdefender.
If the issue still persists, kindly contact Bitdefender support by visiting https://www.bitdefender.com/consumer/support/help/
Select, How to's & Troubleshooting Bitdefender products→Troubleshooting→I don't know→Contact Support→ You will get the option of chat, call or email.
To get an immediate update, kindly use the chat option. Also, ensure that no ad blockers or privacy extensions are enabled in your web browser, as they may prevent the chat window from appearing.
Bitdefender support may request diagnostic logs and will guide you through the process of generating them.
Regards
Hi,
Thanks for your reply and instructions. I followed the steps and disabled the "Scan scripts" option under the Advanced tab, but unfortunately PowerShell is still being blocked or closes immediately after opening.
It seems like something else might still be interfering — could it be caused by Advanced Threat Defense or another protection module?
Machine : Windows 11
Shells concernés :
- Windows PowerShell 5.1
- PowerShell 7.x (pwsh)
STATUT : Résolu par configuration
1. Symptôme initial
PowerShell bloque lorsqu’il est invoqué depuis l’appel du terminal ou à partir de cmd.exe. La commande ne rend pas la main, même pour des instructions triviales.
La sortie n’apparaît qu’après Ctrl+C.
Exemples de commandes bloquantes (exécutées depuis cmd.exe) :
pwsh
pwsh -Command "Write-Output OK"
powershell -Command "Write-Output OK"
2. Diagnostic
Les tests AMSI montrent une interférence avec BitDefender.
Le module Advanced Threat Defense (ATD) de Bitdefender intercepte AMSI.
Cette interception provoque un deadlock lors de l’initialisation de PowerShell.
Antivirus et Menaces en ligne ne sont pas en cause.
4. Validation expérimentale
Après désactivation d’ATD et redémarrage (+++ OBLIGATOIRE) :
- PowerShell 5.1 : OK
- PowerShell 7 : OK
5. Configuration stable dans BitDefender pour permettre le fonctionnement de Powershell :
Protection/ouvrir Advenced Threat Defense/Parametres/Gérer les exceptions/Advanced Threat Defense/ Option des exceptions/
Exclure powershell.exe
Bitdefender Antivirus : Pas d’exception (bouton sur off)
Bitdefender Menaces en ligne : Pas d’exception (bouton sur off)
Bitdefender Advanced Threat Defense : Exception (bouton sur ON)
6. Conclusion
Il s’agit d’une incompatibilité fonctionnelle entre AMSI et Bitdefender ATD.
La configuration retenue est stable, reproductible et documentée.
hi boblinux, Can u start Windows PowerShell ISE? what happens if you type in cmd.exe: ?
PowerShell –noprofile
Check first in Event Viewer under >WIndows Logs> Application, if there are no errors with powershell.exe or the .NET Runtime. >WIN+R: Type eventvwr If it's so, u need to repair the .NET Framework or check system integrity via :
sfc /snannow
OR
> DISM /Online /Cleanup-Image /RestoreHealth
Try opening Advanced Threat Defense in Bitdefender and find the blocked PowerShell event and add it to the list of exceptions or allowed events or temporarily disable ATD. This way you will confirm that this is the cause and then re-enable it with an exception.
if nothing works u probably need : _uninstall bitdefender _repair install windows (using iso drive, start setup.exe with option keep files and Apps) _ensure that powershell 1.0 works _install bitdefender again
After installing Bitdefender the email link on my website stopped working.
I just got my computer back from Dell after wipping and reinstalling Windows 11 and repairs were made my email link works again as I have not as yet reinstalled Bitdefender.
Since, 3 Dell techs told me I don't need any antiviruanti-virus software, that Windows Defender is adequate to protect my system from all virus attacks.
I am confused??? Curtis
hi curtisgraphics, Windows defender is used for basic protection, deployed by default with Windows OS. When installing Bitdefender on your PC, Windows Defender isn't uninstalled, u'll still get KB-security-updates for Win. Defender or MRT, like any other updates for Windows 10 ESU or 11. However, Bitdefender should give you additional level of security, such as preventing visiting malicious sites, checking website certificates, Anti-tracker, configuration issues and any other online threats, using VPN, encrypting your traffic, shredder your data, scan your WIFI home network, isolated banking environment, USB AutoStart threats prevention, different profiles, based on your activity(gaming, working, web browsing,…). It also give you vulnerability assessment of your device, which for example Defender doesn't. In order to have fully functional device in 2026, additional level of security is rule of thumb.