Jump to content


Kevin79

Find OU and write to registry

Recommended Posts

Is there a way to find the Computer Name and OU in a TS and then write it to the registry? I'm trying to install an application that depends on the OU of the computer (Software Library - Applications - <Application Name> - Deployment Types - Requirements) so that the correct language is installed. It won't install during OSD since the registry key that Configuration Manager look at isn't populated (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Distinguished-Name). I want to populate it so that the software installs. Is there a way to find this info out and then write it to the registry?

 

 

Share this post


Link to post
Share on other sites


I got it to work. I had to create a set in my TS that imports a registry key based on the default gateway.

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...

×
×
  • Create New...