<?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 Auto-Update(or through Script) changed password in MXD's in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/how-to-auto-update-or-through-script-changed/m-p/773596#M1132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AS,&lt;/P&gt;&lt;P&gt;actually the only possibility to updating and fixing data sources of map documents, layers and table views is using arcpy.mapping. There different methods to switch between datasources: &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/updatingandfixingdatasources.htm"&gt;http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/updatingandfixingdatasources.htm&lt;/A&gt;. In the case of ArcSDE connections the path incl. password is specified in the connection file. You can use the full path to the file or in cases where the connection file appears in the Database Connections folder, you can provide that string in the path as well. Something like that: map.findAndReplaceWorkspacePath(find_workspace_path=lyr.workspacePath, replace_workspace_path=r"C:\Newpath\To\SDE_ConnectionFile.sde")&lt;BR /&gt;Means you have to create new connection files with new passwords and then have to run the script against the map documents.&lt;BR /&gt;In version 10.4 there should be a tool for changing passwords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Angela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 12:54:00 GMT</pubDate>
    <dc:creator>AngelaMüller</dc:creator>
    <dc:date>2016-02-11T12:54:00Z</dc:date>
    <item>
      <title>How to Auto-Update(or through Script) changed password in MXD's</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-auto-update-or-through-script-changed/m-p/773595#M1131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;In our company ArcGIS Desktop Users have tens of mxd's with saved user credentials. To follow our company standards, users need to change their passwords once in 3 months. For large number of ArcGIS Desktop users it is very difficult to open all MXD's(containing SDE and/or ArcGIS Server connections) and update the passwords. Due to this users end up with locked database account except those who dont save their credentials in document.&lt;/P&gt;&lt;P&gt;Please share the best practices for this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our Environment: ArcSDE 10.1, RHEL 6, ArcGIS Desktop 10.1 &amp;amp; 10.3, Oracle 11g2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 06:03:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-auto-update-or-through-script-changed/m-p/773595#M1131</guid>
      <dc:creator>User35489</dc:creator>
      <dc:date>2016-02-09T06:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Auto-Update(or through Script) changed password in MXD's</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-auto-update-or-through-script-changed/m-p/773596#M1132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AS,&lt;/P&gt;&lt;P&gt;actually the only possibility to updating and fixing data sources of map documents, layers and table views is using arcpy.mapping. There different methods to switch between datasources: &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/updatingandfixingdatasources.htm"&gt;http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/updatingandfixingdatasources.htm&lt;/A&gt;. In the case of ArcSDE connections the path incl. password is specified in the connection file. You can use the full path to the file or in cases where the connection file appears in the Database Connections folder, you can provide that string in the path as well. Something like that: map.findAndReplaceWorkspacePath(find_workspace_path=lyr.workspacePath, replace_workspace_path=r"C:\Newpath\To\SDE_ConnectionFile.sde")&lt;BR /&gt;Means you have to create new connection files with new passwords and then have to run the script against the map documents.&lt;BR /&gt;In version 10.4 there should be a tool for changing passwords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Angela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 12:54:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-auto-update-or-through-script-changed/m-p/773596#M1132</guid>
      <dc:creator>AngelaMüller</dc:creator>
      <dc:date>2016-02-11T12:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Auto-Update(or through Script) changed password in MXD's</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-auto-update-or-through-script-changed/m-p/773597#M1133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Let me share a python script which writes information about MXDs to a text document.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;1. All MXD files names &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;2. All MXD files names with their broken layer/table name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;This script need to be copied to folder where MXD files are present. Also available on ESRI help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Thank you Angela for very informative link.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 04:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-auto-update-or-through-script-changed/m-p/773597#M1133</guid>
      <dc:creator>User35489</dc:creator>
      <dc:date>2016-02-15T04:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Auto-Update(or through Script) changed password in MXD's</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-auto-update-or-through-script-changed/m-p/773598#M1134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Angela, we've run into this problem at my site... did the 10.4 release include the password change tool you mentioned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 19:23:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-auto-update-or-through-script-changed/m-p/773598#M1134</guid>
      <dc:creator>GregBury</dc:creator>
      <dc:date>2016-11-23T19:23:44Z</dc:date>
    </item>
  </channel>
</rss>

