JustinL
-
Total Posts
:
21
- Scores: 2
-
Reward points
:
10610
- Joined: 9/29/2011
- Location: Minnetonka, MN
-
Status: offline
|
OSD Prompt for OU Pre-execution hook
Thursday, August 02, 2012 4:32 PM
( permalink)
So I'm attempting to setup my OSD with an OU Prompt in the Pre-execution hook that Chris Nackers outlined in his blog post HERE. I've have my MDT boot image with the pre-execution hook enabled. I've modified the Deploy_SCCM_Definition_ENU.xml and added the MachineObjectOU Pane and Validation step and copied in the HTML from the post. I've mounted my .wim and copied over the Deploy_SCCM_Definition_ENU.xml and redistributed the boot image. When I run the TS the hook pops up and i select my OU and specify the computer name. The TS runs and after the first reboot the machine is joined to the domain but ends up in the Computers container. I'm obviously missing a step somewhere. I'm hoping someone here has gotten this to work and can point me in the right direction. Thanks in advance, Justin
|
|
|
|
fault
-
Total Posts
:
269
- Scores: 17
-
Reward points
:
23780
- Joined: 7/21/2008
- Location: Hong Kong
-
Status: offline
|
Re:OSD Prompt for OU Pre-execution hook
Friday, August 03, 2012 11:22 AM
( permalink)
|
|
|
|
fault
-
Total Posts
:
269
- Scores: 17
-
Reward points
:
23780
- Joined: 7/21/2008
- Location: Hong Kong
-
Status: offline
|
Re:OSD Prompt for OU Pre-execution hook
Friday, August 03, 2012 11:27 AM
( permalink)
Also, have you granted "sufficient" permissions for your domain join account to create computer objects in the specified OU(s)? I'm not sure if there's an authoritative minimum set of "sufficient" permissions but various people have made some suggestions / recommendations here: - http://social.technet.microsoft.com/Forums/en-US/mdt/thread/076734e3-4d37-4575-80ce-3ee6f02703cf
- http://stefanhazenbroek.blogspot.hk/2010/05/configmgr-ad-permissions-for-osd.html
- http://blog.coretech.dk/mip/creating-a-joindomain-account-for-use-with-sccm-osd/
Good luck :)
|
|
|
|
JustinL
-
Total Posts
:
21
- Scores: 2
-
Reward points
:
10610
- Joined: 9/29/2011
- Location: Minnetonka, MN
-
Status: offline
|
Re:OSD Prompt for OU Pre-execution hook
Monday, August 06, 2012 4:55 PM
( permalink)
I took a look in the NetSetup and there are no errors. In fact it appears that its successfully joining the machine to the domain and placing in the default computers container. Its as if the MachineObjectOU variable isn't being passed to the task sequence. Do I need to set a TS variable on one of the steps in the TS or something?
|
|
|
|
Pvt_Ryan
-
Total Posts
:
310
- Scores: 3
-
Reward points
:
77050
- Joined: 8/25/2009
- Location: Belfast, UK
-
Status: offline
|
Re:OSD Prompt for OU Pre-execution hook
Tuesday, August 07, 2012 5:10 AM
( permalink)
depending on how many OUs you have you could just have multiple domain join steps listing the different OUs and then use TSVariables to restrict which ones run.
Citrix Desktop Infrastructure Analyst MCTS: SCCM, CCNA Blog/Site: http://ninet.org
|
|
|
|
fault
-
Total Posts
:
269
- Scores: 17
-
Reward points
:
23780
- Joined: 7/21/2008
- Location: Hong Kong
-
Status: offline
|
Re:OSD Prompt for OU Pre-execution hook
Thursday, August 09, 2012 10:36 AM
( permalink)
JustinL I took a look in the NetSetup and there are no errors. In fact it appears that its successfully joining the machine to the domain and placing in the default computers container. Its as if the MachineObjectOU variable isn't being passed to the task sequence. Do I need to set a TS variable on one of the steps in the TS or something? You could open a debugging Command Prompt window and execute a script that simply outputs MachineObjectOU before and after it's supposedly set to confirm? Good luck :)
|
|
|
|
JustinL
-
Total Posts
:
21
- Scores: 2
-
Reward points
:
10610
- Joined: 9/29/2011
- Location: Minnetonka, MN
-
Status: offline
|
Re:OSD Prompt for OU Pre-execution hook
Friday, September 14, 2012 11:42 AM
( permalink)
Sometimes it helps to step away from something for a bit. I looked back into this after letting it sit for over a month and was finally able to get it working this morning. The missing step was adding the %MachineObjectOU% variable to the Domain OU field in the Apply Network Settings step of the TS. Once I did that everything worked perfectly. It seems so obvious now but when you're spinning your wheels on something for a while the obvious thing is sometime the hardest thing to see. Thanks to all who contributed to this thread. Your help is much appreciated. Justin
|
|
|
|