Page 1 of 1

Script execution policy set to restricted.

Posted: Thu Oct 24, 2019 9:32 pm
by TCCDesktopOps
To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build:Primalscript 7.4.124
32 or 64 bit version of product: x64
Operating system: Windows 10 build 1809
32 or 64 bit OS:x64

*** Please add details and screenshots as needed below. ***
Screenshot Attached.

Tool Output
** Your Microsoft Windows PowerShell Script execution policy is set to "Restricted" on 32 bit and 64 bit **
For the PowerShell cache building process to execute, your execution policy must be at least set to "RemoteSigned"
Please exit and restart the application after changing the PowerShell execution policies for 32 and 64 bit

- Just wondering if this is a problem, do I need to change something.

Group policy sets our execution policy as indicated by the following (run from both x86 and x64 powershell shells - same result.)

PS C:\WINDOWS\system32> Get-ExecutionPolicy

in the script security center in primalscript,
- the execution policy is the same for both x86 and x64 - allSigned.
- Trust policy is "Always run Unsigned script.
- there is a * next to current user with a note of "Current User is shared."
- I'm not sure if it is relevant, but the Script Security Center Description at the top of the window has (Non-Administrator). Primalscript is running elevated with a domain account that is in the local Administrators group.

Re: Script execution policy set to restricted.

Posted: Fri Oct 25, 2019 1:03 pm
by brittneyr
Can you please provide a screenshot of the Script Security Center running as an administrator?

You can do this from the ribbon (Home -> Platform):
PSR_SecurityElevated.png (39.09 KiB) Viewed 3057 times

Re: Script execution policy set to restricted.

Posted: Sun Oct 27, 2019 3:19 pm
by TCCDesktopOps
Attached Screenshot as requested

Re: Script execution policy set to restricted.

Posted: Mon Oct 28, 2019 5:50 pm
by Alexander Riedel
The next build will treat the local policy as a warning and still execute the cache building process. Thank you for letting us know.

Re: Script execution policy set to restricted.

Posted: Wed Nov 06, 2019 10:39 pm
by TCCDesktopOps
thankyou. :D