<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CBS Archives - WardNet</title>
	<atom:link href="https://www.wardnet.co.uk/tag/cbs/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wardnet.co.uk/tag/cbs/</link>
	<description>Infrastructure, ERP and General Technology Blog</description>
	<lastBuildDate>Sat, 09 May 2020 15:58:44 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2026/01/wp-1767387074640.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>CBS Archives - WardNet</title>
	<link>https://www.wardnet.co.uk/tag/cbs/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">63479081</site>	<item>
		<title>Tip of the Week 5 &#8211; When sfc fails, DISM prevails</title>
		<link>https://www.wardnet.co.uk/tip-of-the-week-5-when-sfc-fails-dism-prevails/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Mon, 19 Mar 2018 20:54:20 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CBS]]></category>
		<category><![CDATA[DISM]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[servers]]></category>
		<guid isPermaLink="false">https://www.wardnet.co.uk/?p=510</guid>

					<description><![CDATA[<p>In the last month or so, I have come across a number of servers where the only possible cause remaining</p>
<p><a href="https://www.wardnet.co.uk/tip-of-the-week-5-when-sfc-fails-dism-prevails/">Tip of the Week 5 &#8211; When sfc fails, DISM prevails</a></p>
]]></description>
										<content:encoded><![CDATA[<p>In the last month or so, I have come across a number of servers where the only possible cause remaining for the &#8220;issues&#8221; is file system/OS corruption. This has been across various scenarios; Cloud hosted, on premise physical, on site virtualised etc. and each time the obvious Googleable thing to try is a sfc /scannow.</p>
<p>For those who do not know this command, it is an old, old, old Windows built in tool designed to scan and repair corruption within Windows itself, notable directories such as System32. File system corruption can occur for many reasons, a dodgy build of the OS to start with, Windows Update issues, potentially caused even by viruses, or remnants of. So the cool thing about running sfc /scannow (from an elevated Command Prompt), is that it is has been around since Windows 98 &#8211; incidentally my first OS on a PC that was solely mine!</p>
<p>So sure, I have run this many times, probably more than a hundred, but recently on more advanced operating systems such as 2012R2 and 2016, I have seen it failing a little. Usually the result of the scan states</p>
<p><span style="font-family:Consolas"> &#8220;Windows Resource Protection found corrupt files but was unable to fix some of them<br />
</span></p>
<p><span style="font-family:Consolas">Details are included in the CBS.Log windir\Logs\CBS\CBS.Log.&#8221;<br />
</span></p>
<p>So if you see this does it mean your system is totally broken…</p>
<p>All is not lost</p>
<p>If you have seen my previous posts on DISM you will know it is great for keeping a system tidy, especially when it comes to Windows Updates and the bits they leave behind. However, did you know that DISM could also be used to repair the file system? &#8211; Well no, neither did I until this year!</p>
<p>There are a couple of commands very useful to try, when a sfc fails:</p>
<ul>
<li>
<div><span style="font-family:Consolas">DISM /Online /Cleanup-Image /CheckHealth<br />
</span></div>
<p style="margin-left: 27pt">This checks for corruption without attempting repair</p>
<p style="margin-left: 27pt"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2018/03/031918_2054_TipoftheWee1.png?w=810&#038;ssl=1" alt=""></p>
</li>
<li>
<div><span style="font-family:Consolas">DISM /Online /Cleanup-Image /ScanHealth<br />
</span></div>
<p style="margin-left: 27pt">This checks for Windows Image corruption and takes significantly longer than a CheckHealth</p>
<p style="margin-left: 27pt"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2018/03/031918_2054_TipoftheWee2.png?w=810&#038;ssl=1" alt=""></p>
</li>
<li>
<div><span style="font-family:Consolas">DISM /Online /Cleanup-Image /RestoreHealth<br />
</span></div>
<p style="margin-left: 27pt">BINGO! &#8211; this one will actually attempt the repair of a corrupted filesystem, and from experience means an sfc /scannnow will also complete without errors.</p>
<p style="margin-left: 27pt"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2018/03/031918_2054_TipoftheWee3.png?w=810&#038;ssl=1" alt=""></p>
<p style="margin-left: 27pt">
</li>
</ul>
<p>Please note I am not saying this is the solution to all file system/OS corruption, what I&#8217;m saying is in the last few weeks it has saved 3 servers from being binned!</p>
<p>So yet again, system maintenance via the DISM tool is a winner, whether keeping it tidy or just in one piece.</p>
<p><a href="https://www.wardnet.co.uk/tip-of-the-week-5-when-sfc-fails-dism-prevails/">Tip of the Week 5 &#8211; When sfc fails, DISM prevails</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">510</post-id>	</item>
	</channel>
</rss>
