JoGa 0 Posted September 6, 2015 Greetings,running D:\Programs\AutoIt3\AutoIt3.exe X:\Test.au3 with Administrator rights I get the errorLine 0 "(File X:\Test.au3)"Error: openning the file X: is the networkdrive No problem when running as standard user. Any hints would be very much appreciated. Share this post Link to post Share on other sites
Jfish 125 Posted September 6, 2015 Greetings, it would be best if you posted your code and used the code tags <>. That way folks would not be guessing. Without any more info I would try to include #RequireAdmin at the top of your script and see if that helps for admin mode when running as admin. If that works you could use IsAdmin to create a condition to require it or not. Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Share this post Link to post Share on other sites
jguinch 432 Posted September 6, 2015 Are you using RunAs or RunAsWait ?If it is the case, you probably have to remap the drive in the script running as admin, or copy and run it locally Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Share this post Link to post Share on other sites
computergroove 33 Posted September 6, 2015 What OS are you using to run the script? Are you running the script right after a reboot? There is a known issue with Windows 7 where mapped drives don't reconnect after a reboot. Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Share this post Link to post Share on other sites
JoGa 0 Posted September 7, 2015 Thanks for your reply;The OS is windows 7, the script is run 20 minutes+ after reboot.It must have to do with Windows security stuff, perhaps I have to declare the network drive as save or so...The code:GUICreate("Test", 200, 30, 500, 700) Local $L1 = GUICtrlCreateLabel("", 100, 10, 30, 30) GUISetState(@SW_SHOW) Local $t=10 do GUICtrlSetData($L1, $t) Sleep(500) $t -= 1 until(NOT $t) Exit(0) Share this post Link to post Share on other sites
KaFu 295 Posted September 7, 2015 OS: Win10-1909 - 64bit - German, AutoIt Version: 3.3.14.5, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2019-Dec-21) BIC - Batch-Image-Cropper (2019-Dec-11) COP - Color Picker (2009-May-21) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2019-Dec-07) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Share this post Link to post Share on other sites
computergroove 33 Posted September 7, 2015 There is a supposed fix for the problem but I tried it and could not get it to work so I tried a script that disconnects the network drive on startup and reconnects the drive and the same issue continued to happen. If you have the power then I would switch operating systems and test the result. It's really unprofessional for Microsoft not to have fixed this issue yet. Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Share this post Link to post Share on other sites