<?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>ITtelligence</title>
	<atom:link href="http://blog.ittelligence.co.za/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ittelligence.co.za</link>
	<description>Intelligence everywhere</description>
	<lastBuildDate>Sun, 06 May 2012 18:59:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Generic RegEx Script</title>
		<link>http://blog.ittelligence.co.za/2012/05/06/generic-regex-script/</link>
		<comments>http://blog.ittelligence.co.za/2012/05/06/generic-regex-script/#comments</comments>
		<pubDate>Sun, 06 May 2012 18:53:29 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[regular expression]]></category>

		<guid isPermaLink="false">http://blog.ittelligence.co.za/?p=288</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: vb; title: ; notranslate">

Option Explicit

Const ForReading = 1
Const ForWriting = 2
Const ForAppending = 8

Dim objRegEx
Dim targetString
Dim colMatch
Dim objMatch
Dim objFSO
Dim strInputFile
Dim strOutputFile
Dim objInputFile
Dim objOutputFile
Dim strLine
Dim strPattern
Dim strMatch

strInputFile = Wscript.Arguments.Named(&quot;InputFile&quot;)
strOutputFile = Wscript.Arguments.Named(&quot;OutputFile&quot;)
strPattern = Wscript.Arguments.Named(&quot;Pattern&quot;)
strPattern = Replace(strPattern,&quot;&quot;&quot;,&quot;&quot;&quot;&quot;)

If Trim(strInputFile) &lt;&gt; &quot;&quot; And Trim(strPattern) &lt;&gt; &quot;&quot; Then
    Set objRegEx = CreateObject(&quot;vbscript.regexp&quot;)
    With objRegEx
        .Pattern = strPattern
        .Global = True
        .IgnoreCase = True
    End With
    Set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)
    If objFSO.FileExists(strInputFile) Then
        Set objInputFile = objFSO.OpenTextFile(strInputFile, ForReading )
        If Trim(strOutputFile) &lt;&gt; &quot;&quot; Then
            Set objOutputFile = objFSO.OpenTextFile(strOutputFile, ForAppending, True)
        End If
        Do While Not objInputFile.AtEndOfStream
            strLine = objInputFile.ReadLine
            If Trim(strLine) &lt;&gt; &quot;&quot; Then
                Set colMatch = objRegEx.Execute(strLine)
                For each objMatch in colMatch
                    strMatch = Replace(Replace(objMatch.Value,&quot;UniqueID=&quot;,&quot;&quot;),&quot;&quot;&quot;&quot;,&quot;&quot;)
                    If Trim(strOutputFile) &lt;&gt; &quot;&quot; Then
                        objOutputFile.WriteLine(strMatch)
                    Else
                        WScript.Echo(strMatch)
                    End If
                Next
            End If
        Loop
        objInputFile.Close
        If Trim(strOutputFile) &lt;&gt; &quot;&quot; Then
            objOutputFile.Close
        End If
        Set objInputFile = Nothing
        Set objOutputFile = Nothing
        Set objFSO = Nothing
    End If
Else
    ShowUsage()
End If
Sub ShowUsage
    WScript.Echo &quot;Usage: CScript.exe &quot; &amp; WScript.ScriptName &amp; &quot; /InputFile:&quot;&quot;FILENAME&quot;&quot; [/OutputFile:&quot;&quot;FILENAME]&quot;&quot; /Pattern:&quot;&quot;PATTERN&quot;&quot;&quot;
    WScript.Echo &quot;&quot;
    WScript.Echo &quot;Is OutputFile is omitted, matches will be displayed&quot;
    WScript.Echo &quot;&quot;
    WScript.Echo &quot;Substitute &quot;&quot; with &quot;&quot;
End Sub
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2012/05/06/generic-regex-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dos Box Colors</title>
		<link>http://blog.ittelligence.co.za/2012/04/16/dos-box-colors/</link>
		<comments>http://blog.ittelligence.co.za/2012/04/16/dos-box-colors/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 17:34:49 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[colors]]></category>
		<category><![CDATA[dos]]></category>

		<guid isPermaLink="false">http://blog.ittelligence.co.za/?p=284</guid>
		<description><![CDATA[Here is a table of all the combinations of dos box colors]]></description>
			<content:encoded><![CDATA[<p>Here is a table of all the combinations of dos box colors</p>
<p><img src="http://blog.ittelligence.co.za/wp-content/uploads/2012/04/DosBoxColors.png" alt="Dos Box Colors" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2012/04/16/dos-box-colors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command Prompt with Random Color on Startup</title>
		<link>http://blog.ittelligence.co.za/2012/04/12/command-prompt-with-random-color-on-startup/</link>
		<comments>http://blog.ittelligence.co.za/2012/04/12/command-prompt-with-random-color-on-startup/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 17:18:21 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[CMD]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://blog.ittelligence.co.za/?p=278</guid>
		<description><![CDATA[Add REG_SZ to HKLM\SOFTWARE\Microsoft\Command Processor with name AutoRun and value of RndColor.bat Create file RndColor.bat in %WINDIR%\System32]]></description>
			<content:encoded><![CDATA[<p>Add <em>REG_SZ</em> to <em>HKLM\SOFTWARE\Microsoft\Command Processor</em> with name <em>AutoRun</em> and value of <em>RndColor.bat</em></p>
<p>Create file <em>RndColor.bat</em> in <em>%WINDIR%\System32</em></p>
<pre class="brush: plain; title: ; notranslate">
@Echo Off
Echo Loading...

SET rnd=%random%

IF %rnd% LSS 4681 GOTO 1
IF %rnd% LSS 9362 GOTO 2
IF %rnd% LSS 14043 GOTO 3
IF %rnd% LSS 18724 GOTO 4
IF %rnd% LSS 23405 GOTO 5
IF %rnd% LSS 28086 GOTO 6
IF %rnd% LSS 32767 GOTO 7

Goto END

:1
Color 1F
Goto END

:2
Color 20
Goto END

:3
Color 30
Goto END

:4
Color 4E
Goto END

:5
Color 5F
Goto END

:6
Color 80
Goto END

:7
Color 4F
Goto END

:END
CLS
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2012/04/12/command-prompt-with-random-color-on-startup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ShowReplParser</title>
		<link>http://blog.ittelligence.co.za/2012/04/11/showreplparser/</link>
		<comments>http://blog.ittelligence.co.za/2012/04/11/showreplparser/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 19:05:25 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[repadmin]]></category>
		<category><![CDATA[showrepl]]></category>

		<guid isPermaLink="false">http://itt-dev.co/blog/?p=270</guid>
		<description><![CDATA[This app will parse the output of &#8220;RepAdmin.exe /ShowRepl *&#8221; and display a unique list of all the servers with errors First create OUT.TXT with the following command: RepAdmin.exe /ShowRepl * &#62; OUT.TXT Then run the following to get all errors from OUT.TXT ShowReplParser.exe OUT.TXT Attachment(s):]]></description>
			<content:encoded><![CDATA[<p>This app will parse the output of <em>&#8220;RepAdmin.exe /ShowRepl *&#8221;</em> and display a unique list of all the servers with errors</p>
<ol>
<li><em>First create OUT.TXT with the following command:</em></li>
<li><em>RepAdmin.exe /ShowRepl * &gt; OUT.TXT</em></li>
<li><em>Then run the following to get all errors from OUT.TXT</em></li>
<li><em>ShowReplParser.exe OUT.TXT</em></li>
</ol>
<p><strong>Attachment(s):</strong> <ul class="attachment-list"><li><a href="http://blog.ittelligence.co.za/wp-content/uploads/2012/04/ShowReplParser.zip" title="View ShowReplParser">ShowReplParser</a></li></ul></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2012/04/11/showreplparser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script for GPO to change SCCM client site ID</title>
		<link>http://blog.ittelligence.co.za/2011/11/08/script-for-gpo-to-change-sccm-client-site-id/</link>
		<comments>http://blog.ittelligence.co.za/2011/11/08/script-for-gpo-to-change-sccm-client-site-id/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 16:25:30 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[ID]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://blog.ittelligence.co.za/?p=157</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: vb; title: ; notranslate">
Option Explicit

Dim objSMSClient
Dim varSiteID

varSiteID = Wscript.Arguments.Named(&quot;SiteID&quot;)

If Trim(varSiteID) &lt;&gt; &quot;&quot; Then
 Set objSMSClient = CreateObject(&quot;Microsoft.SMS.Client&quot;)
 objSMSClient.SetAssignedSite(varSiteID)
End If
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2011/11/08/script-for-gpo-to-change-sccm-client-site-id/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel Macro to Convert to CamelHumpNotation</title>
		<link>http://blog.ittelligence.co.za/2011/03/28/camelhumpnotation/</link>
		<comments>http://blog.ittelligence.co.za/2011/03/28/camelhumpnotation/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 20:05:33 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[CamelHumpNotation]]></category>
		<category><![CDATA[Macro]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://blog.ittelligence.co.za/?p=138</guid>
		<description><![CDATA[This is a macro that convert values to CamelHumpNotation]]></description>
			<content:encoded><![CDATA[<p>This is a macro that convert values to CamelHumpNotation</p>
<pre class="brush: vb; title: ; notranslate">
Sub FixCamelHump()
'
' FixCamelHump Macro
'
    Dim strValue As String

    Range(&quot;A1&quot;).Select
    strValue = ActiveCell.Value
    Do While strValue &lt;&gt; &quot;&quot;
        ActiveCell.Value = FixThisString(strValue)
        ActiveCell.Offset(1, 0).Select
        strValue = ActiveCell.Value
    Loop
End Sub

Private Function FixThisString(strValue As String)
    Dim intCnt As Integer
    Dim blnStartOfWord As Boolean
    Dim strBuild As String
    Dim strCurrentChar As String

    For intCnt = 1 To Len(strValue)
        strCurrentChar = Mid(strValue, intCnt, 1)
        If IsLetter(strCurrentChar) = True Then
            If blnStartOfWord = False Then
                blnStartOfWord = True
                strBuild = strBuild &amp; UCase(strCurrentChar)
            Else
                strBuild = strBuild &amp; LCase(strCurrentChar)
            End If
        Else
            If blnStartOfWord = True Then
                blnStartOfWord = False
            End If
            strBuild = strBuild &amp; strCurrentChar
        End If
    Next
    FixThisString = strBuild
End Function

Private Function IsLetter(strChar As String) As Boolean
    If Asc(strChar) &gt;= 97 And Asc(strChar) &lt;= 122 Or Asc(strChar) &gt;= 65 And Asc(strChar) &lt;= 90 Then
        IsLetter = True
        Exit Function
    End If
    IsLetter = False
End Function
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2011/03/28/camelhumpnotation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generic InputBox for CMDs</title>
		<link>http://blog.ittelligence.co.za/2010/10/13/generic-inputbox-for-cmds/</link>
		<comments>http://blog.ittelligence.co.za/2010/10/13/generic-inputbox-for-cmds/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 14:41:19 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[CMD]]></category>
		<category><![CDATA[InputBox]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://blog.ittelligence.co.za/?p=119</guid>
		<description><![CDATA[Generic InputBox for CMDs]]></description>
			<content:encoded><![CDATA[<p><strong>Usage:</strong> CScript.exe //NOLOGO InputBox.vbs /SendTo:SOMEAPP.BAT /prompt:&#8221;YOUR PROMPT GOES HERE&#8221; /title:&#8221;YOUR TITLE GOES HERE&#8221;</p>
<p><strong>Example:</strong> CScript.exe //NOLOGO InputBox.vbs /SendTo:RUN.BAT /prompt:&#8221;Please enter you name&#8221; /title:&#8221;Name?&#8221;</p>
<p>Value supplied will be send to RUN.BAT as %1</p>
<p><b>Attachment(s):</b><br />
<ul class="attachment-list"><li><a href="http://blog.ittelligence.co.za/wp-content/uploads/2012/03/InputBox.zip" title="View InputBox">InputBox</a></li></ul></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2010/10/13/generic-inputbox-for-cmds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBS implementation of REG.exe for use in GPOs</title>
		<link>http://blog.ittelligence.co.za/2010/09/01/vbs-implementation-of-reg-exe-for-use-in-gpos/</link>
		<comments>http://blog.ittelligence.co.za/2010/09/01/vbs-implementation-of-reg-exe-for-use-in-gpos/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 18:48:58 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[REG.exe]]></category>
		<category><![CDATA[Registry]]></category>

		<guid isPermaLink="false">http://blog.ittelligence.co.za/?p=110</guid>
		<description><![CDATA[Usage: REG.vbs /Action:ADD&#124;/Action:DELETE /Key:REGISTRYKEY [/Value:REGISTRYVALUE] [/DATA:REGISTRYVALUEDATA] [/TYPE:REGISTRYVALUETYPE] Examples: REG.vbs /Action:Add /Key:HKLM\SOFTWARE\NewKey REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_SZ /Data:Value /Type:REG_SZ REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_Binary /Data:&#8221;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&#8243; /Type:REG_BINARY REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_DWORD /Data:0 /Type:REG_DWORD REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_EXPAND_SZ /Data:Value /Type:REG_EXPAND_SZ REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_MULTI_SZ /Data:&#8221;Value1,Value2,Value3&#8243; /Type:REG_MULTI_SZ REG.vbs /Action:Delete /Key:HKLMSOFTWARENewKey /Value:New_REG_SZ REG.vbs /Action:Delete /Key:HKLMSOFTWARENewKey Attachment(s):]]></description>
			<content:encoded><![CDATA[<p><strong>Usage:</strong> REG.vbs /Action:ADD|/Action:DELETE /Key:REGISTRYKEY [/Value:REGISTRYVALUE] [/DATA:REGISTRYVALUEDATA] [/TYPE:REGISTRYVALUETYPE]</p>
<p><strong>Examples:</strong><br />
<em>REG.vbs /Action:Add /Key:HKLM\SOFTWARE\NewKey</em><br />
<em>REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_SZ /Data:Value /Type:REG_SZ</em><br />
<em>REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_Binary /Data:&#8221;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&#8243; /Type:REG_BINARY</em><br />
<em>REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_DWORD /Data:0 /Type:REG_DWORD</em><br />
<em>REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_EXPAND_SZ /Data:Value /Type:REG_EXPAND_SZ</em><br />
<em>REG.vbs /Action:Add /Key:HKLMSOFTWARENewKey /Value:New_REG_MULTI_SZ /Data:&#8221;Value1,Value2,Value3&#8243; /Type:REG_MULTI_SZ</em><br />
<em>REG.vbs /Action:Delete /Key:HKLMSOFTWARENewKey /Value:New_REG_SZ</em><br />
<em>REG.vbs /Action:Delete /Key:HKLMSOFTWARENewKey</em></p>
<p><b>Attachment(s):</b><br />
<ul class="attachment-list"><li><a href="http://blog.ittelligence.co.za/wp-content/uploads/2012/03/Reg.zip" title="View REG.vbs">REG.vbs</a></li></ul></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2010/09/01/vbs-implementation-of-reg-exe-for-use-in-gpos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to start a disk cleanup on remote computer</title>
		<link>http://blog.ittelligence.co.za/2010/08/23/how-to-start-a-disk-cleanup-on-remote-computer/</link>
		<comments>http://blog.ittelligence.co.za/2010/08/23/how-to-start-a-disk-cleanup-on-remote-computer/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 18:32:03 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[disk cleanup]]></category>
		<category><![CDATA[remotely]]></category>

		<guid isPermaLink="false">http://blog.ittelligence.co.za/?p=102</guid>
		<description><![CDATA[If you want to start a disk cleanup with cleanmgr.exe, a sageset needs to exist. Then following batch first replicates the settings that the command “cleanmgr /sageset:777” with all options selected would have create. After that it executes “cleanmgr /sagerun:777”. For more info on cleanmgr.exe see http://cr.tl/11hm This batch file can then be executed on [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to start a disk cleanup with cleanmgr.exe, a sageset needs to exist.<br />
Then following batch first replicates the settings that the command “cleanmgr /sageset:777” with all options selected would have create. After that it executes “cleanmgr /sagerun:777”.<br />
For more info on cleanmgr.exe see <a title="http://cr.tl/11hm" href="http://cr.tl/11hm" target="_blank">http://cr.tl/11hm</a></p>
<pre class="brush: plain; title: ; notranslate">
@Echo Off
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Active Setup Temp Folders&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Content Indexer Cleaner&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Downloaded Program Files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Internet Cache Files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Memory Dump Files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Microsoft_Event_Reporting_2.0_Temp_Files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Offline Pages Files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Old ChkDsk Files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Recycle Bin&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Remote Desktop Cache Files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Setup Log Files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\WebClient and WebPublisher Cache&quot; /v &quot;StateFlags0777&quot; /t REG_DWORD /d 00000002 /f
CleanMgr /sagerun:777
</pre>
<p>This batch file can then be executed on remote host with PSExec from Sysinternals<br />
<em>PSExec.exe \\RemoteHost -c -d -f DiskCleanup.bat</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2010/08/23/how-to-start-a-disk-cleanup-on-remote-computer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>IsSlowLink &#8211; Utility that returns Error Code 1 if slow link detected</title>
		<link>http://blog.ittelligence.co.za/2010/07/22/isslowlink/</link>
		<comments>http://blog.ittelligence.co.za/2010/07/22/isslowlink/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 21:19:18 +0000</pubDate>
		<dc:creator>svermaak</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[is slow link]]></category>

		<guid isPermaLink="false">http://blog.ittelligence.co.za/?p=96</guid>
		<description><![CDATA[IsSlowLink by Shaun Vermaak is an utility that returns Error Code 1 if slow link detected Usage: IsSlowLink.exe HOSTNAMEORADDRESS MAXROUNDTRIPTIME Attachment(s):]]></description>
			<content:encoded><![CDATA[<p><strong>IsSlowLink</strong> by Shaun Vermaak is an utility that returns Error Code 1 if slow link detected</p>
<p><strong>Usage:</strong> IsSlowLink.exe HOSTNAMEORADDRESS MAXROUNDTRIPTIME</p>
<p><b>Attachment(s):</b><br />
<ul class="attachment-list"><li><a href="http://blog.ittelligence.co.za/wp-content/uploads/2012/03/IsSlowLink.zip" title="View IsSlowLink">IsSlowLink</a></li></ul></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ittelligence.co.za/2010/07/22/isslowlink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

