Jump to content

Script wont run after compile


Go to solution Solved by Foderus,

Recommended Posts

Which version of Windows do you run?

Which version of AutoIt?

 

Windows Server 2008 R2 Standard

AutoIt v3.3.6.1

 

As i said earlier i ran it on Three other Machines:

Windows 7 x64 - did not run, same problem

Windows Server 2008 (Another than above, its my test-Environment in AD) - it runs fine

Windows 8 x64 pro - It ran fine

Edited by Foderus
Link to comment
Share on other sites

My best bet is that this will probably work if i reboot the machine but since its a server in production I cant just reboot it as i want :/

Hence my question if i can clear some sort of cache in AutoIt or somethin similar.

Link to comment
Share on other sites

Hence my question if i can clear some sort of cache in AutoIt or somethin similar.

Not that I know of. I would reboot the server.and hope that the problem goes away :)

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

  • Solution

Not that I know of. I would reboot the server.and hope that the problem goes away :)

 

I guess ill have to try that, i just reinstalled AutoIt but it didnt help.

I will have to wait for a reboot, will try to remember to write here if it worked or not, thanks for all the help again so far!

Also water, your UDF for AD is absolutely awesome, I am going to implement some Exchange functions in the script later on so that it creates an emailadress atuomatically too, for a newbie scripter as me having an list of functions that i can just throw in and use is completely Amazing.

Edited by Foderus
Link to comment
Share on other sites

Be aware that mailbox creation doesn't work with newer versions of the Exchange server. I had to use PowerShell.

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

  • 5 months later...

Sorry for late update, sometimes i make things more complicated than what they are.

The reason for the script not running was that i forgot that in the start of the script I put a check if the XML-file was present and if not to exit the program.

Not adding any message to inform me of this only led me to be punished by my own lack of proper scripting  o:)

Anyways, the script works damn fine and I have made one that disables users in Active Directory by a routine we have (like to write the date when the user was disabled in description and moving to a specific OU etc) and it also works like a charm.

I need to be able to create Exchange 2008+ mailboxes, going to check on maybe vbs or powershell for that i think.

 

ballmer_peak.png

Link to comment
Share on other sites

I use powershell to create mailboxes. Unfortunately it takes a lot of time and much memory to run.

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...