Foderus Posted May 16, 2014 Author Share Posted May 16, 2014 (edited) 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 May 16, 2014 by Foderus Link to comment Share on other sites More sharing options...
Foderus Posted May 16, 2014 Author Share Posted May 16, 2014 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 More sharing options...
water Posted May 16, 2014 Share Posted May 16, 2014 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 2024-07-28 - Version 1.6.3.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 (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 More sharing options...
Solution Foderus Posted May 16, 2014 Author Solution Share Posted May 16, 2014 (edited) 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 May 16, 2014 by Foderus Link to comment Share on other sites More sharing options...
water Posted May 16, 2014 Share Posted May 16, 2014 Be aware that mailbox creation doesn't work with newer versions of the Exchange server. I had to use PowerShell. Foderus 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.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 (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 More sharing options...
Foderus Posted November 8, 2014 Author Share Posted November 8, 2014 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 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. Link to comment Share on other sites More sharing options...
water Posted November 8, 2014 Share Posted November 8, 2014 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 2024-07-28 - Version 1.6.3.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 (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 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