WindowsAddict / IDM-Activation-Script

An open source tool to activate and reset trial of Internet Download Manager
5.63k stars 641 forks source link

Error message on CMD #28

Closed Surufisu closed 5 months ago

Surufisu commented 5 months ago

I clicked on the IAS.cmd and am getting this error message. Tried running it as admin, still nothing, here's the message that I am getting:

==== ERROR ====

ConstrainedLanguage

PowerShell is not working. Aborting... If you have applied restrictions on Powershell then undo those changes.

Check this page for help. https://massgrave.dev/idm-activation-script.html#Troubleshoot Press any key to exit...

Untitled

WindowsAddict commented 5 months ago

@Surufisu You have applied restrictions on powershell in your system, remember how did you do that and undo it. You can also try to undo that with this powershell command in admin mode

Set-ItemProperty 'hklm:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' -name "__PSLockdownPolicy" -Value 8

After that run IAS, it may work.