I have been exploring ways to automate domain joining so that end-users can perform the process themselves without requiring specialized knowledge. Although I found several scripts online that accomplish this, none of them seem to be a comprehensive, all-in-one solution. Additionally, I want to avoid the practice of storing usernames and passwords in text files distributed to each user. Therefore, I decided to create a complete script to enable automatic domain joining for users.