Debugger do not want runing! #9258
Replies: 5 comments
-
|
Hi, this is not an issue with Ghidra, rather it's a Windows Powershell security block, where Windows is stopping the script completely because it isn't digitally signed. You can run the file like this with Powershell running as Administrator: powershell -ExecutionPolicy Bypass -File "C:\ghidra_12.1_PUBLIC\Ghidra\Debug\Debugger-agent-dbgeng\data\debugger-launchers\local-dbgeng.ps1"However, if you're launching the debugger from inside Ghidra, manually running the script usually isn't necessary. A better fix is: Set-ExecutionPolicy -Scope CurrentUser RemoteSignedIf it still blocks you, you can use: Unblock-File "C:\ghidra_12.1_PUBLIC\Ghidra\Debug\Debugger-agent-dbgeng\data\debugger-launchers\local-dbgeng.ps1"Otherwise, if it keeps blocking you, you can unblock all files from security warnings in the Ghidra 12.1 folder using: Get-ChildItem "C:\ghidra_12.1_PUBLIC" -Recurse -File | Unblock-File |
Beta Was this translation helpful? Give feedback.
-
|
I run as Administrator /and launch debuger insite Ghidra/but still ERROR File not digitally signed and do not work! |
Beta Was this translation helpful? Give feedback.
-
@skavengeer You need to open Powershell as Administrator and try the commands above. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@skavengeer The solution provided by @EmirX3D is the correct one. Newer versions of Windows require explicitly allowing permissions for unsigned powershell scripts. Alternatively, you can use the .bat launchers instead of the .ps1 versions. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
The file. ......ghidra_12.1_PUBLIC\Ghidra\Debug\Debugger-agent-dbgeng\data\debugger-launchers\local-dbg
eng.ps1 is not digitally signed. You cannot run this script on the current system.
Beta Was this translation helpful? Give feedback.
All reactions