Thursday, July 14, 2016

Software Update Download Folder Missing

I was going through the component status logs in ConfigMgr today, and I noticed that  SMS_DISTRIBUTION_MANAGER was in critical.


Error 2306 and 2302 repeating
The source directory "\\sc1\DeploymentPackages\DP - Critical\e22c62da-b0e7-4e78-bbc3-6d5213ce7b5d" for package "4000000B" does not exist. The operating system reported error 2: The system cannot find the file specified.

I ran this command to verify that the directory was not there: gci '\\sc1\DeploymentPackages\DP - Critical\' | ? {$_.name -like "*e22c*"}
 which confirmed that it was missing. This wasn't likely going to be a permissions issue, so I set out to google to find the cause. Luckily, I found some others who had the same issue.  

Turns out, the database thinks that the update is downloaded and is part of the package, but it isn't. 

To fix the issue, we need to find the update that isn't there, and then delete it from the distribution point. 

For the most part, the article from Ken Brumfield worked for me, but I had to make a few changes in the SQL script he had for it to work. Without his blog, I probably would have just scrapped the Deployment Package and built a new one (which would probably work in theory).  https://blogs.technet.microsoft.com/ken_brumfield/2013/01/10/troubleshooting-sccm-software-update-deployment-package-distribution-due-to-missing-directories/ 


DECLARE
@MissingSourceDirectory
NVARCHAR(512)
DECLARE
@PackageId
NVARCHAR(8)
SET
@MissingSourceDirectory =
'e22c62da-b0e7-4e78-bbc3-6d5213ce7b5d'
SET
@PackageId
= '4000000B'

SELECT
CASE
        WHEN
--ci.BulletinID LIKE
--”
--OR ci.BulletinID IS
ci.BulletinID IS NULL
THEN
'Non Security Update'
        ELSE ci.BulletinID
        END
As
BulletinID
    , ci.ArticleID
    , loc.DisplayName
    , loc.Description
    , ci.IsExpired
    , ci.DatePosted
    , ci.DateRevised
    , ci.Severity
    , ci.RevisionNumber
    , ci.CI_ID
FROM dbo.v_UpdateCIs
AS
ci
LEFT
OUTER
JOIN dbo.v_LocalizedCIProperties_SiteLoc
AS
loc
ON
loc.CI_ID = ci.CI_ID
WHERE ci.CI_ID IN
(
    SELECT [FromCI_ID]
    FROM
[dbo].[CI_ConfigurationItemRelations]
cir
    INNER
JOIN [dbo].[CI_RelationTypes]
rt
ON
cir.RelationType = rt.RelationType
    WHERE
cir.ToCI_ID IN
    (
        SELECT
CI_ID
        FROM
[dbo].[CI_ContentPackages]
cp
        INNER
JOIN [dbo].[CI_ConfigurationItemContents]
cic
ON
cp.Content_ID = cic.Content_ID
        WHERE
cp.ContentSubFolder = @MissingSourceDirectory AND cp.PkgID = @PackageId
    )
)


Running the above script for me would return the update in question. For me, it returned this:

Once you have the update number, navigate to Software Library -> Deployment Packages -> Right click the Deployment Package that is missing the update and click Show Members.
In the following window, search for the updates that weren't downloaded delete them.

After they have been deleted, you can go back into All Software Updates, search for them again, and download them back into the Deployment Package.

You can verify afterwards if the affected directory is found. 
Hopefully the newer versions of SCCM coming out in September will have some better validation features on the DPs. 

69 comments:

  1. Cnet Download is the world's best website for free software downloading. The website is updated on regular basis to keep softwares up-to-date. Download Free Software

    ReplyDelete
  2. Every known suspect registry entry, program, or other factor will then be listed as the scanner finds it. You are then asked if you wish to quarantine it or get rid of it entirely. Getintopc

    ReplyDelete
  3. But, in some cases, if new software is needed an additional form will usually must be completed as well in in an attempt to acquire the additional software. casus program

    ReplyDelete
  4. This is truly a decent and useful, containing all data furthermore greatly affects the new innovation. A debt of gratitude is in order for sharing it  Getinto Pc

    ReplyDelete
  5. If new software is needed an additional form will usually must be completed as well in in an attempt to acquire the additional software
    filehippo

    ReplyDelete
  6. I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing. PC Folderlok - May Waste Time Seeking, Go through All About Cell Desktops The following password protect files windows 7

    ReplyDelete
  7. Each referred to suspect registry entry, program, or other component will At that point a chance to be recorded as the scanner figures it. You are At that point approached On you wish to quarantine it alternately dispose of it actually. This will be sincerely a OK Furthermore useful, holding at information Besides extraordinarily influences those new advancement. An obligation from claiming gratitude may be with the end goal imparting it.

    ReplyDelete
  8. thanks for such informative information..

    ReplyDelete
  9. That gives off an impression of being fabulous anyway i am still not very beyond any doubt that I like it. At any rate will look much more into it and choose by and by!  Igg games

    ReplyDelete
  10. It was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks. document software solution

    ReplyDelete
  11. Really no matter if someone doesn't understand then its up to other viewers that they will assist, so here it occurs. free software download


    ReplyDelete
  12. Paragraph writing is also a fun, if you be acquainted with afterward you can write or else it is complex to write. Web: Top Ten Ways To Buy A Used Encryption Software & How To Encrypt A Password For Free Like A Pro With The Help Of These Ten Tips

    ReplyDelete
  13. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. http://mytecheytricks.simplesite.com/

    ReplyDelete
  14. Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome! grammarly trial

    ReplyDelete
  15. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information... Business productivity software

    ReplyDelete
  16. If you view your professional relationships as your business lifeline and are intent on interacting with people on a meaningful level, then the return on your own LinkedIn investment will be best realized. The availability of relevant information that can be harvested via LinkedIn filtered searches makes the upgrade a straightforward decision. Kennected.org reviews

    ReplyDelete
  17. Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. Google Maps Scraper

    ReplyDelete
  18. Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. Extract Email Addresses from Websites

    ReplyDelete
  19. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work audit management software

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. Extract Email Addresses from Websites

    ReplyDelete
  22. But several entrepreneurs still do not realize the importance of testing in the software development lifecycle, reedratings and the benefits of testing the software early and continuously. They are still sceptical about the benefits of software testing and believe several software testing myths.

    ReplyDelete
  23. This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs… Free Email Extractor Software Download

    ReplyDelete
  24. Maintenance regularly surpasses half of the frameworks' life cycle cost . While software support can be treated as a degree of exertion movement, there are outcomes on quality, usefulness, dependability, cost and timetable that can be moderated using parametric assessment methods. CBT Bulk Email Sender Software

    ReplyDelete
  25. What a sensational blog! This blog is too much amazing in all aspects. Especially, it looks awesome and the content available on it is utmost qualitative. Salesflow

    ReplyDelete
  26. Thanks for your insight for your fantastic posting. I’m exhilarated I have taken the time to see this. It is not enough; I will visit your site every day. online check in for hotels

    ReplyDelete
  27. Admittance to data and trade of correspondence are the two primary reasons that make our age altogether subject to web. transfer files

    ReplyDelete
  28. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... online review template

    ReplyDelete
  29. My mind is overflowing with ideas by the help of this online naming course. Truly an amazing investment worth every penny! The idea behind the brand name and customer appeal is a very helpful lesson thatwill help me in naming my brand. You have my thanks! business people

    ReplyDelete
  30. After his demise in 1936, the club's prize for the best university football player was renamed the Heisman Trophy). Heisman promptly turned Tech's football program around going 8-1-1 in his first yearare there different levels for a vpn

    ReplyDelete
  31. This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs… The Technical Traders

    ReplyDelete
  32. No craftsman ought to at any point need to change a mic stand. At whatever point that happens the sound tech isn't taking care of his work. free nord vpn

    ReplyDelete
  33. Throughout the long term, be that as it may, the software business arose to offer off-the-rack arrangements and administrations to more modest organizations. Today, having endure the enormous dotcom crash of the year 2000, software advancement organizations set up themselves as solid parts in the innovation business. website developer australia

    ReplyDelete
  34. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! windows 10 download iso 64 bit with crack full version

    ReplyDelete
  35. A great content material as well as great layout. Your website deserves all of the positive feedback it’s been getting. I will be back soon for further quality contents. click here

    ReplyDelete
  36. You ought to likewise know about the "augmentation" (.com, .organization, .net, .business, .co.uk) that will turn out best for your venture. clientica.org

    ReplyDelete
  37. If a site stacks slow, it's logical guests will return to the pursuit and attempt an alternate site. Since web search tools need to guide searchers to websites that will help them, the web search tools won't rank a site exceptionally if guests don't remain on it. buy social accounts

    ReplyDelete
  38. Moderation is colossal at this moment. Many individuals are scaling down their assets, acquiring clearness in life through having less and searching for additional approaches to minimalize everything. https://hostinglelo.in/

    ReplyDelete
  39. I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot! remote IT support

    ReplyDelete
  40. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. remote IT support

    ReplyDelete
  41. Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. IT consultancy London

    ReplyDelete
  42. Just admiring your work and wondering how you managed this blog so well. It’s so remarkable that I can't afford to not go through this valuable information whenever I surf the internet! mortgage advisors UK

    ReplyDelete
  43. Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best. mortgage adviser

    ReplyDelete
  44. I really like your take on the issue. I now have a clear idea on what this matter is all about.. mortgage adviser

    ReplyDelete
  45. It was a very good post indeed. I thoroughly enjoyed reading it in my lunch time. Will surely come and visit this blog more often. Thanks for sharing. Mortgages

    ReplyDelete
  46. Just admiring your work and wondering how you managed this blog so well. It’s so remarkable that I can't afford to not go through this valuable information whenever I surf the internet! small business IT support

    ReplyDelete
  47. Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best. small business IT support

    ReplyDelete
  48. I really like your take on the issue. I now have a clear idea on what this matter is all about.. IT consultancy London

    ReplyDelete
  49. by selecting in you'll before long see a profit from speculation that will make it beneficial. Basically, responsive plan is simply better compared to what has gone previously and to stay aware of the opposition, you'll need it as well. jasa backlink

    ReplyDelete
  50. With a straightforward plan, there's not as much that can turn out badly and nothing is diverting the guest or pushing them to buy something, so they're bound to stay on the website.https://sites.google.com/view/seoservicesindelhiindia

    ReplyDelete
  51. No doubt this is an excellent post I got a lot of knowledge after reading good luck. Theme of blog is excellent there is almost everything to read, Brilliant post. AA Meetings Locator

    ReplyDelete
  52. This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses. Business Funding

    ReplyDelete
  53. I just want to let you know that I just check out your site and I find it very interesting and informative.. AA Meeting

    ReplyDelete
  54. I am happy to find this post Very useful for me, as it contains lot of information. I Always prefer to read The Quality and glad I found this thing in you post. Thanks US Business Funding

    ReplyDelete
  55. The computerization of numerous business processes and the making of huge scope information bases, among numerous other extremist mechanical advances, have lead to gigantic expense reserve funds and quality enhancements throughout the long term. The interconnection of monetary business sectors through electronic means and the overall reception of the Internet have enormously diminished exchange and correspondence costs and carried countries and societies more like each other than at any other time possible. gmx login

    ReplyDelete
  56. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. naming a company

    ReplyDelete
  57. Thanks for this great post, i find it very interesting and very well thought out and put together. I look forward to reading your work in the future. name suggestions for a company

    ReplyDelete
  58. We never had that association" (Lohnes). Nichole detests the way that her school demands that she had more contact with technology than she is comparable with. Regardless, she clarifies that as she began doing those school online tasks so oftentimes she came to understand that they were not so terrible. ConciseFinance Wandsworth Retirement Mortgage

    ReplyDelete
  59. Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. Merchant Cash Advance

    ReplyDelete
  60. Your work is very good and I appreciate you and hopping for some more informative posts. Thank you for sharing great information to us. Working Capital

    ReplyDelete
  61. Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. cannabusiness loan

    ReplyDelete
  62. Yes, I am entirely agreed with this article, and I just want say that this article is very helpful and enlightening. I also have some precious piece of concerned info !!!!!!Thanks. cannabis business loan

    ReplyDelete
  63. Assuming that you need to, go ahead and utilize a camera and simply snap a photo of the screen in the event that you can't get a screen capture. https://www.buyyoutubesubscribers.in/

    ReplyDelete
  64. The computerization of various business processes and the making of huge scope information bases, among numerous other extremist mechanical advances, have lead to gigantic expense reserve funds and quality upgrades throughout the long term. The computerization of various business processes and the making of huge scope information bases, among numerous other extremist mechanical advances, have lead to gigantic expense reserve funds and quality upgrades throughout the long term.

    ReplyDelete
  65. Nice and informative content

    https://softwarerewiv.blogspot.com

    ReplyDelete