<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to install a Splunk universal forwarder via command line in low-privilege mode? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-a-Splunk-universal-forwarder-via-command-line-in/m-p/245995#M47545</link>
    <description>&lt;P&gt;Hi email2vamsi, you can utilize shell variable to include the hostname in the command, i.e.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#batch %computername%
msiexec /I splunkforwarder-6.1.9-272667-x64-release.msi /qn ALLUSERS=1 REBOOT=ReallySuppress DEPLOYMENT_SERVER="host:8089" /l*v c:\temp\splunk_install.log LOGON_USERNAME="%computername%\user_name" LOGON_PASSWORD="password" AGREETOLICENSE=Yes SET_ADMIN_USER=0 /quiet

#powershell $env:computername
msiexec /I splunkforwarder-6.1.9-272667-x64-release.msi /qn ALLUSERS=1 REBOOT=ReallySuppress DEPLOYMENT_SERVER="host:8089" /l*v c:\temp\splunk_install.log LOGON_USERNAME="$env:computername\user_name" LOGON_PASSWORD="password" AGREETOLICENSE=Yes SET_ADMIN_USER=0 /quiet
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please let me know if this answers your question! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2016 15:13:54 GMT</pubDate>
    <dc:creator>muebel</dc:creator>
    <dc:date>2016-07-07T15:13:54Z</dc:date>
    <item>
      <title>How to install a Splunk universal forwarder via command line in low-privilege mode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-a-Splunk-universal-forwarder-via-command-line-in/m-p/245994#M47544</link>
      <description>&lt;P&gt;I am Installing a Splunk universal forwarder using the command line with the following command in "low-privilege" mode.&lt;BR /&gt;
I want to use a local client account that is created prior to installation.&lt;BR /&gt;
This command works fine if &lt;CODE&gt;LOGON_USERNAME="ClientHostName\user_name"&lt;/CODE&gt;  or &lt;CODE&gt;LOGON_USERNAME="domain\user_name"&lt;/CODE&gt;.&lt;BR /&gt;
I cannot use a generic approach like &lt;CODE&gt;LOGON_USERNAME=".\user_name"&lt;/CODE&gt;. This way, it fails to install.&lt;BR /&gt;
I want to use this generic approach, so that I can run this on a bunch of Windows clients.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;msiexec /I splunkforwarder-6.1.9-272667-x64-release.msi /qn ALLUSERS=1 REBOOT=ReallySuppress DEPLOYMENT_SERVER="host:8089" /l*v c:\temp\splunk_install.log LOGON_USERNAME="ClientHostName\user_name" LOGON_PASSWORD="password" AGREETOLICENSE=Yes SET_ADMIN_USER=0 /quiet
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jul 2016 07:03:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-a-Splunk-universal-forwarder-via-command-line-in/m-p/245994#M47544</guid>
      <dc:creator>email2vamsi</dc:creator>
      <dc:date>2016-07-07T07:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to install a Splunk universal forwarder via command line in low-privilege mode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-a-Splunk-universal-forwarder-via-command-line-in/m-p/245995#M47545</link>
      <description>&lt;P&gt;Hi email2vamsi, you can utilize shell variable to include the hostname in the command, i.e.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#batch %computername%
msiexec /I splunkforwarder-6.1.9-272667-x64-release.msi /qn ALLUSERS=1 REBOOT=ReallySuppress DEPLOYMENT_SERVER="host:8089" /l*v c:\temp\splunk_install.log LOGON_USERNAME="%computername%\user_name" LOGON_PASSWORD="password" AGREETOLICENSE=Yes SET_ADMIN_USER=0 /quiet

#powershell $env:computername
msiexec /I splunkforwarder-6.1.9-272667-x64-release.msi /qn ALLUSERS=1 REBOOT=ReallySuppress DEPLOYMENT_SERVER="host:8089" /l*v c:\temp\splunk_install.log LOGON_USERNAME="$env:computername\user_name" LOGON_PASSWORD="password" AGREETOLICENSE=Yes SET_ADMIN_USER=0 /quiet
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please let me know if this answers your question! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 15:13:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-a-Splunk-universal-forwarder-via-command-line-in/m-p/245995#M47545</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2016-07-07T15:13:54Z</dc:date>
    </item>
  </channel>
</rss>

