<?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 Can you uninstall the universal forwarder from a script? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74862#M15291</link>
    <description>&lt;P&gt;Sorry for the noob questions, but I am a Linux guy only recently forced back into the world of Windows.&lt;/P&gt;

&lt;P&gt;What options there are for uninstall of the universal forwarder on windows?&lt;/P&gt;

&lt;P&gt;I know you can do it via Add/Remove programs and if you happen to have the msi file then you can do it via the command line.&lt;/P&gt;

&lt;P&gt;Is there another route to do it via command line (ie scriptable) which does not need the msi?&lt;/P&gt;

&lt;P&gt;Do I need the original msi? or would a 5.0.3 msi work to trigger uninstall of a 5.0.0 UF?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2013 13:16:55 GMT</pubDate>
    <dc:creator>juniormint</dc:creator>
    <dc:date>2013-06-25T13:16:55Z</dc:date>
    <item>
      <title>Can you uninstall the universal forwarder from a script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74862#M15291</link>
      <description>&lt;P&gt;Sorry for the noob questions, but I am a Linux guy only recently forced back into the world of Windows.&lt;/P&gt;

&lt;P&gt;What options there are for uninstall of the universal forwarder on windows?&lt;/P&gt;

&lt;P&gt;I know you can do it via Add/Remove programs and if you happen to have the msi file then you can do it via the command line.&lt;/P&gt;

&lt;P&gt;Is there another route to do it via command line (ie scriptable) which does not need the msi?&lt;/P&gt;

&lt;P&gt;Do I need the original msi? or would a 5.0.3 msi work to trigger uninstall of a 5.0.0 UF?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2013 13:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74862#M15291</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2013-06-25T13:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can you uninstall the universal forwarder from a script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74863#M15292</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
You can directly migrate to newer version without uninstalling the forwarder.&lt;/P&gt;

&lt;P&gt;Below link will help you do it with the help of scripts:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.3/Deploy/MigrateaWindowsforwarder"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.3/Deploy/MigrateaWindowsforwarder&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.3/Deploy/DeployaWindowsdfviathecommandline"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.3/Deploy/DeployaWindowsdfviathecommandline&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope it will help!!!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2013 15:02:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74863#M15292</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-06-25T15:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can you uninstall the universal forwarder from a script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74864#M15293</link>
      <description>&lt;P&gt;Not really answers to my question, but good information.  Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2013 15:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74864#M15293</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2013-06-25T15:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can you uninstall the universal forwarder from a script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74865#M15294</link>
      <description>&lt;P&gt;&lt;A href="http://technet.microsoft.com/en-us/library/cc759262(v=ws.10).aspx#BKMK_Uninstall"&gt;http://technet.microsoft.com/en-us/library/cc759262(v=ws.10).aspx#BKMK_Uninstall&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I haven't done it myself. Google keywords: msiexec uninstall.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 03:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74865#M15294</guid>
      <dc:creator>adrianathome</dc:creator>
      <dc:date>2013-06-26T03:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can you uninstall the universal forwarder from a script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74866#M15295</link>
      <description>&lt;P&gt;On a computer with the Universal Forwarder installed.&lt;/P&gt;

&lt;P&gt;Click start-&amp;gt;Run-&amp;gt;regedit&lt;/P&gt;

&lt;P&gt;Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall&lt;/P&gt;

&lt;P&gt;Edit-&amp;gt;Find then enter splunk&lt;/P&gt;

&lt;P&gt;In that key you will see the UninstallString. Double click and copy that value.&lt;/P&gt;

&lt;P&gt;Click start-&amp;gt;Run-&amp;gt; cmd&lt;/P&gt;

&lt;P&gt;at cli right click and paste that value. add /qn at the end of that string to silently uninstall.&lt;/P&gt;

&lt;P&gt;Ex. for ver 5.0.2.149561 Win7&lt;/P&gt;

&lt;P&gt;MsiExec.exe /X{73B67D46-99DB-40C8-9E76-9F870C519257} /qn&lt;/P&gt;

&lt;P&gt;If you want to push this remotely there are many ways. I like psexec. Google pstools to download.  Example installer below. You could modify for the uninstaller. Running this in a bat file or from cli will open a new cmd prompt to uninstall. Let it finish with an exit code before closing.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;start cmd /k psexec \\#ipadd# -u "domain\domainadmin" -p "password" msiexec.exe /i "\\server\SplunkForwarder\splunkforwarder-5.0.2-149561-x86-release.msi" RECEIVING_INDEXER="splunkserver:9997" WINEVENTLOG_SEC_ENABLE=1 WINEVENTLOG_SYS_ENABLE=1 WINEVENTLOG_APP_ENABLE=1 WINEVENTLOG_FWD_ENABLE=1 WINEVENTLOG_SET_ENABLE=1 AGREETOLICENSE=Yes /quiet
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-uninstall-the-universal-forwarder-from-a-script/m-p/74866#M15295</guid>
      <dc:creator>antlefebvre</dc:creator>
      <dc:date>2020-09-28T14:10:47Z</dc:date>
    </item>
  </channel>
</rss>

