TerryNZ Posted August 20, 2022 Share Posted August 20, 2022 Windows 10. I was running happily for years writing simple Autoit .au3 programs, either uncompiled or compiled into .exe. One day I found that the au3 interpreter was no longer able to run, with error "Windows cannot access the specified device path or file. You may not have appropriate permissions to access the item". This occurs for every instance. If I compile the code, the exe runs OK. What can be causing this? Link to comment Share on other sites More sharing options...
Danp2 Posted August 20, 2022 Share Posted August 20, 2022 Probably due to your AV software. Are you running anything besides Windows Defender? pixelsearch 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
TerryNZ Posted August 21, 2022 Author Share Posted August 21, 2022 Thanks. AVG was the culprit. Specifically "File Shield". Putting it to sleep for 10 minutes temporarily removed the problem. Then adding an exception for the path to the program AutoIt3_x64.exe - (via AVG Menu > Settings > Exceptions) in this case c:\Program Files (x86)\AutoIt3 - fixed the problem permanently. Link to comment Share on other sites More sharing options...
Musashi Posted August 21, 2022 Share Posted August 21, 2022 4 hours ago, TerryNZ said: AVG was the culprit. Specifically "File Shield". Putting it to sleep for 10 minutes temporarily removed the problem. Other options (already described many times) are : 1. use the .a3x-Format : see e.g. : are-my-autoit-exes-really-infected 2. solution from @Exit : see : au3tocmd-avoid-false-positives 3. Compile your script as a 64-bit application : #AutoIt3Wrapper_UseX64 = Y Some users have reported, that this may solve issues with AV scanners. Exit and pixelsearch 2 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now