Jump to content


Steve_BE

Modify Build and capture Task sequence - change not seen by client

Recommended Posts

Hello

 

 

First of all thank you very much for all the guides and the help you provide here !!!!

 

 

Now based on the guide found at http://www.windows-noob.com/forums/index.php?/topic/4468-using-sccm-2012-rc-in-a-lab-part-7-build-and-capture-windows-7-x64/, I made a small mistake and missed the "and that you DO enter an Administrator Password" when creating the task sequence.

As the OS is not part of a domain or is another user configured ... I'm locked out ....

 

So I modified the settings accordingly but I cannot get the client computer to see that modification.

 

Topology is : one main server (in a datacenter) with a dedicated SQL instance and one disribution point in another physical building where I reside with my test computer.

 

I tried by

- Right click the task sequence and Deploy (to the same Collection)

- I selected all references one by one and Update Distribution point (Bootimage package, OS installation package and CM client upgrade package)

 

When I do 'Distribute Content' and select 'Add Distribution points', only the server in the datacenter is selectable. not my WDS on the client site (which means it is already valid for the task sequence right?)

 

I'm pretty sure it's my distribution point that's missing the new info but I dont know how and where I can push the new version of the task sequence.

 

Thanks for your help

Steve

Share this post


Link to post
Share on other sites

task sequences themselves are just a bunch of instructions defined by policies, when you for example pxe boot a computer and select a task sequence it pulls down the policies (instructions) that it needs to carry out from it's management point.

 

if you want to be sure that you are using the modified task sequence simply change it's name

 

for example, if the task sequence is called "deploy windows 7 x64" change it to "deploy windows 7 x64 v1.0"

 

then pxe boot your computer, and which task sequence do you see ? you do not need to re-advertise the task sequence after changing steps in it

Share this post


Link to post
Share on other sites

Hello

 

I renamed the task sequence to v1.1 and it is picked up when restarting the build & capture task sequence.

But local amdinsitrator is still disabled when I try to log on

 

The Task sequence (it's the only one created so far):

 

post-16315-0-75801800-1338978507_thumb.png

 

But I also I have another issue (missed that one as I let it run overnight to only see the login page in the morning)

Maybe it is linked to that as it doesnt properly finish the sequence ?

 

Taks sequence fails at the "Setup Windows and Configuration Manager":

 

CLibSMSMessageWinHttpTransport::Send: URL: CORPSCL01.comany.com:443  PROPFIND /NOCERT_SMS_DP_SMSPKG$/CCM0000A OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
In SSL, but with no client cert OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
Error. Received 0x80072efd from WinHttpSendRequest. OSDSetupHook 6/5/2012 11:05:45 AM 1928 (0x0788)
connect (sock, (struct sockaddr *) &SockAddrIn, sizeof (struct sockaddr_in)) == 0, HRESULT=8007274d (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,725) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
socket 'connect' failed; 8007274d OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
hr, HRESULT=80072efd (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,8738) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
sending with winhttp failed; 80072efd OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
oHttpTransport.Send((char*)S_DAVQUERY, (sizeof(S_DAVQUERY)/sizeof(S_DAVQUERY[0]))-sizeof(char), pReply, nReplySize), HRESULT=80072efd (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,829) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
SendResourceRequest() failed with 0x80072efd OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
SendResourceRequest(), HRESULT=80072efd (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,572) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
oDavRequest.GetDirectoryListing(setDirs, setFiles), HRESULT=80072efd (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2411) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
Retrying download... OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)

 

It tries 2 times then switch to SMB:

 

Tried all the available http based locations. SMB based locations will be attempted now. OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
!saSMBContentSources.empty(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2849) OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
DownloadContentAndVerifyHash(pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, pszUserName, pszUserPassword ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3007) OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
DownloadContentLocally(pszSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3217) OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3122) OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
TS::Utility::ResolveSource(sClientPackageID, sClientPackagePath), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\osdgina\basesetuphook.cpp,1496) OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
Failed to resolve package source "CCM0000A" OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
Exiting ConfigureEx: 0x80070002 OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
BaseSetupHook::configure(sWindowsDir), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\osdgina\osdsetuphook.cpp,290) OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
Failed to configure OSD setup hook (0x80070002) OSDSetupHook 6/5/2012 11:05:55 AM 1928 (0x0788)
Process completed with exit code 2147942402 OSDSetupWindows 6/5/2012 11:05:55 AM 472 (0x01D8)
exitCode, HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\setupwindows\setupwindows.cpp,635) OSDSetupWindows 6/5/2012 11:05:55 AM 472 (0x01D8)
Configure hook failed with error code (80070002). OSDSetupWindows 6/5/2012 11:05:55 AM 472 (0x01D8)
this->configureGina(this->sysDir), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\setupwindows\setupwindows.cpp,780) OSDSetupWindows 6/5/2012 11:05:55 AM 472 (0x01D8)
this->installSetupHook(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\setupwindows\setupwindows.cpp,452) OSDSetupWindows 6/5/2012 11:05:55 AM 472 (0x01D8)
Failed to install setup hook (80070002) OSDSetupWindows 6/5/2012 11:05:55 AM 472 (0x01D8)
setup.run(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\setupwindows\setupwindows.cpp,1668) OSDSetupWindows 6/5/2012 11:05:55 AM 472 (0x01D8)
Exiting with code 0x80070002 OSDSetupWindows 6/5/2012 11:05:55 AM 472 (0x01D8)
Process completed with exit code 2147942402 TSManager 6/5/2012 11:05:55 AM 1108 (0x0454)
!--------------------------------------------------------------------------------------------! TSManager 6/5/2012 11:05:55 AM 1108 (0x0454)
Failed to run the action: Setup Windows and Configuration Manager.
The system cannot find the file specified. (Error: 80070002; Source: Windows) TSManager 6/5/2012 11:05:55 AM 1108 (0x0454)

 

I allowed HTTPS and HTTP and configured certificates (server, client and DP) as per http://technet.micro...y/gg682023.aspx)

 

I'll need HTTPS later on as we have a few people who only pass by in an office once every 6 months.

 

post-16315-0-46041800-1338980355_thumb.png

 

Also in tab 'Signing and encryption', 'Require SHA-256' is unchecked.

 

About Package CCM0000A

In Software Library -> package:

It is the 'CM client upgrade' package created as the guide says.

Package ID is also CCM0000A with a Readiness 'unknown'.

 

When checking 'Content Status':

it is distributed to MP (last status time 6/6) and DP (last status time 6/6) with description 'Distribution Manager successfully ditributed Package "CCM0000A" ...'

 

On the Distribution point I do find ref of that package in DataLib, a .tar file in SMSSIG$, etc...

 

Regards

Steve

 

I understand it's another issue but I rather mention here than open a new thread as it might be related to the first issue mentionned

Share this post


Link to post
Share on other sites

I finally found what went wrong:

 

when first setting up the MP I installed it to use HTTPS only.

I went on to configure the DP and so on and later on reconfigure on the MP to allow HTTP and HTTS requests.

 

the error in smstslog on the DP is in fact pretty explicit:

 

Initializing HTTP transport. OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
  Setting URL = https://CORPSCL01.company.com/NOCERT_SMS_DP_SMSPKG$/CCM0000A. OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
  Address=https://CORPSCL01.company.com, Scheme=https, Object=/NOCERT_SMS_DP_SMSPKG$/CCM0000A, Port=443. OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
  Setting Authenticator. OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
Set authenticator in transport OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
  Setting Media Certificate. OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
WinHttp credentials set OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
CLibSMSMessageWinHttpTransport::Send: URL: CORPSCL01.company.com:443  PROPFIND /NOCERT_SMS_DP_SMSPKG$/CCM0000A OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
In SSL, but with no client cert OSDSetupHook 6/5/2012 11:05:42 AM 1928 (0x0788)
Error. Received 0x80072efd from WinHttpSendRequest. OSDSetupHook 6/5/2012 11:05:45 AM 1928 (0x0788)
connect (sock, (struct sockaddr *) &SockAddrIn, sizeof (struct sockaddr_in)) == 0, HRESULT=8007274d (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,725) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
socket 'connect' failed; 8007274d OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
hr, HRESULT=80072efd (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,8738) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
sending with winhttp failed; 80072efd OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
oHttpTransport.Send((char*)S_DAVQUERY, (sizeof(S_DAVQUERY)/sizeof(S_DAVQUERY[0]))-sizeof(char), pReply, nReplySize), HRESULT=80072efd (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,829) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
SendResourceRequest() failed with 0x80072efd OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
SendResourceRequest(), HRESULT=80072efd (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,572) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
oDavRequest.GetDirectoryListing(setDirs, setFiles), HRESULT=80072efd (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2411) OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)
Retrying download... OSDSetupHook 6/5/2012 11:05:46 AM 1928 (0x0788)

 

Based on the address it is trying to reach at: Address=https://CORPSCL01.company.com, Scheme=https, Object=/NOCERT_SMS_DP_SMSPKG$/CCM0000A, Port=443.

It falls back to HTTP and then to SMB to no avail

 

I investigated the the IIS settings on the DP and saw that no certificate was configured.

I took our wildcard certificate (I beleive I could have use our internal CA too), install it and configure the default website to use it for https.

 

And bingo, it could retrieve the CM client package

I guess the DP never go the update to allow HTTP requests.

 

cheers,

Steve

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.