htcfreek / SimpleLapsGui

A simple and fast GUI for Microsoft LAPS (legacy) and Windows LAPS. With this tool you can query passwords and change the expiration timestamp.
MIT License
37 stars 2 forks source link

not working on Windows 11 ? #13

Open hubergo opened 3 days ago

hubergo commented 3 days ago

when running the script on Win11 (powershell version 5.1 ) nothing happens , no error , NULL. Any hint running this script on Windows 11 kown?

htcfreek commented 3 days ago

@hubergo Hard to say. I didn't test it on Win11 yet.

But one idea i have yet: The script is not signed. So maybe the Execution Pokicy setting of PowerShell prevents execution.

For investigation:

  1. What exact version of Windows 11 do you use?
  2. Did you run the PowerShell script directly or the Exe wrapper?
  3. Did you try to run it in PowerShell ISE? Or with opening PowerShell window, typing the script path and pressing Enter? (Sometimes then you see some error message that does not show when execution the file directly.)