Solved

SCCM 2012 Assigning OU's without multiple Task Sequences

Posted on 2013-06-03
5
379 Views
Last Modified: 2014-10-28
I am trying to find a way to script the assigning of OU's in my task sequence so I don't have to have a TS for each OU.

I need this to work for existing computers on my domain and newly imported.

I work for a large schools system and each classroom/lab has it's own OU.

I have a standard naming convention for the computers of BuildingName-Room#

Do I have to use MDT? If so, how and where in the task sequence do I perform this task?
0
Comment
Question by:kisd
5 Comments
 
LVL 23

Accepted Solution

by:
Nagendra Pratap Singh earned 158 total points
ID: 39218272
Does this work for you?

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Systems_Management_Server/Q_25356093.html

Basically you need to set OSDDomainOUName  using some method.

or you can pre-create the accounts in AD in the specified OU
0
 

Author Comment

by:kisd
ID: 39222181
It is the "some method" that I am looking for help with.
0
 
LVL 16

Assisted Solution

by:Mike T
Mike T earned 157 total points
ID: 39384413
Hi,

"Some method" :)

One solution is to create collections or use existing ones, and set the OSDDomainOUName per collection. e.g.

Collection             OU
Building 1            Chemistry lab
Building 2            Biology lab

An alternative I just thought of is to set the variable as a TS step, but use the conditions tab to set WMI filters (see Hayes Jupe's link below). It's slightly more complicated but avoids the overhead of collections and is more user-friendly further down the line.

References:
http://social.technet.microsoft.com/Forums/systemcenter/en-US/5f1c8340-c15f-4c90-90ed-c9a5c4760008/domain-ou-selection-in-sccmmdt-osd
Using TS variables
Prompting for computer name

The latter could easily prompt for building name instead, or just hardcode it per collection.

Hope that helps,

Mike
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now