I-Am-Jakoby / Powershell-to-Ducky-Converter

This is an application I am developing to automatically convert powershell scripts into ready to use Ducky scripts
193 stars 27 forks source link

app doesnt open? #2

Open dan7ez456 opened 1 year ago

dan7ez456 commented 1 year ago

Hi,

I tried using your powershell-duck-converter, but it seems to just open and close pretty much imediately?

i tried this on latest version of windows 11 only?

any advice, much appreciated. Thanks!

Cacciaa commented 1 year ago

Hello, Sorry for the late response, you basically need to change powershell execution policy. Open powershell as Administrator, enter Get-ExecutionPolicy, if it says "Restricted" you can't run scripts and we need to change that, so: enter Set-ExecutionPolicy Unrestricted, this allows you to execute any script, signed and unsigned, confirm with Y. After you've done that you can run the script, and if you want to set the powershell back as it was just open it again and type Set-ExecutionPolicy Restricted, confirm again with Y and you're good. Hope this helps you out ;)

dan7ez456 commented 1 year ago

Hi Jakoby,

Excellent, that worked!

will check out your converter soon hopefully!

keep up the good work and your videos.

Many Thanks.

Cacciaa commented 1 year ago

I'm not Jakoby, just a random dude lol, glad it helped tho.