Jump to content


  • 0
Bane

Problem with Software Distribution

Question

Since the end of last week I have got a problem with distributing Software with the SCCM. I am using a package which I have distributed many times before and it has never been a problem. Now I made a new advertisement. According to the SCCM the package is received by about 200 Clients (thats ok) but the installation doesn't start on any of them. So I connected to some of the Clients to have a look at the logs but first I looked at the C:\Windows\SysWOW64\CCM\Cache folder to check if the package was really there. And to my surprise it wasn't though the SCCM reported that it has been downloaded by the Clients.

 

Afterwards I tried the same on a virtual testmachine. Same problem. So I decided to redeploy Windows 7 on the machine. Everything worked fine except for the fact that the software packages were not deployed. I updated the collection membership (as I have done many times before the redeployment) and got a second testmachine in the SCCM. One obsolate and one working. I deleted the obsolate one and since then the software deployment on the testmachine is working again.

 

The problem now is that the SCCM somehow thinks that all the clients have received the packages which just isn't true because I saw that there are no packages on the Clients. So it looks like the Computer Objects in my Collections are somehow damaged or just not working like they should. I can connect to the Clients via rightclick - start - remote desktop client; the windows 7 deployment is working as I saw when I tested it with the testmachine but the software distribution is not working.

 

I' am sure that the software distribution would work again if I redeployed all the clients again which I don't want to do because there has to be an easier solution for this problem.

 

Does anybody know how to fix this problem?

 

Thanks in advance

Bane

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I readvertised the package I want to be installed and checked the execmgr.log. This is what the log says:

 

Policy deleted for advertisement HAK20168 package HAK000A8 program Install execmgr 26.11.2010 11:23:38 4764 (0x129C)

Policy arrived for parent package HAK000A8 program Install execmgr 26.11.2010 11:23:40 4764 (0x129C)

The program Install will not run because it has been run before and it succeeded and policy indicates it should rerun only it it has previously failed. execmgr 26.11.2010 11:23:40 4796 (0x12BC)

Mandatory execution requested for program Install and advertisement HAK20169 execmgr 26.11.2010 11:23:40 4796 (0x12BC)

Creating mandatory request for advert HAK20169, program Install, package HAK000A8 execmgr 26.11.2010 11:23:40 4796 (0x12BC)

Raising event:

[sMS_CodePage(850), SMS_LocaleID(1031)]

instance of SoftDistProgramOfferReceivedEvent

{

AdvertisementId = "HAK20169";

ClientID = "GUID:D2FC0729-7E1C-429F-BF2A-A765BAF82DC4";

DateTime = "20101126102340.211000+000";

MachineName = "PC01-02";

ProcessID = 968;

SiteCode = "HAK";

ThreadID = 4764;

};

execmgr 26.11.2010 11:23:40 4764 (0x129C)

The program Install will not run because it has been run before and it succeeded and policy indicates it should rerun only it it has previously failed. execmgr 26.11.2010 11:23:40 4796 (0x12BC)

CreateMandatoryRequestRecursively policy Install no need to re-run execmgr 26.11.2010 11:23:40 4796 (0x12BC)

Raising event:

[sMS_CodePage(850), SMS_LocaleID(1031)]

instance of SoftDistProgramHasRunBeforeWithoutFailing

{

AdvertisementId = "HAK20169";

ClientID = "GUID:D2FC0729-7E1C-429F-BF2A-A765BAF82DC4";

DateTime = "20101126102340.225000+000";

LastRunTime = "2010/06/13 10:28:37";

MachineName = "PC01-02";

PackageName = "HAK000A8";

ProcessID = 968;

ProgramName = "Install";

SiteCode = "HAK";

ThreadID = 4796;

};

execmgr 26.11.2010 11:23:40 4796 (0x12BC)

 

 

The CAS.log has no new information since monday and in the DataTransferService.log I can only find the following entrys:

 

UpdateURLWithTransportSettings(): OLD URL - http://HAKCM.HAKBADEN.LOCAL/SMS_MP/.sms_pol?HAK20169-HAK000A8-7D1B5B9B.1_00 DataTransferService 26.11.2010 11:23:37 3424 (0x0D60)

UpdateURLWithTransportSettings(): NEW URL - http://HAKCM.HAKBADEN.LOCAL:80/SMS_MP/.sms_pol?HAK20169-HAK000A8-7D1B5B9B.1_00 DataTransferService 26.11.2010 11:23:37 3424 (0x0D60)

DTSJob {5C878638-0460-4F64-9C09-18CE600D3066} created to download from 'http://HAKCM.HAKBADEN.LOCAL/SMS_MP/.sms_pol?HAK20169-HAK000A8-7D1B5B9B.1_00' to 'C:\Windows\SysWOW64\CCM\Temp\{F90CA56E-1FAF-46BC-807B-8574A4783D22}.tmp'. DataTransferService 26.11.2010 11:23:37 3424 (0x0D60)

DTSJob {5C878638-0460-4F64-9C09-18CE600D3066} in state 'PendingDownload'. DataTransferService 26.11.2010 11:23:37 4796 (0x12BC)

DTSJob {5C878638-0460-4F64-9C09-18CE600D3066} in state 'DownloadingData'. DataTransferService 26.11.2010 11:23:38 4796 (0x12BC)

DTSJob {5C878638-0460-4F64-9C09-18CE600D3066} in state 'RetrievedData'. DataTransferService 26.11.2010 11:23:38 4764 (0x129C)

DTSJob {5C878638-0460-4F64-9C09-18CE600D3066} successfully completed download. DataTransferService 26.11.2010 11:23:38 4764 (0x129C)

DTSJob {5C878638-0460-4F64-9C09-18CE600D3066} in state 'NotifiedComplete'. DataTransferService 26.11.2010 11:23:38 4796 (0x12BC)

DTS job {5C878638-0460-4F64-9C09-18CE600D3066} has completed:

Status : SUCCESS

Start time : 11/26/2010 11:23:37

Completion time : 11/26/2010 11:23:38

Elapsed time : 0 seconds DataTransferService 26.11.2010 11:23:38 4796 (0x12BC)

 

 

So the log says that the package has been downloaded successfully but there is no package in the cache folder.

 

Afterwards I changed the advertisement from "Rerun if failed previous attempt" to "Always rerun program" and now it's getting installed.

Share this post


Link to post
Share on other sites

  • 0

If i want to reinstall the program where it was already installed and if the adverisement says,"Rerun if failed previous attempt" .I will connect to the client registry path--->HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System\C01001BC\F2A3C167-CCFD-4E0E-89B9-1CB8E0D1FA4B and will change the success to failure with error code smile.gif

C01001BC is Package ID.

 

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
Answer this question...

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