Reply To: PowerShell script executed remains in Initiated state

Zach GoodmanZach Goodman
5 pts

Hi @Klara, if your System is a 64-bit system, this could be happening because the script is being run by a 32-bit application and hence, the registry key is created but on a 32-bit node. Could you try modifying the script to access the 64-bit node?

Also, adding to what @Yvonne suggested, the MessageBox dialogs could indeed cause problems and the recommended workaround would be to use Write-Host instead to produce a host –display-only output data.

Zach Goodman
Hexnode UEM