<?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: Windows Scheduler run Python issue - ERROR 000732 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619067#M20572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just for info, here's a link to instructions on &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/48475-Please-read-How-to-post-Python-code" rel="nofollow noopener noreferrer" target="_blank"&gt;how to post Python code&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Import arcpy module
import arcpy

# Log file
logfile = "C:\\arcgis\\scripts\\log\\speedreturn2.log"
f = open(logfile, 'w')

arcpy.ImportToolbox(r"C:\arcgis\Tools\GPS_speed.tbx", "TBX")

try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Speed_TBX()
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.close()
except:
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.write(arcpy.GetMessages(2))
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.close()
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:26:38 GMT</pubDate>
    <dc:creator>Luke_Pinner</dc:creator>
    <dc:date>2021-12-12T02:26:38Z</dc:date>
    <item>
      <title>Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619065#M20570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OS: Windows Server 2008 R2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python 2.7.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arcgis 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a toolset GPS_SPEED, Model name: Speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Python script is very simple, as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DOS Command Line run successfully. No except error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Windows Task Scheduler run python, The error raised at â??arcpy.Speed_TBX()â??.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Erro Log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute. Parameters are not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000732: Join Features: Dataset Y:\Data\Current\ROADBUFFERLL.shp does not exist or is not supported&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Speed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;checked Y:\Data\Current\ROADBUFFERLL.shp, it is correct. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------Script------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import arcpy module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Log file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;logfile = "C:\\arcgis\\scripts\\log\\speedreturn2.log"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;f = open(logfile, 'w')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.ImportToolbox(r"C:\arcgis\Tools\GPS_speed.tbx", "TBX")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; arcpy.Speed_TBX()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; f.close()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;except:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; f.write(arcpy.GetMessages(2))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; f.close()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------End Script------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestion are greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Julie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 19:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619065#M20570</guid>
      <dc:creator>JulieYuan</dc:creator>
      <dc:date>2013-08-06T19:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619066#M20571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The only thing I can think of is that the task is running under a different user that doesn't have access to your Y: drive.&amp;nbsp; Check the properties of your scheduled task.&amp;nbsp; In Windows 7, the task scheduler has a "When running a task, use the following user account" option.&amp;nbsp; Is it the same account that you are logged into when you run from DOS?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 21:15:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619066#M20571</guid>
      <dc:creator>DaleHoneycutt</dc:creator>
      <dc:date>2013-08-06T21:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619067#M20572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just for info, here's a link to instructions on &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/48475-Please-read-How-to-post-Python-code" rel="nofollow noopener noreferrer" target="_blank"&gt;how to post Python code&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Import arcpy module
import arcpy

# Log file
logfile = "C:\\arcgis\\scripts\\log\\speedreturn2.log"
f = open(logfile, 'w')

arcpy.ImportToolbox(r"C:\arcgis\Tools\GPS_speed.tbx", "TBX")

try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Speed_TBX()
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.close()
except:
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.write(arcpy.GetMessages(2))
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.close()
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:26:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619067#M20572</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2021-12-12T02:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619068#M20573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The only thing I can think of is that the task is running under a different user that doesn't have access to your Y: drive.&amp;nbsp; Check the properties of your scheduled task.&amp;nbsp; In Windows 7, the task scheduler has a "When running a task, use the following user account" option.&amp;nbsp; Is it the same account that you are logged into when you run from DOS?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dmhoneycutt, Thank you very much. The problem solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the same user to run the DOS command and Schedule Task. But the Y drive is remote map network drive. I think when the user log in, the drive is connected and mapped. But the Schedule Task didn't have the drive exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Added the command before run the Python. It works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;net use Y: /d /Y
net use Y: \\adminfs\gis
IF EXIST "Y:\Data\Current\ROADBUFFERLL.shp"&amp;nbsp; echo "Y:\Data\Current\ROADBUFFERLL.shp exist" &amp;gt;&amp;gt;C:\arcgis\scripts\log\speedreturn.log
C:\Python27\ArcGIS10.1\python.exe C:\arcgis\Tools\SpeedReturn.py&amp;nbsp; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Julie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:26:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619068#M20573</guid>
      <dc:creator>JulieYuan</dc:creator>
      <dc:date>2021-12-12T02:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619069#M20574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Julie:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Very nice solution!&amp;nbsp; I like the way you used DOS commands to echo the existence of the file.&amp;nbsp; I did not know about the DOS command NET USE.&amp;nbsp; So I did a little investigation and thought I'd pass on what I found out to other readers of this post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To learn about NET USE, enter this at the DOS command prompt:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;NET USE /HELP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lower case is supported, so you can also type: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;net use /help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I figured out that your line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;net use Y: \\adminfs\gis &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is mapping the Y: drive to &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;\\adminfs\gis&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As best I can figure out, the first line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;net use Y: /d /Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is actually shorthand for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;net use Y: /delete /YES&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which removes the existing connection to the Y: drive (&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;/delete&lt;/SPAN&gt;&lt;SPAN&gt;) then instructs DOS to remember any subsequent mapping you make.&amp;nbsp; Is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, we just wrote a &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2013/07/30/scheduling-a-scrip/"&gt;blog post&lt;/A&gt;&lt;SPAN&gt; about scheduling tasks so this thread is particularly timely.&amp;nbsp;&amp;nbsp; If you could confirm that &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;net use Y: /d /Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is doing what I think it does, I'll add some more to the blog post about using the NET USE command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dale&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 17:11:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619069#M20574</guid>
      <dc:creator>DaleHoneycutt</dc:creator>
      <dc:date>2013-08-07T17:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619070#M20575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Julie:&lt;BR /&gt;&lt;BR /&gt;So, I figured out that your line:&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;net use Y: \\adminfs\gis &lt;/SPAN&gt;&lt;BR /&gt;Is mapping the Y: drive to &lt;SPAN style="font-family:Courier New;"&gt;\\adminfs\gis&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;As best I can figure out, the first line:&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;net use Y: /d /Y&lt;/SPAN&gt;&lt;BR /&gt;is actually shorthand for:&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;net use Y: /delete /YES&lt;/SPAN&gt;&lt;BR /&gt;which removes the existing connection to the Y: drive (&lt;SPAN style="font-family:Courier New;"&gt;/delete&lt;/SPAN&gt;) then instructs DOS to remember any subsequent mapping you make.&amp;nbsp; Is this correct?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Dale&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dale,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are 100% correct. &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;net use Y: /d /Y &lt;/SPAN&gt;&lt;SPAN&gt; is remove the existing connection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks making the documents clear and organized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Julie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 17:21:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619070#M20575</guid>
      <dc:creator>JulieYuan</dc:creator>
      <dc:date>2013-08-07T17:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619071#M20576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree that Julie had a pretty cool workaround, was even worth a vote up!&amp;nbsp; I did not know about the "net use" command either.&amp;nbsp; But wouldn't it be easier to just use the full UNC path in the model?&amp;nbsp; That way you would not need to fuss with remapping the network drive.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may not be the case, but if the user's have different mapped network drives and they run a tool and it overwrites their prior mapped drive settings, that could anger a lot of users!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a quick test:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; # mapped network drive test
&amp;gt;&amp;gt;&amp;gt; shp = r'G:\Data\Shapefiles\Census_CedarCo\Block_Groups.shp'
&amp;gt;&amp;gt;&amp;gt; if arcpy.Exists(shp):
 print 'yes'

 
yes
&amp;gt;&amp;gt;&amp;gt; # UNC path test
&amp;gt;&amp;gt;&amp;gt; shp = r'\\ccgis\Cedar_CO_GIS\Data\Shapefiles\Census_CedarCo\Block_Groups.shp'
&amp;gt;&amp;gt;&amp;gt; if arcpy.Exists(shp):
 print 'yes'

 
yes
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think using the full UNC path would be the safest way, although remapping the network drive with the command prompt was pretty cool!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619071#M20576</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T02:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619072#M20577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I totally agree that UNC paths would be better.&amp;nbsp; My takeaway from this, for debugging purposes, is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]If you have data access problems, look for suspicious drive letters like &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;Y:&lt;/SPAN&gt;&lt;SPAN&gt; instead of the typical &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;C:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;E:&lt;/SPAN&gt;&lt;SPAN&gt; .&amp;nbsp; It usually implies that a network drive has been mapped and the mapping no longer exists, or cannot be found by the scheduled task.&amp;nbsp; You can either change the script or model being run to use a UNC path instead of a drive letter, or, as an alternative when modifying the model or script is difficult, use the NET USE stuff...[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 19:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619072#M20577</guid>
      <dc:creator>DaleHoneycutt</dc:creator>
      <dc:date>2013-08-07T19:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619073#M20578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I totally agree that UNC paths would be better.&amp;nbsp; My takeaway from this, for debugging purposes, is:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[INDENT]If you have data access problems, look for suspicious drive letters like &lt;SPAN style="font-family:Courier New;"&gt;Y:&lt;/SPAN&gt; instead of the typical &lt;SPAN style="font-family:Courier New;"&gt;C:&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;"&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;/SPAN&gt; and &lt;SPAN style="font-family:Courier New;"&gt;E:&lt;/SPAN&gt; .&amp;nbsp; It usually implies that a network drive has been mapped and the mapping no longer exists, or cannot be found by the scheduled task.&amp;nbsp; You can either change the script or model being run to use a UNC path instead of a drive letter, or, as an alternative when modifying the model or script is difficult, use the NET USE stuff...[/INDENT]&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 19:47:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619073#M20578</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-08-07T19:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Scheduler run Python issue - ERROR 000732</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619074#M20579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just a further note to this - you can run the NET USE command from within Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import os&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;os.system("net use y: \\path\\to\\folder")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case you don't want to do it in DOS before running the PY script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Darryl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 19:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/windows-scheduler-run-python-issue-error-000732/m-p/619074#M20579</guid>
      <dc:creator>DarrylKlassen</dc:creator>
      <dc:date>2013-08-28T19:54:20Z</dc:date>
    </item>
  </channel>
</rss>

