OSD Application Install; OU Requirement

I'm seeing some issues when using an OU (and child OUs) as a requirement for application deployment during OSD.

The target machine logs the application as "not required" during the Task Sequence, I'm guessing because SCCM hasn't got the OU information for the machine, yet. Is there any way I can trigger population of this data in ConfigMgr during OSD to facilitate this requirement specification.

I have a 'workaround' where I read the OU from ADDS however this won't work for IBCM clients - so I end up either having a working TS and breaking IBCM deployment of the applications, or vice versa.

Thanks,

June 13th, 2013 7:45am

SCCM gets the OU information from the registry and that is populated when the machine recieves group policy after imaging and domain join. You can try a gpupdate /force before the install application step
Free Windows Admin Tool Kit Click here and download it now
June 19th, 2013 10:26pm

Thanks, I will give this a go and come back to you.
June 22nd, 2013 6:52am

Any luck or work around? I am seeing the same issue.

Thanks.

Quick update...my logs looked like the ones in the link below and trying to separate out the apps to see if that helps. I have also recreated the apps and deployments in SCCM.

http://www.windows-noob.com/forums/index.php?/topic/5894-osd-install-application-limit-of-1-to-9

Free Windows Admin Tool Kit Click here and download it now
July 16th, 2013 6:06pm

You can try a gpupdate /force before the install application step

Isn't group policy processing disabled when a task sequence runs?
July 16th, 2013 7:01pm

This is my understanding as well Torsten.  to the OP, could you use the Requirements of the deployment type to make this determination and just set it to run for all devices during OSD?  Just thinking out loud..
Free Windows Admin Tool Kit Click here and download it now
July 17th, 2013 1:11pm

This is my understanding as well Torsten.  to the OP, could you use the Requirements of the deployment type to make this determination and just set it to run for all devices during OSD?  Just thinking out loud..

Tried various other ways, including a script that ran as a requirement to determine the OU by querying AD, this worked during OSD but, unsurprisingly, broke the Internet Based Client Management deployments of this application.

So what I ended up doing with this was building a script which runs during the TS and sets a Task Sequence variable dependant upon the contents of OSDMachineOU. Therefore I no longer need any OU requirement on the deployment type.

Thanks for your help on this.

August 23rd, 2013 7:36am

Microsoft has confirmed that OU-Based application installation during OSD with that requirement is not working as per design.

Reason, like already mentioned, is that theres is no Policy/AD evaluation within a running TS.

Also, the OU-Requirement does not query the AD, but a registry value on the client, which is not representing the value of the Machine-Account in the AD during the TS.

Free Windows Admin Tool Kit Click here and download it now
December 5th, 2013 1:27pm

I'm 'stuck' here as well...

My Office 2013 application has multiple deployment types (MUIs) with requirements based on OUs.

These are being ignored during OSD...

Is the only way around this, to amend my requirements on the application? I was going to add a reg key, but then realised that my Requirements can't have an 'Or' statement... i.e. This OU or this reg key... so if I added the reg key as a requirement, everything outside of OSD would break.

Would an AD site requirement on the application be better?

October 2nd, 2014 12:10pm

Could you create a custom Global Condition to accommodate the requirements?
Free Windows Admin Tool Kit Click here and download it now
October 2nd, 2014 2:03pm

I'd still need the ability to apply the 'or' condition...

i.e. OU as the current rollout works OR Reg Key for OSD... which I don;t think I could accomplish!?

October 2nd, 2014 3:10pm

I don't have the ability at the moment to look for sure but off my head I would think you could create a Global Condition for the registry key, then create another global condition that is an Expression and add OU or your custom reg condition?
Free Windows Admin Tool Kit Click here and download it now
October 2nd, 2014 3:45pm

Sorry to resurrect such an old post. Any idea as to what registry key it queries? I'm having this same problem and wonder if I can just set this key during deployment.
March 12th, 2015 11:34am

Hi,

Thats the Key:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Distinguished-Name

You may edit this key during deployment and set it to the OU the machine currently belongs to. Just query the AD via any script technology you prefer to get the the correct OU and paste it to the registry.

Regards


  • Edited by McAllstar 14 hours 39 minutes ago
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2015 12:55pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics