Jump to content


  • 0
Kevin79

Find OU and write to registry

Question

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

2 answers to this question

Recommended Posts

Join the conversation

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

Guest
Answer this question...

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.