Re: NCPA plugins causing Python errors
Posted: Tue Apr 07, 2020 3:30 pm
We will be waiting on your findings about any possible restrictions for running PS scripts on your system that you might have.
Meanwhile, you can check if your scripts need to use 64-bit powershell in order to work. I can see that you are using the "default" ps1 directive:
You could try using the 64-bit powershell (if needed):
From the ncpa.cfg file:
Meanwhile, you can check if your scripts need to use 64-bit powershell in order to work. I can see that you are using the "default" ps1 directive:
Code: Select all
.ps1 = powershell -ExecutionPolicy Bypass -File $plugin_name $plugin_argsCode: Select all
.ps1 = c:\windows\sysnative\windowspowershell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -File $plugin_name $plugin_argsHope this helps.# Since windows NCPA is 32-bit, if you need to use 64-bit powershell, try the following for
# the powershell plugin definition:
# .ps1 = c:\windows\sysnative\windowspowershell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -File $plugin_name $plugin_args