Custom user input when loading MDT windows PE

Symbiot 21 Reputation points
2020-12-11T15:04:55.657+00:00

I have configured MDT with SQL.
and it goes like that:

User booting from PXE
Windows PE loading and processing bootstrap then cs.ini and gets information from SQL which TASKID is going to be processed with MAC address - (I've set it up just to check if everything works) so far.

For my lab, I have 2x virtual machines with different MAC and when it fires it checks DB and fires accordingly TASKID without even touching it.

[Settings]
Priority=CSettings, Default
Properties=MyCustomProperty

[Default]
_SMSTSORGNAME=xxx
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipSummary=YES
SkipRoles=YES
SkipLocaleSelection=YES
EventService=http://xxx:9800

[CSettings]
SQLServer=xxx
Instance=xxx
Database=xxx
Netlib=xxx
DBID=xxx
DBPwd=xxx
Table=ComputerSettings
Parameters=UUID, AssetTag, SerialNumber, MacAddress
SQLShare=xxx
ParameterCondition=OR

The database will be customized(in future) so I can populate it with custom JobID and PartNo that corresponds to TASKID - database itself is not a problem at this stage.

Now is a big question and I can't find any information or at least direction. I'm assuming it's going to be done with windowsPE unattend.xml during initial PXE boot but still can't find how to do what I want to with it and I'm not sure if it's the right approach.

I want to ask the user for a JobID and then it will check in the database for a PartNo that will be linked with TASKID so I can pass it back to execute it/save to "local" TaskSequenceID - that will be fired later.

Any help would be great!

Thank you

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
844 questions
{count} votes