Solved

SCCM UDI Task sequence

Posted on 2016-07-27
9
91 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to shrink a transaction log file down to a reasonable size.

840 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