Solved

SCCM UDI Task sequence

Posted on 2016-07-27
9
64 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
  • 5
  • 4
9 Comments
 
LVL 17

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 17

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
 

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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 17

Expert Comment

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

Author Comment

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

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 17

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

920 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

12 Experts available now in Live!

Get 1:1 Help Now