Showing results for 
Search instead for 
Did you mean: 

Whitelisting PowerShell (.ps1) files with certificates

I successfully added a certificate to the whitelist. It works for .exe files. However, when I sign a .ps1 file with the same certificate, McAfee continues to block it. Is there a known limitation, or something I'm doing wrong?

I've tried launching it from File Explorer and from a Command Line.

1 Reply
Reliable Contributor wouterr
Reliable Contributor
Report Inappropriate Content
Message 2 of 2

Re: Whitelisting PowerShell (.ps1) files with certificates

Are you running the script from a networkdrive?

We experienced the same when running a signed powershell from a networkdrive. Apperently the deny is based on the script being on a non-trusted network path. not on the signer with which the script is signed.

According to McAfee support this is "works as designed". So fix would be adding the network path as trusted directory.

McAfee ePO Support Center Plug-in
Check out the new McAfee ePO Support Center. Simply access the ePO Software Manager and follow the instructions in the Product Guide for the most commonly used utilities, top known issues announcements, search the knowledgebase for product documentation, and server status and statistics – all from within ePO.