The PowerShell has been whitelisted and JIT was also provided but the user is still unauthorized to run the script. Is this related to EPM? Please view the attached photo.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The PowerShell has been whitelisted and JIT was also provided but the user is still unauthorized to run the script. Is this related to EPM? Please view the attached photo.

L2 Linker
4 REPLIES 4

You may have the required privileges, but you are still restricted with the local security policies, review your Local Security Policy (secpol.msc) and the Group Policy (gpedit.msc)

L1 Bithead

Hi @Raphael Estanislao​,

 

There are three main options I see.

  1. Get the policy changed for your machine which is probably the best option.
  2. If you are manually running the script, and it's not being run by a task, just type out the set-executionpolicy command. Although this is annoying.
  3. In the mean time if you can't get the policy changed right awayt, create a little batch script to launch powershell for you, it should look something like this.
@echo off powershell.exe -executionpolicy bypass -nologo -file "my_script.ps1"

Let me know how it goes,

 

Dan

 

L1 Bithead

Hi @Raphael Estanislao​,

 

There are three main options I see.

  1. Get the policy changed for your machine which is probably the best option.
  2. If you are manually running the script, and it's not being run by a task, just type out the set-executionpolicy command. Although this is annoying.
  3. In the mean time if you can't get the policy changed right awayt, create a little batch script to launch powershell for you, it should look something like this.
@echo off powershell.exe -executionpolicy bypass -nologo -file "my_script.ps1"

Let me know how it goes,

 

Dan

 

L4 Transporter

Hi @Raphael Estanislao​ 

 

As it seems Igor & Dan provided an answers to your question, could you kindly share if this solution resolved your issue?

If so, could you please mark on of their answer as "Select as Best" to help other community members?

 

If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.

 

Thank you,

Niv

  • 144 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!