Security
MSI
Verified recipe
Splunk Universal Forwarder Silent Install Switches (Intune & SCCM)
Silent install switches
/quiet /norestart RECEIVING_INDEXER="<INDEXER>:9997" AGREETOLICENSE=Yes SERVICESTARTTYPE=auto LAUNCHSPLUNK=1
Silent uninstall switches: /quiet /norestart
Intune Win32 app settings
Paste these into the Program and Detection rules steps when you add Splunk Universal Forwarder as a Win32 app.
Install command
msiexec /i splunkforwarder-x.x.x-x64-release.msi /quiet /norestart RECEIVING_INDEXER="server:9997" AGREETOLICENSE=YesUninstall command
msiexec /x {SPLUNKUF_GUID} /quiet /norestartDetection rule (Registry)
HKLM\SOFTWARE\Splunk\splunkforwarder- Device restart behavior: no restart required.
SCCM / ConfigMgr deployment type
Installation program
msiexec /i splunkforwarder-x.x.x-x64-release.msi /quiet /norestart RECEIVING_INDEXER="server:9997" AGREETOLICENSE=Yes SERVICESTARTTYPE=autoUninstall program
msiexec /x {SPLUNKUF_GUID} /quiet /norestartValues in braces (for example a product GUID) depend on the exact version you deploy. Swap in the value from your installer, or let InstallMage read it for you.
Deployment notes
MSI from splunk.com. Replace <INDEXER> with your indexer hostname. Set DEPLOYMENT_SERVER for managed config. Runs as Local System by default.
Windows Installer packages install silently with msiexec /i <file>.msi /qn (or /quiet) and uninstall with msiexec /x {ProductCode} /qn.
FAQ
- What are the silent install switches for Splunk Universal Forwarder?
- Splunk Universal Forwarder installs silently with /quiet /norestart RECEIVING_INDEXER="<INDEXER>:9997" AGREETOLICENSE=Yes SERVICESTARTTYPE=auto LAUNCHSPLUNK=1 (it uses a MSI installer). Full command: msiexec /i splunkforwarder-x.x.x-x64-release.msi /quiet /norestart RECEIVING_INDEXER="server:9997" AGREETOLICENSE=Yes
- How do I silently uninstall Splunk Universal Forwarder?
- Run: msiexec /x {SPLUNKUF_GUID} /quiet /norestart
- What detection rule should I use for Splunk Universal Forwarder in Intune?
- Use a registry detection rule. Registry key exists: HKLM\SOFTWARE\Splunk\splunkforwarder.
- How do I deploy Splunk Universal Forwarder with Intune?
- Wrap the installer as a Win32 app (.intunewin), set the install and uninstall commands above, and add the detection rule. InstallMage can build the .intunewin and generate these commands from the Splunk Universal Forwarder installer in under three minutes.