Jump to content


Sign in to follow this  
shawnabhi

MDT UDI Task Sequence and Domain Join Credentials_Report

Recommended Posts

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

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

Edited by shawnabhi

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...