Jump to content




anyweb

Deploy Windows 7



Recommended Posts

Step 1. Advertise the Task Sequence

 

In the Operating System Deployment node, click on Task Sequences and right click on the Task Sequence we just created, choose Advertise

 

advertise.jpg

 

when the General screen comes up, choose the settings as below in the screenshot, you can browse to a collection called Deploy 7 (you should have created this collection beforehand).

 

deploy 7 collection.jpg

 

 

 

 

Schedule

 

Set your schedule depending on whether you are in a Lab or Production Environment.

 

For a Lab Environment

 

Make the Task Sequence mandatory by clicking on the yellow star and select As soon as possible.

 

Select ignore maintenance windows when runing program and allow system restart, set the program rerun behaviour to always rerun program so that we can rerun the task sequence over and over as we require for testing.

 

for a lab env.jpg

 

For a Production Environment

 

In a Production environment set the advertisement from Mandatory to Optional, this gives us less risk of an accidental deployment but also introduces the possibilty of choice.

 

 

for a prod env.jpg

 

if you want to remove choice then keep the advertisement mandatory but change the program rerun behaviour to never rerun (see below screenshot).

 

never rerun.jpg

 

 

 

 

 

select the following Distribution Point options

 

dp.jpg

 

show the task sequence progress

 

show the task sequence progress.jpg

 

and click next, next, next and close.

 

at this point you can right click on the Deploy 7 collection, choose properties and you'll see our new Task Sequence is advertised to that collection

 

advertisement.jpg

 

Step 2. Last Actions

 

All you have to do now is Add systems to the Deploy 7 collection and pxe boot them, then they will get imaged with our pre-captured Deploy 7 Enterprise X64 RTM image.

 

You can do this in many ways, either by Direct Membership, Computer Association, AD groups membership....

 

job done !

Share this post


Link to post
Share on other sites


OK, so today i tried the entire step-by-step guide and this went smoothly. I advertised to my "Test machine". It got as far as Partitioning the disk where it says "Formatting Volume E". It completes the format (which took extremely long) then comes up with the ffg error 0x80004005. What could be the cause of this?? thanks

Share this post


Link to post
Share on other sites

you can speed up the format by editing the task sequence and putting a checkmark in 'quick format' in the Partition Disk 0 section.

quick.jpg

Share this post


Link to post
Share on other sites

you can speed up the format by editing the task sequence and putting a checkmark in 'quick format' in the Partition Disk 0 section.

 

I tried this for a fresh deployment of a new system, however after booting into WinPE it would exit with no error code. Instead it says there's no Task Sequence available for this machine.

 

I then removed the checkmark and everything worked perfectly.

 

This was with a virtual machine on Hyper-V.

Share this post


Link to post
Share on other sites

Get this error when trying to deploy WIndows 7, but WIndows XP deployment Works:

 

Failed to connect to "\\XXX\SMSPXEIMAGES$\SMSPKG\POC00016" (86) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

!slistSMBPaths.empty(), HRESULT=80040103 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,2163) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

FALSE, HRESULT=80040103 (e:\nts_sms_fre\sms\framework\tscore\tspolicy.cpp,1635) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

Content location request for POC00016:28 failed. (Code 0x80040103) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

pTSPolicyManager->GetContentLocations( m_sPackageID, m_lSourceVersion, m_dwContentSourceFlags, slistContentLocations, slistHttpContentLocations, slistMulticastContentLocations, m_dwContentPackageFlags ), HRESULT=80040103 (e:\nts_sms_fre\sms\framework\tscore\tspolicy.cpp,2330) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

(*iTSReference)->Resolve( pTSPolicyManager, dwResolveFlags ), HRESULT=80040103 (e:\nts_sms_fre\sms\framework\tscore\tspolicy.cpp,2862) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

m_pSelectedTaskSequence->Resolve( m_pPolicyManager, TS::Policy::TaskSequence::ResolvePolicy | TS::Policy::TaskSequence::ResolveSource, fpCallbackProc, pv, hCancelEvent), HRESULT=80040103 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1208) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

Failed to resolve selected task sequence dependencies. Code(0x80040103) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

hrReturn, HRESULT=80040103 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmediaresolveprogresspage.cpp,408) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

ThreadToResolveAndExecuteTaskSequence failed. Code(0x80040103) TSPxe 12.10.2009 15:51:08 1400 (0x0578)

 

IN POC00016 we have the the Windows PE .wim file.

 

Does anybody know what the problem is??

 

Thanks.

 

Jean André

Share this post


Link to post
Share on other sites

hehehe, solved :) Tried another port in the switch and everything worked. Looks like a faulty cisco port strange..

Share this post


Link to post
Share on other sites

Thanks for the very nice writeup.

 

I am trying to find out this:

 

In the Deploy Win 7 collection...how do I include a fresh [bare metal] PC which has no OS?

I guess a bare metal PC can be added using its MAC address. But when I try to add its MAC, SCCM's console does not detect it {I mean it does not appear in the search results} when I go into the collection >> properties.

 

So how is a bare-metal machine imaged using SCCM?

Share this post


Link to post
Share on other sites

Quick Question

 

When the advertisement is created as recommended in here from the Task Sequense, where is the actual avertisement in case I want to go later and modify? I checked were all my advertisemets are normally but is not there and I know there is one becuase it shows in the collection.

Share this post


Link to post
Share on other sites

Quick Question

 

When the advertisement is created as recommended in here from the Task Sequense, where is the actual avertisement in case I want to go later and modify? I checked were all my advertisemets are normally but is not there and I know there is one becuase it shows in the collection.

I am currently trying Deploy Windows 7 x64 Operating System Using SCCM 1007 SP2. Initially Laptop was rebooting after booting to WinPE, I checked the issue and found that LAN card Drivers were missing. I have Injected the Drivers Manually and now the Laptop Boots to WinPE and gets a IP, Formats the Hard Drive and Downloads the .wim and after that I see a message saying Applying Operating System and the next statement says Applying operating system to c:\ and when the blue bar completes I get a task sequence error and system reboots in 15 minutes.. I have attached the error message.

 

 

 

I am trying to deploy a operating system on Acer Travelmate 4740.

post-6964-12844511315251_thumb.jpg

Share this post


Link to post
Share on other sites

we\d need to see the smsts.log file to find out why it failed

Share this post


Link to post
Share on other sites

we\d need to see the smsts.log file to find out why it failed

 

Hi,

 

I know i am asking a very stupid question. But how will i be able to get the smsts.log from a baremetal Laptop.

Share this post


Link to post
Share on other sites

Thank You. i was able to find it and attached is the log.

 

Requesting you to help me on the same. I'm unable to findout the issue.

 

 

Seems that an incorrect image is trying to be applied during the "Apply Operating System Image" task. At the "Apply Operating System Image" task, an image that contains a Windows OS needs to be selected. If a data image is selected instead, the errors will occur.

How are you doing the this step in applying Operating system.

 

Image does not contain OS architecture information. Unable to verify that the OS will be compatable with the target machine.<BR>Unable to find a Windows system root at C:\. Element not found. (Error: 80070490; Source: Windows)<BR>Failed to find the system root for the applied OS.  Element not found. (Error: 80070490; Source: Windows)

 

check out this link for more information http://support.micro....com/kb/2023447

Share this post


Link to post
Share on other sites

Seems that an incorrect image is trying to be applied during the "Apply Operating System Image" task. At the "Apply Operating System Image" task, an image that contains a Windows OS needs to be selected. If a data image is selected instead, the errors will occur.

How are you doing the this step in applying Operating system.

 

Image does not contain OS architecture information. Unable to verify that the OS will be compatable with the target machine.<BR>Unable to find a Windows system root at C:\. Element not found. (Error: 80070490; Source: Windows)<BR>Failed to find the system root for the applied OS.  Element not found. (Error: 80070490; Source: Windows)

 

check out this link for more information http://support.micro....com/kb/2023447

 

Hi,

 

i have captured a image from a refrence machine. I have the .wim file of the image. I had to save the image in the local hard disk but in different partition as capture to the network share didn't work.

 

I have image's in my task sequence which say 1-1 2-2 3-3. I'm not sure which one is the right image. How will i be able to find it. currently i have 2-2 selected in my task sequence.

Share this post


Link to post
Share on other sites

Hi,

 

i have captured a image from a refrence machine. I have the .wim file of the image. I had to save the image in the local hard disk but in different partition as capture to the network share didn't work.

 

I have image's in my task sequence which say 1-1 2-2 3-3. I'm not sure which one is the right image. How will i be able to find it. currently i have 2-2 selected in my task sequence.

 

Another post avilable from you on http://www.windows-n...-sccm-2007-sp2/ .seems to be the same post on this issue.

 

You can verify this Under the option "Select image you want to view:", switch between the different images (i.e., "1-1" or "2-2") that are contained in the WIM file. Determine which image, i.e. 1-1 or 2-2, contains the Windows installation. The image that contains the Windows installation will have information next to the fields "OS version", "Architecture", "HAL Type", and "Description". The non-Windows data image will not have anything next to these fields.

 

Select Images.jpg

Share this post


Link to post
Share on other sites

I have a very simple and quick question...I have an "upgrade" image that I have developed that captures the user state and then migrates from Windows XP to Windows 7 and then restores the state. Since we are capturing the state and not performing a bare-metal deplopyment...does the machine have to be logged on for the advertisement to kick off the upgrade. The client machine does have the SCCM client installed.

 

Thanks for any tips,

 

Anthony

Share this post


Link to post
Share on other sites

Hi, this is my first post here, happy New Year! Happy OSD and Green Status!

 

Have a question regarding the Windows7 OSD. I captured Win7 x86 without any problems using that post:

 

http://www.windows-noob.com/forums/index.php?/topic/1543-how-can-i-capture-windows-7/

 

But have a problem with OSD. I did the following steps:

1. I created new Collection (Windows7 OSD).

2. I added captured Win7 image to the OS Images, added Distribution Point and updated DP. The package status is installed.

3. I created Task Sequence

4. I advertised TS and linked TS with Windows7 OSD collection

5. I imported computer to the Windows7 OSD collection

6. Computer booted up from PXE and loaded WINPE. There was a first message 'Windows is starting up', after that 'Preparing network connections', but it popped up for 0,5 seconds, and machine rebooted.

7. On the next attempt I hit F8, in the CMD box I checked my IP settings - everything looks properly, I got an IP address from DHCP, I could ping sccm server using fqdn.

 

It's strange, because I was able to capture the image using same x86 boot image.

 

What else I shuld check? I will be grateful for any help!

Share this post


Link to post
Share on other sites

Hi,

I am deploying the WIndows Embedded Standard 7 which is a member of domain and discovered in SCCM 2007 SP2 R2 server, using the PXE method described in this article. It deploys properly with PXE method .Everything works fine.

 

Now I would like to deploy the same OS which I captured & deployed in PXE method using another method described in article http://technet.micro...y/bb680730.aspx. Once I advertise the task sequence, client gets an advertisement on the system tray. AT this time client is logged in with domain administrator account. My SCCM server & AD all are same server. When i click on Run this task sequence, it starts excuting TS and i am getting a windows related to "Restart in WInPE" sub task at client OS side & but after 1 minute (in this "Restart in Windows PE" subtask window itself), it gives a TS error which is related to not able to access network .Hence client does not restart in to WinPE and does not proceed to remaing tasks in the task sequence.I went through the SMSTS.log, the package ID (XPE0008E) for which it is giving an error refers to boot image which i created and i am able to access this image location from client using \\<computername> share folder.

Checking or unchecking the option "Make this task sequence avaialble to boot media and PXE" while advertising does not make any differance.

 

I am attaching the SMTS.log for your referance. So what could be the problem?

smsts_28_09_11_OSDwithoutPXE.log

Share this post


Link to post
Share on other sites

Hi Folks i am getting this error. i am attaching logs file.

Can anybody please help me get past this ?

 

Thank you

** If you need anything else please let me know.

 

Failed to Run Task Sequence

 

An error occured while starting the task sequence (0x80070032).

For more information, please contact ....

 

http://pastebin.com/x3MDCxnZ

http://pastebin.com/smaMxL61

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×