Solved

sccm 2012 injecting drivers into offline sccm captured wim file

Posted on 2014-10-07
13
493 Views
Last Modified: 2015-01-17
Hi

I need to create an offline .wim file so that the images I create via sccm can be sent out via usb stick direct to our
pc suppliers who can ship the machines prebuilt to site.

I know how to capture an image, and upload to the server, and then redeploy out - pxe is working ok.

However for simplicity i want a solution whereby the image/.wim file is on a usb stick, and has directory of "drivers" on the same usb stick where the "base/golden" image is when installing onto new machine "out of the box" with our "corporate build" at the pc suppliers.

Once this is fixed, i would then only have to copy up new "drivers" to same usb stick/s with the "base/golden" image and the image would reference this directory and install the relevant drivers - i think via a wmi query?

I don't know how to do this but know that it is possible, but not done it before in win7 or xp.


The only thing that we will then need to be done once the p.c is delivered to site is for it to be added to the domain - we don't require this task to be added into this .wim file as it won't work as the pc suppliers won't have a network connection to our network to add the machine to the domain

Thanks for any replies in advance.
0
Comment
Question by:Michael Murphy
  • 6
  • 3
  • 3
  • +1
13 Comments
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 40367324
Use MDT instead (you should have installed MDT and integrated it with SCCM as it adds about 200 more deployment options).. Within MDT create a MEDIA folder and copy off the contents of the 'content' folder to the usb stick.
0
 

Author Comment

by:Michael Murphy
ID: 40367410
Thanks David , are there any walk through.guides for this solution anywhere? I am a sccm rookie any links woukd be appreciatedWill feed back asap. Many thanks
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 40367497
#1 resource for SCCM/MDT OSD: http://deploymentresearch.com/

BTW, I have both SCCM 2012R2 and MDT 2013 in my environment and I just use MDT 2013 straight up.  OSD in SCCM 2012R2 is very fincky...MDT 2013 just works great by itself.
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 40367503
I paid for these out of my own pocket from Amazon, but they are highly rated:

Deployment Fundamentals, Vol. 5: Building a Real-World Infrastructure with Windows Server 2012 R2, Mdt 2013, and Powershell:

http://www.amazon.com/gp/product/9187445093/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

System Center 2012 R2 Configuration Manager: Mastering the Fundamentals, 3rd Edition:

http://www.amazon.com/gp/product/9187445085/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

Johan Arwidmark is an absolute beast when it comes to OS deployment and I've chatted with him several times on the forums.
0
 

Author Comment

by:Michael Murphy
ID: 40369369
hi thanks for all replies.

I have installed MDT2013 onto SCCM2012 server, not had a chance to use it today.

My colleague side tracked me into using another method which seems to have worked, but may not be
the best method.

I will try and explain the best I can as it's been a LOOOOOOOOONNNNNNG day !

Create reference pc manually "base/golden image" - captured this via capture media.

We loaded and injected the drivers into the boot image x64, and then have created separate tasks for Add Drivers
as separate tasks which are scheduled after installing the base image.

I need to prove this works again tomorrow as ran out of time.- will update you.

Thoughts?
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 40369453
SCCM takes forever to test in comparison with MDT so if you are a consultant carry on with SCCM if you just need to get it done use MDT

Don't forget to integrate MDT into SCCM or you will not see the benefits.  SCCM will not export to a USB stick or an .iso but MDT will.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:Michael Murphy
ID: 40369496
Hi David

SCCM is real pain in the.... moving on I will give MDT a go I am definately not a consultant and a complete rookie with SCCM.

I maybe misunderstanding your point re USB, and I am not an expert, but I have deployed the captured image via usb stick - I have proven this today - unless  i am mistaken.

Also you can do this by using ImageX aswell - this isn't SCCM but it can utilise the .wim file and install.

The next avenue I am looking at is IIS as this maybe the issue after googling around - but i am not an expert - i used a walkthrough plus assistance to do this install.

http://iboyd.net/index.php/2009/01/09/troubleshooting-sccm-and-bits-downloads/

http://myitforum.com/myitforumwp/2011/11/09/sccm-waiting-forever-for-content/
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 40369530
When I watch MDT, its injecting the drivers via DISM before the image is applied via ImageX.  You probably could add all the drivers in one go to the "golden image" with DISM, but I don't know if that's a good idea.  You generally just inject the drivers needed via WMI and not add them all in one go as Windows may pick the wrong driver if multiple versions of the driver exist.
0
 

Author Comment

by:Michael Murphy
ID: 40369580
Hi

Please ignore last paragraph re iis and URLs will.remove asap but cant remove as on mobile. Will feedback more asap thanks everyone
0
 
LVL 17

Expert Comment

by:Mike T
ID: 40472814
Hi Michael,

You really need to concentrate on MDT to build a reference image. That is OS + patches + Visual C++ in flavours. Do this on virtual hardware NOT physical. You can use vmware or hyper-v - it doesn't matter. What matters is not capturing hardware you don't want.

Once that is done, concentrate on building a driver library for each model you have. Organise it by model and by feature. Then import the model and all sub-folders into SCCM.

Once you have that you import the reference WIM and create a task sequence and add in drivers using WMI filters.

Once you have that sorted you can create a media based deployment or a deployment for distribution.

The MDT only option is to create a Production share (to keep them separated) and import the drivers into MDT instead, and then use the  "LiteTouch OEM” Task Sequence.

Note, MDT is not as good at dealing with drivers as SCCM so personally I would persevere with SCCM for the final stage.

If you want extra help, the best advice I can give is for you to buy the Deployment Fundamentals book by Johan and Mike - there are now 5, so pick the best one that suits you.

Mike
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 40472823
How many images do you want to support? Unless you are in a large corporation that bulk buys hardware and only use a few models you will end up with having to support 10's if not hundreds of different hardware models and mfr's  .. Been there done that with ghost ... Never Again.. MDT and 1 reference image, per o/s and leverage mdt to get the correct drivers installed and not by using Plug and Pray to select the correct driver from a hundred of drivers but to query the hardware and install only the correct drivers, Dell and HP make it easy, Lenovo not quite as easy.but  doable...  The only time I use thick images is for AutoCAD since it takes forever to install and setup.
0
 

Accepted Solution

by:
Michael Murphy earned 0 total points
ID: 40510968
Hi

I have got this now complete and apologies for not replying sooner.

I have apps fully configured and deployed, windows config settings configured, and drivers injected and working - this is for 2 machines - 1 desktop and 1 laptop.

This is working 100% on a usb stick via SCCM - create task sequence media - this has been done not via MDT.

I am now moving on to MDT to inject the windows updates into the .wim file.

The only issue I have now is speed of install it was 30 mins and now 90 mins, so i will be opening a new ticket. thanks everyone.
0
 

Author Closing Comment

by:Michael Murphy
ID: 40554951
Solved own problem.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Table of Contents: Lesson 1 - Installing Windows Server 2012 (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2012/A_11592-Become-an-Administrator-Installing-Windows-Server-2012.html) Lesson 2 - Configuring Ser…
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

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

14 Experts available now in Live!

Get 1:1 Help Now