[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

SCCM UDI Task sequence

Posted on 2016-07-27
9
Medium Priority
?
230 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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Troubleshooting common task sequence error codes
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

649 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