how to open 64bit powershell console via kace scripting

I am trying to deploy a script from kace . In the script there is a work flow and every time I try, I get following error;

PS>TerminatingError(Import-Module): "Windows PowerShell Workflow is not supported in a Windows PowerShell x86-based console. Open a Windows PowerShell x64-based console, and then try again."

Thanks in advance. 

0 Comments   [ + ] Show comments

Answers (3)

Posted by: Mashby1 7 months ago
Orange Belt

I have been down this road and I was not successful, but you could try this:

Kace agent is a 32bit binary so it invokes 32-bit powershell.

Stick this at the very top of your script to prevent this issue.


Also, check out the Kace powershell module if you haven't already.

Install-module kacesma

From: Powershell and KACE - Get-ChildItem in C:\windows\systerm32\winevt\logs not working : PowerShell (reddit.com)

Posted by: jencam 6 months ago
Senior Yellow Belt
Above solution did not work for me. I gave up on the subject. to the admin; please close this thread.
Posted by: Kiyolaka 6 months ago
Second Degree Green Belt

As others have mentioned, the KACE agent by default launches stuff in 32-bit context. 

I have the following check in my scripts so that they are launched in the native environment for 32 or 64 bit systems.


Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ