Renaming PC and Domain Joining after imaging with OSDCloud

Posted by Inevitable-Visual-41@reddit | sysadmin | View on Reddit | 2 comments

Hi gents,
I'm not sure if i'm in the right place to ask about this but i know there are plenty of sharp fellas here and i was hoping to get some help.

At the company where i work we are looking to start imaging laptops using OSDCloud with a ZTI script to try and make it as smooth as possible, i had 4 issues that i need to solve to make it work as we want it to work
1.- Skipping OOBE,
2.- Custom password for the built in Administrator account
2.- Rename PC based on the Asset Tag (Dell Laptops)
3.- Join our domain

So far the only thing i've managed to do is to skip the OOBE, i did so with a script located in X:\OSDCloud\Automate\Shutdown inside my wim, i have been trying multiple pw scripts, tried placing some scripts in X:\OSDCloud\Automate\FirstBoot but they don't seem to be running after the first restart, the administrator account is disabled every single time, and also tried some lines within my zti script to try and make them work but after 3 weeks of trial and error i'm not getting too far and i can't seem to find any useful threads/links after googling for a little while, copilot was helping me but he lost the plot and now he is in a loop lol.

Maybe (hopefully) this is something super easy to fix and i'm just a noob, i appreciate any replies to this topic, I'm quite new to this, i didn't do a lot of scripting at the school.

Thank you in advance for your suggestions, if any of you guys need more context to be able to help me let me know