Jump to content

Executable file suddenly can't execute?


gahhon
 Share

Recommended Posts

So I had compiled my AutoIT script into executable file, I think like few weeks ago.
But once after I compiled the script to executable file, I tested it and it work as expected.

Somehow, I just now wanna try to execute it but failed

image.png.652119776a7e10b89a538c9d0dae189e.png

Any idea what's is going on? Do I need to recompile the script again? @@

Link to comment
Share on other sites

Did you search the forum? IIRC this has been discussed multiple times.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

21 hours ago, water said:

Did you search the forum? IIRC this has been discussed multiple times.

 

16 hours ago, FrancescoDiMuro said:

@gahhon

As @water remembered, it has been discussed many times :)

I did some search, but most of them are talking about AntiVirus.
Need to disable the AV when compiling the script, but my computer has no AntiVirus tho.

My computer is Window 10, its just come with Windows Defender Security Center.

Please advise.

Link to comment
Share on other sites

2 hours ago, rm4453 said:

Are you attempting to run it on the computer you originally compiled on?

 

-edit: spelling

Yes. And I also plan to run it on other computer as well.

1 hour ago, user4157124 said:

"... my computer has no AntiVirus ... its just come with Windows Defender Security Center."

Windows Defender is an anti virus product.

So should I disable it when compiling?
I don't find any disable menu on it tho @@

Link to comment
Share on other sites

Did you enable Application (directory) whitelisting (applocker)?

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Application directory whitelisting lets you only execute programs from defined directories.
Application whitelisting lets you only execut defined programs.

AFAIK this can only be set by group policies (but I might be wrong as I am no sysadmin). If true, you need to ask your sysadmins :) 

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

6 hours ago, water said:

Application directory whitelisting lets you only execute programs from defined directories.
Application whitelisting lets you only execut defined programs.

AFAIK this can only be set by group policies (but I might be wrong as I am no sysadmin). If true, you need to ask your sysadmins :) 

Lol. I don't have sysadmins. I developed them in my personal laptop :x

 

Link to comment
Share on other sites

2 hours ago, gahhon said:

So what should I do If I am compiled the script into .exe and will distribute them to my own clients?
Is there any specific config I should set before I compiled them to .exe and distribute to my own clients?

I recommend compiling for 32 bit and 64 bit windows, on the lowest version of windows you can, as it is usually upwards compatible. However backwards compatibility has caused some issues for me in the past.

Link to comment
Share on other sites

On 2/24/2019 at 2:03 PM, rm4453 said:

I recommend compiling for 32 bit and 64 bit windows, on the lowest version of windows you can, as it is usually upwards compatible. However backwards compatibility has caused some issues for me in the past.

I can't compile 32 tho.

 

 

Edited by gahhon
username privacy
Link to comment
Share on other sites

x86 is 32 bit, x64 is - guess - 64 bit ;)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...