You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > 330: Least Privilege Manager > Knowledge Base > 03: Tips (Specific Workaround for Apps and Scenarios): > 13: How to Allow UiPath Assistant to run when running PowerShell is blocked for all Users
13: How to Allow UiPath Assistant to run when running PowerShell is blocked for all Users
print icon

When blocking PowerShell for Everyone this can also cause Applications that depend on PowerShell to have issues running properly.

For example, when using the UiPath Assistant application with PowerShell blocked, the two UiPath Assistant commands in the below screenshots will also be blocked.

To work around this issue you need to create two LPM Path and Commandline Executable Policies using the settings below.

For Policy # 1 use these settings:
PATH: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
ARGUMENTS: *"$assemblies=(\"System\");$source=\"*

For Policy #2 use these settings:
PATH: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
ARGUMENTS: "$FileContent = Get-Content -Encoding unicode %Temp%\shortcuts-params.txt; Invoke-Expression $FileContent"

Note: For both policies above be sure to set Ignore arguments case to “True”, and Comparison mode to “Strict equality”.

LPM - UiPath.Assistant PowerShell command Allowed with PATH rule 1.xml

  
   

LPM - UiPath.Assistant PowerShell command Allowed with PATH rule 2.xml

  
   
Feedback
0 out of 0 found this helpful

scroll to top icon