<?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: Has anyone applied ArcGIS Enterprise 10.6 (Server/Portal) patches by script (batchfile)? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435685#M16889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I successfully ran an ArcGIS Server patch silently with logging enabled using the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;msiexec.exe /p &amp;lt;Path to MSP file&amp;gt;\ArcGIS-&amp;lt;Version&amp;gt;-&amp;lt;Patch Name&amp;gt;.msp /quiet /l*v &amp;lt;Path to Log File&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps, I tried it on 10.7.1 but the same logic should apply to any of our patches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2019 15:52:10 GMT</pubDate>
    <dc:creator>ChristopherPawlyszyn</dc:creator>
    <dc:date>2019-11-07T15:52:10Z</dc:date>
    <item>
      <title>Has anyone applied ArcGIS Enterprise 10.6 (Server/Portal) patches by script (batchfile)?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435683#M16887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I wanted to apply a number of patches to ArcGIS Server and Portal machines but apparently there is a &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExODg2Nw=="&gt;BUG &lt;/A&gt;in the "ArcGIS Enterprise Updates" tool for 10.6.1 that's included. If you click "Install All Patches", it will do so for one, and then shut down.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;If you try the first proposed workaround,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;   &lt;P&gt;&lt;SPAN&gt;"&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;If&amp;nbsp;there are&amp;nbsp;multiple ArcGIS Enterprise components installed on the same machine, use the Patch Notification Tool with one of the other components."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;   &lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt; &lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;&amp;nbsp;you find it doesn't work. While I have to shortcuts - in my case, one for Server, one for DataStore -&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;   &lt;P&gt;&lt;SPAN style="color: black; font-family: courier new,courier,monospace; font-size: 10pt;"&gt;C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ArcGIS\ArcGIS Server 10.6.1&lt;/SPAN&gt;&lt;/P&gt;   &lt;P&gt;&lt;SPAN style="color: black; font-family: courier new,courier,monospace; font-size: 10pt;"&gt;C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ArcGIS\ArcGIS Data Store 10.6.1&lt;/SPAN&gt;&lt;/P&gt; &lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;…they both point back to the same tool:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt; &lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;\ArcGIS&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;\Server\tools\patchnotification\patchnotification.exe&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;If you then try...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt; &lt;SPAN style="font-size: 10pt;"&gt;\ArcGIS\DataStore\tools\patchnotification\&lt;SPAN style="font-size: small;"&gt;patchnotification.&lt;/SPAN&gt;exe&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;...&amp;nbsp;&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;and use it to run ArcGIS Server patches, it errors out for each Patch.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;If you try the other ESRI work-around and download and install each patch individually which is an arduous task, you end up with all the patch MSP's in ..\appdata\local\temp. I was hoping to be able to use those downloads and automate patching of&amp;nbsp;the next machine. But I can't figure out how to do that using Window CMD and a batch file.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I've tried various permutations of things like:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;   &lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;msiexec.exe /i&amp;nbsp;&amp;lt;path_to_msp&amp;gt; &amp;nbsp;/qn /l*v "&amp;lt;path_to_logfile&amp;gt;"&lt;/SPAN&gt;&lt;/P&gt; &lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;But that didn't work. Using only the syntax ESRI suggests &lt;A href="https://support.esri.com/en/technical-article/000005804"&gt;here&lt;/A&gt;: &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BLOCKQUOTE&gt; &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;msiexec.exe /p &lt;SPAN&gt;&amp;lt;path_to_msp&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;doesn't seem to run silently, and expects some UI interaction.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: segoe ui,sans-serif; font-size: 10pt;"&gt;Ultimately, I had hoped to use Python/subprocess and iterate over the MSP files and install them with msiexec. So if you've figured out how to make this kind of thing work, please holler. I see a lot of automation for patching for ArcMap or Pro, anyone tried it with Enterprise components?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2019 20:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435683#M16887</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2019-10-30T20:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone applied ArcGIS Enterprise 10.6 (Server/Portal) patches by script (batchfile)?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435684#M16888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try running it as a batch (*.bat) file with task scheduler.&amp;nbsp; Read the following blog:&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/arcgis-enterprise/administration/howto-schedule-automatic-updates-for-arcgis-enterprise/" title="https://www.esri.com/arcgis-blog/products/arcgis-enterprise/administration/howto-schedule-automatic-updates-for-arcgis-enterprise/"&gt;HowTo: Schedule Automatic Updates for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;My batch file command line looks like this:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;All updates:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;start "" /d "C:\Program Files\ArcGIS\Server\tools\patchnotification\" "patchnotification.bat" -c -i all‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Only security updates:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;start "" /d "C:\Program Files\ArcGIS\Server\tools\patchnotification\" "patchnotification.bat" -c -i sec‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 11:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435684#M16888</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2019-10-31T11:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone applied ArcGIS Enterprise 10.6 (Server/Portal) patches by script (batchfile)?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435685#M16889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I successfully ran an ArcGIS Server patch silently with logging enabled using the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;msiexec.exe /p &amp;lt;Path to MSP file&amp;gt;\ArcGIS-&amp;lt;Version&amp;gt;-&amp;lt;Patch Name&amp;gt;.msp /quiet /l*v &amp;lt;Path to Log File&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps, I tried it on 10.7.1 but the same logic should apply to any of our patches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 15:52:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435685#M16889</guid>
      <dc:creator>ChristopherPawlyszyn</dc:creator>
      <dc:date>2019-11-07T15:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone applied ArcGIS Enterprise 10.6 (Server/Portal) patches by script (batchfile)?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435686#M16890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christopher, thanks - that worked. I'm no CMD guru. Wondering if&amp;nbsp;replacing "/qn" with "/quiet" is all that was needed. Anyway, thanks for chiming in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 20:38:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435686#M16890</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2019-11-14T20:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone applied ArcGIS Enterprise 10.6 (Server/Portal) patches by script (batchfile)?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435687#M16891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FC, thanks for the comment. I had a BAT file that works. It was the actual command for msiexec that wasn't working. Chris (other comment below) helped me with this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate you chiming in though. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 20:40:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/has-anyone-applied-arcgis-enterprise-10-6-server/m-p/435687#M16891</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2019-11-14T20:40:13Z</dc:date>
    </item>
  </channel>
</rss>

