this post was submitted on 13 Nov 2023
1 points (100.0% liked)

Homelab

380 readers
9 users here now

Rules

founded 1 year ago
MODERATORS
 

I know about MDT, WDS

The way I do it is I create a super generalized image via NTLite and powershell scripts and I deploy it on the system. I do have to create a user account manually in the middle of the process, tho, and wait for the scripts to run post-install upon first logon

Can it be more automated than this? How do companies do it?

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago (1 children)

User creation is always a separate process from system deployment. I know of nothing that can do both at the same time.

Deploy via sccm/mdt and create the AD user.

You could have a script that you run separately that creates the AD user. This is what I do. Just feed it a csv file.

Though your question merits further research.

[–] [email protected] 1 points 1 year ago

Do I inject the csv file into the image like I would a script? Will the csv file be read immediately after the answer file? AFAIK the answer file is always read first

[–] [email protected] 1 points 1 year ago

Are you talking about bare metal or virtual machines?

Bare Metal I used Microsoft SCCM. It’s a pain to manage but when it works right you can easily use Task Sequences to deploy images with PXE boot.

I also had a previous install of Dell Open Enterprise Manager.

VMs, anything like Terraform and Ansible will work to deploy an image.

[–] [email protected] 1 points 1 year ago (1 children)

I do it with an answerfile with a clonezilla image. Simple and works.

[–] [email protected] 1 points 1 year ago

I also use the autounattended answer file but my point is I still have to create a user and wait for the post install scripts to complete upon first logon