Have 2 postinstall tasks that get error in Kace (K2 v 3.6), error is return code 2, System cannot find file specified. I have Kace stop on error and when I look at the Kace\apps\id# folder I can see the powerShell script there. The command line of the the 2 post install scripts is:

get error no matter if have " or not. Any one have any idea why Kace cannot see the Powershell script in it's own folder? Also When Kace stops I manually run the Powershell scripts from the Kace folder and they run with no errors. I have tried this install on a Windows 8.1 and Win 7 and get same result.

Ok thanks very much. The File type is listed as exe on both the scripts. As for the other suggested fix I had found and tried that solution before I tried this current and was getting the same result. How would I get kace to see this as the proper file type?