We help IT Professionals succeed at work.

SCCM 2007 SP2 R2 OSD - Prompt user for details

interoil
interoil asked
on
Medium Priority
1,625 Views
Last Modified: 2013-11-21
Hi All,

We have a SCCM 2007 SP R2 server. We are using OSD to image our Windows 7 machines.

The imaging is working properly. I have a simple vbscript which prompts the user for the computer name via a 'Run Command line' task sequence step.

This is working correctly also.

What we would like to do is also have a combo box which the user selects the intended location of the machine. Each row in the combo would have hidden columns which would contain the timezone value and an LDAP string indicating which OU to add the computer account to.

How can I achieve this?

Could I develop a form, with the input fields on it, in say Visual Basic and get it to display in a task sequence step?

Thanks in advance.
Comment
Watch Question

Author

Commented:
Sorry... SCCM 2007 SP2 R2
CERTIFIED EXPERT
Commented:
Have a look at Task Sequence Variables, that's basically what you're after, these can be set via script during the deployment.  Here are a couple of links to help you get started.

http://hayesjupe.wordpress.com/sccm-osd-task-sequence-variables-a-beginners-guide/

http://technet.microsoft.com/en-us/library/bb632442.aspx

Cheers
George SimosIT Pro Consultant - IT Systems Administrator
CERTIFIED EXPERT
Commented:
A great solution from Microsoft that plugs in Configuration Manager and provides Zero Touch, Lite Touch and User Driven Installation (this is the part that interests you) is the "Microsoft Deployment Toolkit 2010 Update 1" (aka MDT).
You may use it to provide a nice UI with prepopulated choices to your users, if you start using it you will never look back again :)
Take a look here http://blogs.technet.com/b/msdeployment/archive/2010/07/07/microsoft-deployment-toolkit-2010-update-1-now-available.aspx

Some things you should know beforehand are:
1) You will have to run the program that integrates it with configuration manager after the installation (it doesn't do it automatically)
2) You should definitely read the docs and any tutorials in the internet
3) When you create a Task Sequence based on MDT you should right click on "Task Sequences" node and then select "Create Microsoft Deployment Task Sequence".
4) A great site to start is here http://www.truesec.com/deploymentcd please download both CDs, they have lot's of info.
5) Don't try anything on a live environment, your tests should be in a lab and after success and acceptance replicated to production.

Hope these will help you.

Author

Commented:
Thanks guys for the replies.

Further info... we have multiple sites. The site a client is imaged at isn't necessarily the site it will be permanetly based at. The tech running the image knows at that point where the machine will be based. To be able to prompt the tech for only the computer name and a location (which would have a timezone and LDAP string associated with it) would be perfect.

I have setup MDT 2010, used the UDI designer and created a MDT task sequence. This is working. The only annoying thing is the prompts for things like the Domain Join credentials and the local admin password etc. Can I use other steps in the task sequence to set these variables so they are not required in the UDI wizard step?

The other thing is the Selected OUs don't display as a distinguished name in the drop-down list. The tech only sees just the name of the final OU which can be meaningless. Do you have any suggestions for improving this?

Thanks again.
Nagendra Pratap SinghDesktop Applications Specialist
CERTIFIED EXPERT

Commented:
If you see Johan Arwidmark's  or truesec's tutorials then he explains a case where you can make an OU for workstations and then create a limited account which cannot do much but can add remove PCs to that OU.

All this can be set in the task sequences.

You can see the general idea here http://stefanhazenbroek.blogspot.com/2010/05/configmgr-ad-permissions-for-osd.html but there is excuse for not having those deployment CDs for any SCCM admin.

George SimosIT Pro Consultant - IT Systems Administrator
CERTIFIED EXPERT

Commented:
Any news about this issue?

Author

Commented:
Sorry for the delay guys. I was out of the country.

I used the links provided above plus this one as well:

http://prettygoodfrontend.codeplex.com/

Thanks for the help on this.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.