<?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: Deleting schema locks in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854096#M5381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Forest, you should be able to remove all the users pretty quickly using the following arcpy command.&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;gdb &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'Database Connections\w1041.sde'&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DisconnectUser&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;gdb&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'ALL'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/functions/disconnectuser.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/functions/disconnectuser.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;DisconnectUser—ArcPy Functions | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDE command line tools have a similar function, but as they are deprecated, it may be best to start working with the arcpy module.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 10:32:27 GMT</pubDate>
    <dc:creator>ChristianWells</dc:creator>
    <dc:date>2021-12-12T10:32:27Z</dc:date>
    <item>
      <title>Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854093#M5378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am wondering how&amp;nbsp;people are deleting schema locks? We are on oracle 11g and SDE 10.1. I have been using a sql delete&amp;nbsp;query run from TOAD to do it for users that have read only connections...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 20:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854093#M5378</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2016-10-03T20:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854094#M5379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Schema locks should only be managed through the ArcGIS clients. If locks need to be removed, the supported and recommended way is to disconnect users via the Geodatabase Administration window in ArcGIS Desktop.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/gdbs-in-oracle/manage-geodatabase-locks.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/gdbs-in-oracle/manage-geodatabase-locks.htm"&gt;Manage geodatabase locks—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is happening that requires locks to be removed via SQL? Are they being orphaned?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 20:42:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854094#M5379</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2016-10-03T20:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854095#M5380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Christian Wells wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schema locks should only be managed through the ArcGIS clients.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;That, in a nutshell, is what our technical lead said. But it does not work on our system.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="239395" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/239395_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if the ArcCatalog approach was working as expected it would still be inefficient. Sometimes I will have 200 locks that I need to kill in order to update a database. Selecting them by hand off the lock table would be&amp;nbsp;tiresome and prone to error. What are the other options? SDE command line? arcpy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Christian Wells wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are they being orphaned?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No, they are not being orphaned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 21:59:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854095#M5380</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2016-10-04T21:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854096#M5381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Forest, you should be able to remove all the users pretty quickly using the following arcpy command.&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;gdb &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'Database Connections\w1041.sde'&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DisconnectUser&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;gdb&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'ALL'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/functions/disconnectuser.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/functions/disconnectuser.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;DisconnectUser—ArcPy Functions | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDE command line tools have a similar function, but as they are deprecated, it may be best to start working with the arcpy module.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:32:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854096#M5381</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2021-12-12T10:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854097#M5382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're on Oracle 11g and 10.2.2 and have always been able to disconnect everyone either using ArcCatalog administration or&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;arcpy.DisconnectUser()&lt;/SPAN&gt;. Not sure if you noticed but when you're in the Connections tab of geodatabase administration, you can Ctrl+A all connections and right click to disconnect all (although you have to Ctrl+click to deselect your own connection). You can also do this when viewing the Locks tab and disconnect everyone with locks on a particular feature class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 23:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854097#M5382</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2016-10-04T23:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854098#M5383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how do you keep the users from reconnecting. &amp;nbsp;I have the box unchecked that says the Geodatabase is accepting new connections and yet my GIS server reconnects on longer GPs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 21:57:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854098#M5383</guid>
      <dc:creator>JoshWhite</dc:creator>
      <dc:date>2017-03-31T21:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854099#M5384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/ksjosh82"&gt;ksjosh82&lt;/A&gt;‌ are the connections that are reconnecting using the SDE users as their connection properties in the GP tools?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 11:48:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854099#M5384</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2017-04-03T11:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854100#M5385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like they are DBO:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/345114_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 14:31:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854100#M5385</guid>
      <dc:creator>JoshWhite</dc:creator>
      <dc:date>2017-04-03T14:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854101#M5386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is that if they are DBO then they have permissions to connect regardless if you have the option selected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ededed;"&gt;The geodatabase administrator can always make a connection to the geodatabase regardless of how this property is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/prevent-connections.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/prevent-connections.htm"&gt;Prevent geodatabase connections—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/manage-connections-sqlserver.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/manage-connections-sqlserver.htm"&gt;Manage connections in SQL Server—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 14:35:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854101#M5386</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2017-04-03T14:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854102#M5387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The thing is, the machine is just as it says my GIS server. &amp;nbsp;So the only thing that should be causing locks at all is the GIS services. &amp;nbsp;Seems a shame to have to shut down all services to make a simple schema change to one feature class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 14:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854102#M5387</guid>
      <dc:creator>JoshWhite</dc:creator>
      <dc:date>2017-04-03T14:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854103#M5388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to update the connection properties to a non-DBO user, then you can prevent the connections when you need to do schema changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/schema-locking.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/schema-locking.htm"&gt;Schema locking—ArcGIS Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be unintended issues with the services after schema changes. You may want to open a support case with &lt;A href="https://community.esri.com/groups/technical-support?sr=search&amp;amp;searchId=42170fa1-7e43-4b27-a8dc-ccb5af4ed19b&amp;amp;searchIndex=0"&gt;https://community.esri.com/groups/technical-support?sr=search&amp;amp;searchId=42170fa1-7e43-4b27-a8dc-ccb5af4ed19b&amp;amp;searchIndex=0&lt;/A&gt;‌ and discuss this with an analyst.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 14:43:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854103#M5388</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2017-04-03T14:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854104#M5389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not that great at the back end of SQL. &amp;nbsp;How do I check on this to see how to change this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 16:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854104#M5389</guid>
      <dc:creator>JoshWhite</dc:creator>
      <dc:date>2017-04-03T16:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854105#M5390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would be checked via the MXD that the map service was created off of. You would need to update the connections properties of the layer and republish the map. This may include registering the new data sources with your ArcGIS Enterprise (Portal and/or Server) setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/connect-sqlserver.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/connect-sqlserver.htm"&gt;Connect to Microsoft SQL Server from ArcGIS—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/preconfigure-connection-files.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/preconfigure-connection-files.htm"&gt;Preconfigure database connection files—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 17:02:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854105#M5390</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2017-04-03T17:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854106#M5391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ouch, that would take hours with as many services that I have. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 19:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854106#M5391</guid>
      <dc:creator>JoshWhite</dc:creator>
      <dc:date>2017-04-03T19:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854107#M5392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can understand that. I would always recommend not using the DBO/SDE (geodatabase admin)&amp;nbsp;account for anything but geodatabase administration to avoid these type of locks in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 19:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854107#M5392</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2017-04-03T19:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854108#M5393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see this is an older thread, but not sure if you resolved this issue.&lt;/P&gt;&lt;P&gt;I am on 10.2, so can't test with 10.1, but there is an option in the service to Not Lock the schema with service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/363719_pastedImage_1.png" style="width: 620px; height: 540px;" /&gt;&lt;/P&gt;&lt;P&gt;This way, I can keep my services running and do any schema changes I want.&lt;/P&gt;&lt;P&gt;However, if you do make changes to the schema, you will need to re-publish the service for it to see the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 22:47:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854108#M5393</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2017-07-20T22:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854109#M5394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is that my services ignore all attempts to keep them from reconnecting before I can complete the operation whether it be a schema lock or an overwrite. &amp;nbsp;The only effective way I have found to eliminate this locking problem is to stop all services, run my process and then restart the services. &amp;nbsp;I did go through and make sure locking was disabled (its easier in Server Manager at 10.5.1 BTW) and unchecked the box to allow new connections and the locks came right back. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:58:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854109#M5394</guid>
      <dc:creator>JoshWhite</dc:creator>
      <dc:date>2017-07-21T13:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854110#M5395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's pretty easy to change all of the data sources at once with the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/using-arccatalog/setting-data-sources.htm"&gt;Set Data Source(s)&lt;/A&gt;&amp;nbsp;tool in ArcCatalog. Once the MXD data sources have been changed to a user that is not DBO, just share it as a service and overwrite the existing service. Now, your &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/prevent-connections.htm"&gt;Prevent Geodatabase Connections&lt;/A&gt; will actually stop the services from reconnecting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 15:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854110#M5395</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2017-07-21T15:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854111#M5396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm confused, how do I go about doing that? &amp;nbsp;How do I change the user to non-DBO? &amp;nbsp;With OS authentication instead of DB?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 15:28:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854111#M5396</guid>
      <dc:creator>JoshWhite</dc:creator>
      <dc:date>2017-07-21T15:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting schema locks</title>
      <link>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854112#M5397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have database authentication, you can &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-database-user.htm"&gt;create a new database user&lt;/A&gt; for your services. Your database administrator should be able to help you with that. If&amp;nbsp;it's OS authentication, get a "service" user account created and use that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:28:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/deleting-schema-locks/m-p/854112#M5397</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2017-07-21T16:28:02Z</dc:date>
    </item>
  </channel>
</rss>

