Hello,
I have a requirement where we need to find out user credentials that were used in UDI to join a PC to domain.
Apparently, the ultimate ask is to find out who initiated the Operating System Deployment on a specific PC.
I have tried performing below step & now after the device is built, it does create a "UserID" Reg key on the device, but it is not populating any value.
In "scripts" folder, first modified ZTITatoo.wsf:
oShell.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Deployment 4\UserID", oEnvironment.Item("UserID"), "REG_SZ"
Then modified ZTITatoo.mof:
Added, string UserID;
And added,
[PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Deployment 4|UserID"), Dynamic, Provider("RegPropProv")]
UserID;
Any suggestions here ?
Thanks,
Abhijeet Manurkar