Solved

SCCM UDI Task sequence

Posted on 2016-07-27
9
127 Views
Last Modified: 2016-08-07
I have integrated the MDT with SCCM and I would like to make sure
1. Enable bit locker  always checked
2. Computer Name should be blank and Selection OU should be mandatory

How to configure these
0
Comment
Question by:asnagesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 18

Expert Comment

by:Mike T
ID: 41732861
Hi,

You need to open the UDI Wizard editor and customize it. It is not as flexible as it could be though so I'm not sure the OU selection is viable.

It's quite involved to explain "how" to use the UDI so please explain how familiar you are with it.

thanks,

Mike
0
 

Author Comment

by:asnagesh
ID: 41733013
i am new to UDI, I have done the integration with SCCM.

I could able to do following
1. Computer page has included from default UDI, but by default it will pick computer name starting with MININT, I need to make sure the imaging team will enter proper computer name
2. I have added all the OUs and computer actually gets created the inside the OU which I am selecting from drop down. But the issue is the field is not mandatory. In - case user click on next without selecting anything -- still it continues
0
 
LVL 18

Expert Comment

by:Mike T
ID: 41733373
Hi,

OK - UDI is only part of the story. To set the name in the first instance I would use the customsettngs.ini file and automate. I never trust people to type correctly!

e.g.
[Default]
OSInstall=Y
ComputerLocationName=UNK
ComputerTypeName=UNK
OSDComputername=%ComputerLocationName%-%ComputerTypeName%-%ComputerSerialNumber%
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=NO
SkipBitLocker=NO

Notice it can be as fancy as you like. I tend to go for Asset Tag because it is unique. This solves the problem of even needing UDI for the name.

As for the OU, can you post a screenshot. I'm struggling to picture what you have.

Mike
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:asnagesh
ID: 41734179
I have attached a picture, I need the drop down mandatory, Currently there is Select Location* is the first option, if user clicks on next it continues. it should not continue with default value
0
 
LVL 18

Expert Comment

by:Mike T
ID: 41734537
the pic is missing...
0
 

Author Comment

by:asnagesh
ID: 41734540
Uploaded again
Capture.JPG
0
 
LVL 18

Expert Comment

by:Mike T
ID: 41734566
Hi,

I see what you mean. Unfortunately the UDI has no way to default that field. It's great for creating a basic "build type" menu where you have radio buttons though. That allows a default button.

I think the better way is to scrap UDI altogether and do it as follows:

1) Save machines to a staging OU, where you have no GPOs
2) In the task-sequence, MOVE the machine object to a target OU later.

The question then is how many OUs are there to choose from, which may change the solution. You can use TS variables to set them or use the customsettings.ini again. Or maybe a bit of both. I use the INI file here and then a script that reads the variable that it sets as the argument, right at the end of the TS.

In the INI you can use the IP subnet to set the "site" and under site you set the OU.

This removes the whole need of "build engineers" typing or clicking on the wrong things. Zero touch is normally the better way.

Mike

PS: The script I use is here:
http://blog.coretech.dk/jgs/vbscript-move-computer-object-to-another-ou-via-command-line-parameter
0
 

Author Comment

by:asnagesh
ID: 41737077
is there any script which can read first 5 letters of the computer name  and then move the computer account to respective OU? I have 15 OUs to play around
0
 
LVL 18

Accepted Solution

by:
Mike T earned 500 total points
ID: 41737197
You can use the task-sequence rules to do that, which will then trigger the OU move with the relevant parameter. Remember the TS can do WMI queries, so you can set the name up front and then the machine will apply the OS, apply the name, install the client and then, later, be able to move OU to the correct place as you see fit.

OR you can use customsetting.ini totally to do this, but it's much less flexible. I prefer the TS to do the logic and no extra scripting required :).

Just use something like:

select * from win32_ComputerSystem where name like "ABCDE*"


Mike
PS: the query is not tested and I've not googled it to check either, but that's it roughly
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Determining the an SCCM package name from the Package ID
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

690 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