There seems to be an issue with using the blockexection. The app that is being blocked during deployment is still being blocked after. Anyone having this issue?
I was about to post this as well.
The kit does not automatically remove the reg key blocking the .exe when that parameter is set after completing the install successfully.
Example below:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplorer.exe
Entry
conhost.exe --headless powershell.exe -NonInteractive -NoProfile -NoLogo -Command & ([scriptblock]::Create([Microsoft.Win32.Registry]::GetValue(âHKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkitâ, âBlockExecutionCommandâ, $null)))
This was already fixed three weeks ago, itâll be in 4.0.5. - Fix bug where blocked executables weren't properly resetting. ¡ PSAppDeployToolkit/PSAppDeployToolkit@e05a91b ¡ GitHub
2 Likes