Solved

SCCM UDI Task sequence

Posted on 2016-07-27
9
55 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 16

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 16

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

 
LVL 16

Expert Comment

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

Author Comment

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

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 16

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

707 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

17 Experts available now in Live!

Get 1:1 Help Now