mik3 Posted January 9, 2012 Share Posted January 9, 2012 (edited) Hello, I am new to Autoit. I found the script Walt Truman created. It works fine. However, I would like to add an input box plus the code to add computer description for the computer account that is to join domain. Can someone assist me. ThanksJoinDomain.au3 Edited January 9, 2012 by mik3 Link to comment Share on other sites More sharing options...
water Posted January 9, 2012 Share Posted January 9, 2012 As this script is quite old (2006) I would suggest to create your own version based on my Active Directory UDF (for download please see my signature). If you like I can assist in writing the script so the learning curve isn't as steep. 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...
mik3 Posted January 9, 2012 Author Share Posted January 9, 2012 Thanks Water. I got this one working fine, but if you can help me with something better then great. I would need to be able to do the same things the script/GUI I attached plus be able to add a computer description to the account. Also creating a computer account in AD would be great to. Thanks Link to comment Share on other sites More sharing options...
mik3 Posted January 9, 2012 Author Share Posted January 9, 2012 I just took a look at your scripts. Change password, move computer account, set/change user password, delete computer account would also be great things to be able to do from the GUI. Thanks Link to comment Share on other sites More sharing options...
water Posted January 9, 2012 Share Posted January 9, 2012 Do you want to have this two functions (1: create a computer account in AD and add a computer description, 2: add the computer to the domain) in two separate scripts or combined in one script? I would suggest the first because creating an account needs privileges a normal user doesn't have whereas joining a computer to a domain can be done by everyone (up to 10 computers). 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...
mik3 Posted January 9, 2012 Author Share Posted January 9, 2012 I would like it in one script/GUI. The people who will be using it will have the privileges to do all of this. Thank you so much! Link to comment Share on other sites More sharing options...
water Posted January 9, 2012 Share Posted January 9, 2012 I will post an example GUI in a few days ... 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...
mik3 Posted January 9, 2012 Author Share Posted January 9, 2012 Thank you!!! Link to comment Share on other sites More sharing options...
water Posted January 9, 2012 Share Posted January 9, 2012 (edited) Here is a first preview of the GUI. Every function will have its own tab. Every tab has the same structure: A header line describing what the tab does, a label and an input field in every row plus (optional) additional controls. The "process" button processes the currently displayed tab. The script will be easy to expand. Edited January 9, 2012 by water 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...
mik3 Posted January 9, 2012 Author Share Posted January 9, 2012 Looks great! I can not wait to learn from the code. Plus it is going to be a great tool. Thanks Link to comment Share on other sites More sharing options...
water Posted January 10, 2012 Share Posted January 10, 2012 (edited) Here is the first - incomplete - version. All tabs should work now. The PC is joined to the domain using the credentials of the currently logged on user. If you test, please use a test AD because I just have readonly access to our domain and can't test. Edit: ADAT can now be found in the Active Directory Example Script thread (please see my signature). Edited November 30, 2012 by water 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...
mik3 Posted January 10, 2012 Author Share Posted January 10, 2012 I compiled, and got the following. Link to comment Share on other sites More sharing options...
water Posted January 10, 2012 Share Posted January 10, 2012 _AD_CreateGroup isn't used in the ADAT script. What version of the AD UDF do you use (can be found in the first few lines of the UDF)? Did you change the ADAT script? 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...
mik3 Posted January 10, 2012 Author Share Posted January 10, 2012 I did not change the script. I copied ADAT.au3 into the AD 1.2.0 folder. Then I compiled, and ran it. Link to comment Share on other sites More sharing options...
water Posted January 10, 2012 Share Posted January 10, 2012 What do you get if you run it from SciTE? 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...
mik3 Posted January 10, 2012 Author Share Posted January 10, 2012 I get this. Link to comment Share on other sites More sharing options...
water Posted January 10, 2012 Share Posted January 10, 2012 Looks like the AD.au3 is ocrrupt or got changed. Could you please re-download the AD UDF and try again? 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...
mik3 Posted January 10, 2012 Author Share Posted January 10, 2012 I deleted everything. Downloaded AD1.2.0.zip and ADAT.zip. Copied ADAT.au3 to AD1.2.0 folder, compiled and ran, same result. Link to comment Share on other sites More sharing options...
water Posted January 10, 2012 Share Posted January 10, 2012 What version of AutoIT do you use? 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...
mik3 Posted January 10, 2012 Author Share Posted January 10, 2012 Looks like 3.2.2.0 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