exe created from powershell script using IEXPRESS, is not working in client PCs

Ravi Sekhar Modukuru 0 Reputation points
2023-07-14T13:19:18.31+00:00

I have successfully created an exe file from PS1 file. the exe is working in my computer (Win11). the same exe is copied to other client computer (Win11) in my network and domain as well. but the exe is not getting executed. a window with blue screen appears for a fraction of second and disappears before I see what is displayed on the screen.

the same issue occurring in other four computers (Win11 and Win10).

No clue why the exe is not working on other Computers.

Ravi

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,593 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,854 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 30,826 Reputation points
    2023-07-14T14:53:25.4466667+00:00

    It's probably Powershell's execution policy that is blocking the script. Set it to RemoteSigned or Bypass.

    https://adamtheautomator.com/ps1-to-exe/#IExpress_20