Splunk Enterprise

Powershell and exception policy on UF

jariw
Path Finder

L.s.,

 

At our company we deploy the Windows UF on all the vdi machine's. For security reason we make use of the security policy where powershell is prohibited to run.

On a vdi machine with the command Get-ExecutionPolicy -List | Format-Table -AutoSize i get below:

Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser Undefined
LocalMachine Restricted

The last part is where the problem is.. it restricts the local system account from executing the scripts in the universal forwarder bin folder.  It gives an error for the splunk-powershell.ps1 script and then consumes a lot of cpu.

jariw_0-1642753354362.png

 

What can we do to use the scripts and use the secutiry policy? The policy is a demand in our company, so we can't dump that one.

 

Thanx in advance..

Labels (2)
0 Karma

jariw
Path Finder

Hi SinghK

Thanx for the idea, i will look at that., could be the way to go.

 

But why is the UF calling the splunk-powershell.ps1 script in de bin foder, what is its purpose..

0 Karma

SinghK
Builder
0 Karma
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...