{"id":202,"date":"2008-07-18T18:36:44","date_gmt":"2008-07-18T16:36:44","guid":{"rendered":"http:\/\/www.onemancrew.org\/tanis\/archives\/2008\/07\/18\/purge-delete-corrupted-or-un-needed-patches-on-wsus-server-patchaholicthe-wsus-blog\/"},"modified":"2012-10-11T17:10:30","modified_gmt":"2012-10-11T15:10:30","slug":"purge-delete-corrupted-or-un-needed-patches-on-wsus-server-patchaholicthe-wsus-blog","status":"publish","type":"post","link":"https:\/\/www.onemancrew.org\/tanis\/archives\/2008\/07\/18\/purge-delete-corrupted-or-un-needed-patches-on-wsus-server-patchaholicthe-wsus-blog\/","title":{"rendered":"Purge \/ Delete corrupted or Un-needed patches on WSUS Server"},"content":{"rendered":"<p>Finalmente una pagina in cui \u00e8 descritto bene come fare a ripulire il contenuto dei file scaricati dal WSUS che non sono pi\u00f9 necessari (ad esempio gli aggiornamenti superseded che sono stati in seguito declinati).<\/p>\n<p><a href=\"http:\/\/msmvps.com\/blogs\/athif\/archive\/2005\/10\/27\/Purge_Delete_the_downloaded_patches_on_WSUS_Server.aspx\">Purge \/ Delete corrupted or Un-needed patches on WSUS Server &#8211; PatchAholic&#8230;The WSUS Blog!<\/a><\/p>\n<p>Riporto qui sotto, nel caso sparisca la pagina originale:<\/p>\n<h2><\/h2>\n<p><span>If you want to purge the downloaded patches\u00a0on WSUS Server\u00a0to cleanup \/ delete unneeded content, then you have to use the following tools;<\/span><\/p>\n<ul>\n<li><span><span style=\"color: #0000ff;\"><span style=\"text-decoration: underline;\">WSUSDebug <strong>PurgeUnneededFiles<\/strong><\/span><\/span><\/span><\/li>\n<li><span><span style=\"color: #0000ff;\"><span style=\"text-decoration: underline;\">WSUSUTIL.exe <strong>Deleteunneededrevisions<\/strong><\/span><\/span><\/span><strong> <\/strong><\/li>\n<li><span><span><span><span><span><span><span><span style=\"color: #0000ff;\"><span style=\"text-decoration: underline;\">WSUSUTIL.exe <strong>Reset<\/strong><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/li>\n<li><span><span><span><span><span><span><span><span><span style=\"color: #0000ff;\"><span style=\"text-decoration: underline;\">WSUSUTIL.exe <\/span><\/span><\/span><span style=\"font-size: x-small; font-family: Verdana;\"><span style=\"color: #0000ff;\"><span style=\"text-decoration: underline;\"><strong>Removeinactiveapprovals<\/strong><\/span><\/span> (optional)<\/span><span style=\"font-size: small; font-family: Times New Roman;\"> <\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/li>\n<\/ul>\n<p><span><strong><span style=\"color: #000080;\">WSUS Debug Tool:<\/span><\/strong> Run PurgeUnneededFiles command to Purge unneeded content. This command deletes all files not needed on the WSUS server.<\/span><\/p>\n<p><span><span style=\"color: #0000ff;\">WsusDebugTool.exe \/Tool:PurgeUnneededFiles<\/span><\/span><\/p>\n<p><span><strong><span style=\"color: #ff0000;\">***(NOTE: You have to decline the updates first.)<\/span><\/strong><\/span><\/p>\n<p><span><span><span style=\"color: #000080;\"><span><strong><span style=\"color: #000080;\">WSUSUTIL.exe <\/span><span style=\"color: #0000ff;\"><span style=\"color: #000080;\">deleteunneededrevisions<\/span><\/span><span style=\"color: #000080;\">: <\/span><\/strong><span style=\"color: #000000;\">Purges the metadata for unnecessary update revisions from the database. This is useful for managing WSUS with an MSDE database.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><span><span><strong><span style=\"color: #ff0000;\"><span>***<\/span>(NOTE: this command should only be run after stopping the Windows Server Update Services website in Internet Information Services MMC.)<\/span><\/strong><\/span><\/span><\/span><\/p>\n<p><span><span><strong><span style=\"color: #000080;\">WSUSUTIL.exe Reset:<\/span><\/strong> Now that you have purged the content, use &#8216;<span><span>WSUSUTIL.exe reset&#8217; which checks that every metadata row in the database has corresponding content stored in the file system.\u00a0 If content is a missing or corrupted, WSUS downloads the content again.<\/span><\/span><\/span><\/span><\/p>\n<p><span><span><span><span><span><span><span style=\"color: #0000ff;\">WSUSUTIL.exe reset<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><span><span><span><span><span><span style=\"color: #000000;\"><span>***<\/span>(NOTE: <span><span><span><span><span><span>WSUSUTIL.exe is installed <\/span><\/span><\/span><\/span><\/span><\/span>C:\\Program Files\\Update Services\\Tools)<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><span><span><span><span><span><strong><span style=\"color: #ff0000;\">MOST IMPORTANT<\/span><\/strong><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><span><span><span><span><span>The option <span style=\"color: #0000ff;\">&#8220;Download update files to this server only when updates are approved&#8221;<\/span> must be checked \/ selected or else, it will re-download those &#8220;not needed&#8221; updates,during <\/span><\/span><\/span><\/span><\/span><\/span><span><span><span><span><span><span>the next sychronization schedule. <\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><span><span><span><span><span>Open WSUSAdmin Console &#8211; Click on Options &#8211; Click on Synchronization Options &#8211; Scroll down to <span style=\"font-size: small; font-family: Times New Roman;\"><span style=\"font-size: x-small; font-family: Verdana;\">Update Files and Languages Section &#8211;<\/span> <\/span>Click on Advanced &#8211; Click OK &#8211; Select\u00a0<span style=\"color: #0000ff;\">&#8220;Download update files to this server only when updates are approved&#8221;<\/span><span style=\"color: #000000;\"> &#8211; Click OK and save settings.<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><strong><span style=\"color: #000080;\">MORE INFORMATION<\/span><\/strong><\/span><\/p>\n<p><span>WSUS Debug Tool \/ Server Diagnostic Tool<br \/>\n<a href=\"http:\/\/download.microsoft.com\/download\/7\/7\/4\/7745a34e-f563-443b-b4f8-3a289e995255\/WSUS%20Server%20Debug%20Tool.EXE\">http:\/\/download.microsoft.com\/download\/7\/7\/4\/7745a34e-f563-443b-b4f8-3a289e995255\/WSUS%20Server%20Debug%20Tool.EXE<\/a><\/span><\/p>\n<p><span>WSUS Debug Tool Readme<br \/>\n<a href=\"http:\/\/download.microsoft.com\/download\/6\/4\/2\/6422b1c7-9c7b-4682-9fe0-f56bd6ded2aa\/readme.txt\">http:\/\/download.microsoft.com\/download\/6\/4\/2\/6422b1c7-9c7b-4682-9fe0-f56bd6ded2aa\/readme.txt<\/a><\/span><\/p>\n<p><span>Windows Server Update Services Downloads<br \/>\n<a href=\"http:\/\/www.microsoft.com\/windowsserversystem\/updateservices\/downloads\/default.mspx\">http:\/\/www.microsoft.com\/windowsserversystem\/updateservices\/downloads\/default.mspx<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finalmente una pagina in cui \u00e8 descritto bene come fare a ripulire il contenuto dei file scaricati dal WSUS che non sono pi\u00f9 necessari (ad esempio gli aggiornamenti superseded che sono stati in seguito declinati). Purge \/ Delete corrupted or Un-needed patches on WSUS Server &#8211; PatchAholic&#8230;The WSUS Blog! Riporto qui sotto, nel caso sparisca [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[60,59,58,47,57],"_links":{"self":[{"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/posts\/202"}],"collection":[{"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/comments?post=202"}],"version-history":[{"count":5,"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":701,"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/posts\/202\/revisions\/701"}],"wp:attachment":[{"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/media?parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/categories?post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onemancrew.org\/tanis\/wp-json\/wp\/v2\/tags?post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}