Skip to content

Find OU and write to registry

Featured Replies

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?

 

 

  • Author

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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.