<?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>microtom.net</title>
	<atom:link href="http://www.microtom.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.microtom.net</link>
	<description>tom&#039;s windows tech blog</description>
	<lastBuildDate>Tue, 03 Aug 2010 06:48:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>VB Script: Copy Active Directory Group Members</title>
		<link>http://www.microtom.net/?p=667</link>
		<comments>http://www.microtom.net/?p=667#comments</comments>
		<pubDate>Tue, 03 Aug 2010 06:48:02 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Command Line Tools]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Microsoft Active Directory]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Script Repository]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=667</guid>
		<description><![CDATA[VB Script that copies all members of Group A to Group B. Requires 2 Arguments (Source Group Name, Destination Group Name) ?Download ADS_CopyGroupMembers.vbs1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 [...]]]></description>
			<content:encoded><![CDATA[<p>VB Script that copies all members of Group A to Group B. Requires 2 Arguments (Source Group Name, Destination Group Name)</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.microtom.net/wp-content/plugins/wp-codebox/wp-codebox.php?p=667&amp;download=ADS_CopyGroupMembers.vbs">ADS_CopyGroupMembers.vbs</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6672"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
</pre></td><td class="code" id="p667code2"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Set</span> objSystemInfo = CreateObject(<span style="color: #800000;">&quot;ADSystemInfo&quot;</span>) 
strDomain = objSystemInfo.DomainShortName
&nbsp;
strSGroupDN = GetObjectDN(WScript.Arguments(0), strDomain)
strDGroupDN = GetObjectDN(WScript.Arguments(1), strDomain)
&nbsp;
WScript.Echo <span style="color: #800000;">&quot;&quot;</span>
WScript.Echo <span style="color: #800000;">&quot;     Source Group: &quot;</span> &amp; strSGroupDN 
WScript.Echo <span style="color: #800000;">&quot;Destination Group: &quot;</span> &amp; strDGroupDN 
WScript.Echo <span style="color: #800000;">&quot;&quot;</span>
&nbsp;
<span style="color: #000080;">set</span> dicSeenGroupMember = CreateObject(<span style="color: #800000;">&quot;Scripting.Dictionary&quot;</span>)
<span style="color: #000080;">set</span> objDGroup = GetObject(<span style="color: #800000;">&quot;LDAP://&quot;</span> &amp; strDGroupDN)
&nbsp;
CopyMembers <span style="color: #800000;">&quot;LDAP://&quot;</span> &amp; strSGroupDN, dicSeenGroupMember
&nbsp;
<span style="color: #000080;">Function</span> CopyMembers (strGroupADsPath, dicSeenGroupMember)
	<span style="color: #000080;">set</span> objGroup = GetObject(strGroupADsPath)
	WScript.Echo <span style="color: #800000;">&quot;Adding Users to &quot;</span> &amp; WScript.Arguments(1)
	<span style="color: #000080;">for</span> <span style="color: #000080;">each</span> objMember <span style="color: #000080;">In</span> objGroup.Members
		<span style="color: #000080;">On</span> <span style="color: #000080;">Error</span> <span style="color: #000080;">Resume</span> <span style="color: #000080;">Next</span>
		<span style="color: #000080;">If</span> (objDGroup.Add(<span style="color: #800000;">&quot;LDAP://&quot;</span> &amp; objMember.distinguishedName)) <span style="color: #000080;">Then</span>
			WScript.Echo <span style="color: #800000;">&quot;  &quot;</span> &amp; objMember.displayName &amp; <span style="color: #800000;">&quot; (Already Member)&quot;</span>
		<span style="color: #000080;">Else</span> 
			WScript.Echo <span style="color: #800000;">&quot;  &quot;</span> &amp; objMember.displayName
		<span style="color: #000080;">End</span> <span style="color: #000080;">If</span>
	<span style="color: #000080;">next</span>
<span style="color: #000080;">End</span> <span style="color: #000080;">Function</span>
&nbsp;
<span style="color: #000080;">Function</span> GetObjectDN(strObject, strDomain)
	<span style="color: #000080;">Const</span> ADS_NAME_INITTYPE_GC = 3
	<span style="color: #000080;">Const</span> ADS_NAME_TYPE_1779 = 1
	<span style="color: #000080;">Const</span> ADS_NAME_TYPE_NT4 = 3
&nbsp;
	<span style="color: #000080;">Dim</span> objNameTranslate
	<span style="color: #000080;">Dim</span> strObjectDN
&nbsp;
	<span style="color: #000080;">On</span> <span style="color: #000080;">Error</span> <span style="color: #000080;">Resume</span> <span style="color: #000080;">Next</span> : Err.Clear
	<span style="color: #000080;">Set</span> objNameTranslate = CreateObject(<span style="color: #800000;">&quot;NameTranslate&quot;</span>)
&nbsp;
	objNameTranslate.Init ADS_NAME_INITTYPE_GC, <span style="color: #800000;">&quot;&quot;</span>
	objNameTranslate.<span style="color: #000080;">Set</span> ADS_NAME_TYPE_NT4, strDomain &amp; <span style="color: #800000;">&quot;\&quot;</span> &amp; strObject
	strObjectDN = objNameTranslate.<span style="color: #000080;">Get</span>(ADS_NAME_TYPE_1779)
	<span style="color: #000080;">If</span> Err.Number &lt;&gt; 0 <span style="color: #000080;">Then</span>
		strObjectDN = <span style="color: #800000;">&quot;&quot;</span>
	<span style="color: #000080;">End</span> <span style="color: #000080;">If</span>
&nbsp;
	<span style="color: #000080;">Set</span> objNameTranslate = <span style="color: #000080;">Nothing</span>
	<span style="color: #000080;">On</span> <span style="color: #000080;">Error</span> <span style="color: #000080;">Goto</span> 0
	GetObjectDN = strObjectDN
<span style="color: #000080;">End</span> <span style="color: #000080;">Function</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=667</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Outlook 2003 Free Busy Update Information</title>
		<link>http://www.microtom.net/?p=653</link>
		<comments>http://www.microtom.net/?p=653#comments</comments>
		<pubDate>Thu, 20 May 2010 09:28:30 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Batch]]></category>
		<category><![CDATA[Command Line Tools]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Script Repository]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=653</guid>
		<description><![CDATA[Here&#8217;s a small batch that changes Outlook Free Busy Information in your local Registry. ?Download UpdateOutlookFreeBusy.cmd1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a small batch that changes Outlook Free Busy Information in your local Registry.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.microtom.net/wp-content/plugins/wp-codebox/wp-codebox.php?p=653&amp;download=UpdateOutlookFreeBusy.cmd">UpdateOutlookFreeBusy.cmd</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6534"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
</pre></td><td class="code" id="p653code4"><pre class="dos" style="font-family:monospace;"><span style="color: #33cc33;">@</span><a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> OFF
&nbsp;
<a href="http://www.ss64.com/nt/set.html"><span style="color: #b1b100; font-weight: bold;">SET</span></a> FBPublishRange=<span style="color: #33cc33;">%</span><span style="color: #448888;">1</span>
<a href="http://www.ss64.com/nt/set.html"><span style="color: #b1b100; font-weight: bold;">SET</span></a> FBUpdateSecs=<span style="color: #33cc33;">%</span><span style="color: #448888;">2</span>
&nbsp;
<a href="http://www.ss64.com/nt/if.html"><span style="color: #00b100; font-weight: bold;">IF</span></a> <a href="http://www.ss64.com/nt/not.html"><span style="color: #000000; font-weight: bold;">NOT</span></a> <a href="http://www.ss64.com/nt/defined.html"><span style="color: #000000; font-weight: bold;">DEFINED</span></a> FBPublishRange <span style="color: #66cc66;">&#40;</span>
  <a href="http://www.ss64.com/nt/set.html"><span style="color: #b1b100; font-weight: bold;">SET</span></a> FBPublishRange=<span style="color: #cc66cc;">6</span>
  <span style="color: #66cc66;">&#41;</span>
<a href="http://www.ss64.com/nt/if.html"><span style="color: #00b100; font-weight: bold;">IF</span></a> <span style="color: #33cc33;">%</span><span style="color: #448888;">FBPublishRange</span><span style="color: #33cc33;">%</span> <a href="http://www.ss64.com/nt/lss.html"><span style="color: #000000; font-weight: bold;">LSS</span></a> <span style="color: #cc66cc;">1</span> <span style="color: #66cc66;">&#40;</span>
  <a href="http://www.ss64.com/nt/goto.html"><span style="color: #00b100; font-weight: bold;">GOTO</span></a> :<span style="color: #b100b1; font-weight: bold;">HELP<span style="color: #66cc66;">&#41;</span></span>
<a href="http://www.ss64.com/nt/if.html"><span style="color: #00b100; font-weight: bold;">IF</span></a> <span style="color: #33cc33;">%</span><span style="color: #448888;">FBPublishRange</span><span style="color: #33cc33;">%</span> <a href="http://www.ss64.com/nt/gtr.html"><span style="color: #000000; font-weight: bold;">GTR</span></a> <span style="color: #cc66cc;">12</span> <span style="color: #66cc66;">&#40;</span>
  <a href="http://www.ss64.com/nt/goto.html"><span style="color: #00b100; font-weight: bold;">GOTO</span></a> :<span style="color: #b100b1; font-weight: bold;">HELP<span style="color: #66cc66;">&#41;</span></span>
&nbsp;
<a href="http://www.ss64.com/nt/if.html"><span style="color: #00b100; font-weight: bold;">IF</span></a> <a href="http://www.ss64.com/nt/not.html"><span style="color: #000000; font-weight: bold;">NOT</span></a> <a href="http://www.ss64.com/nt/defined.html"><span style="color: #000000; font-weight: bold;">DEFINED</span></a> FBUpdateSecs <span style="color: #66cc66;">&#40;</span>
  <a href="http://www.ss64.com/nt/set.html"><span style="color: #b1b100; font-weight: bold;">SET</span></a> FBUpdateSecs=<span style="color: #cc66cc;">1800</span>
  <span style="color: #66cc66;">&#41;</span>
<a href="http://www.ss64.com/nt/if.html"><span style="color: #00b100; font-weight: bold;">IF</span></a> <span style="color: #33cc33;">%</span><span style="color: #448888;">FBUpdateSecs</span><span style="color: #33cc33;">%</span> <a href="http://www.ss64.com/nt/lss.html"><span style="color: #000000; font-weight: bold;">LSS</span></a> <span style="color: #cc66cc;">1800</span> <span style="color: #66cc66;">&#40;</span>
  <a href="http://www.ss64.com/nt/goto.html"><span style="color: #00b100; font-weight: bold;">GOTO</span></a> :<span style="color: #b100b1; font-weight: bold;">HELP<span style="color: #66cc66;">&#41;</span></span>
<a href="http://www.ss64.com/nt/if.html"><span style="color: #00b100; font-weight: bold;">IF</span></a> <span style="color: #33cc33;">%</span><span style="color: #448888;">FBUpdateSecs</span><span style="color: #33cc33;">%</span> <a href="http://www.ss64.com/nt/gtr.html"><span style="color: #000000; font-weight: bold;">GTR</span></a> <span style="color: #cc66cc;">7200</span> <span style="color: #66cc66;">&#40;</span>
  <a href="http://www.ss64.com/nt/goto.html"><span style="color: #00b100; font-weight: bold;">GOTO</span></a> :<span style="color: #b100b1; font-weight: bold;">HELP<span style="color: #66cc66;">&#41;</span></span>
&nbsp;
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> Updating Outlook Free Busy Options  
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>  Updating FBPublishRange using value <span style="color: #33cc33;">%</span><span style="color: #448888;">FBPublishRange</span><span style="color: #33cc33;">%</span>
reg add HKCU\Software\Microsoft\Office\<span style="color: #cc66cc;">11.0</span>\Outlook\Preferences /t REG_DWORD /v FBPublishRange /d <span style="color: #33cc33;">%</span><span style="color: #448888;">FBPublishRange</span><span style="color: #33cc33;">%</span> /f&gt;<a href="http://www.ss64.com/nt/nul.html"><span style="color: #0000ff; font-weight: bold;">NUL</span></a>
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>  Updating FBUpdateSecs using value <span style="color: #33cc33;">%</span><span style="color: #448888;">FBUpdateSecs</span><span style="color: #33cc33;">%</span>
reg add HKCU\Software\Microsoft\Office\<span style="color: #cc66cc;">11.0</span>\Outlook\Preferences /t REG_DWORD /v FBUpdateSecs /d <span style="color: #33cc33;">%</span><span style="color: #448888;">FBUpdateSecs</span><span style="color: #33cc33;">%</span> /f&gt;<a href="http://www.ss64.com/nt/nul.html"><span style="color: #0000ff; font-weight: bold;">NUL</span></a>
<a href="http://www.ss64.com/nt/if.html"><span style="color: #00b100; font-weight: bold;">IF</span></a> <span style="color: #33cc33;">%</span><span style="color: #448888;">ERRORLEVEL</span><span style="color: #33cc33;">%</span> <a href="http://www.ss64.com/nt/equ.html"><span style="color: #000000; font-weight: bold;">EQU</span></a> <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&#40;</span>
	<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> Update Completed Successfully
  <a href="http://www.ss64.com/nt/goto.html"><span style="color: #00b100; font-weight: bold;">GOTO</span></a> :<span style="color: #b100b1; font-weight: bold;">EOF</span>
	<span style="color: #66cc66;">&#41;</span> <a href="http://www.ss64.com/nt/else.html"><span style="color: #00b100; font-weight: bold;">ELSE</span></a> <span style="color: #66cc66;">&#40;</span>
	<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> There was an error updating Outlook Free Busy Options. Return Value: <span style="color: #33cc33;">%</span><span style="color: #448888;">ERRORLEVEL</span><span style="color: #33cc33;">%</span>
	<a href="http://www.ss64.com/nt/goto.html"><span style="color: #00b100; font-weight: bold;">GOTO</span></a> :<span style="color: #b100b1; font-weight: bold;">EOF</span>
	<span style="color: #66cc66;">&#41;</span>
:<span style="color: #b100b1; font-weight: bold;">HELP</span>
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>.
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> Invalid Arguments Found
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>.
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> Allows <span style="color: #cc66cc;">2</span> optional arguments: <span style="color: #66cc66;">&#91;</span>FBPublishRange<span style="color: #66cc66;">&#93;</span> and <span style="color: #66cc66;">&#91;</span>FBUpdateSecs<span style="color: #66cc66;">&#93;</span>
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>.
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> Argument <span style="color: #cc66cc;">1</span> specifies the number of months to publish Free/Busy information
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>   Valid values <a href="http://www.ss64.com/nt/for.html"><span style="color: #00b100; font-weight: bold;">for</span></a> argument <span style="color: #cc66cc;">1</span> <span style="color: #66cc66;">&#40;</span>FBPublishRange<span style="color: #66cc66;">&#41;</span>: <span style="color: #cc66cc;">1</span> to <span style="color: #cc66cc;">12</span>
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>.
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> Argument <span style="color: #cc66cc;">2</span> specifies the update interval to publish Free/Busy information
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>   Valid values <a href="http://www.ss64.com/nt/for.html"><span style="color: #00b100; font-weight: bold;">for</span></a> argument <span style="color: #cc66cc;">2</span> <span style="color: #66cc66;">&#40;</span>FBUpdateSecs<span style="color: #66cc66;">&#41;</span>: <span style="color: #cc66cc;">1800</span> to <span style="color: #cc66cc;">7200</span>
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>.
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> Examples:
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>.
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> &quot;UpdateOutlookFreeBusy.cmd&quot; Uses default values 
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>   -FBPublishRange = <span style="color: #cc66cc;">6</span>, FBUpdateSecs = <span style="color: #cc66cc;">1800</span>
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>.
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> &quot;UpdateOutlookFreeBusy.cmd <span style="color: #cc66cc;">9</span>&quot;
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>   -FBPublishRange = <span style="color: #cc66cc;">9</span>, FBUpdateSecs = <span style="color: #cc66cc;">1800</span>
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>.
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a> &quot;UpdateOutlookFreeBusy.cmd <span style="color: #cc66cc;">9</span> <span style="color: #cc66cc;">2400</span>&quot;
<a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">ECHO</span></a>   -FBPublishRange = <span style="color: #cc66cc;">9</span>, FBUpdateSecs = <span style="color: #cc66cc;">2400</span>
<a href="http://www.ss64.com/nt/goto.html"><span style="color: #00b100; font-weight: bold;">GOTO</span></a> :<span style="color: #b100b1; font-weight: bold;">EOF</span>
&nbsp;
:<span style="color: #b100b1; font-weight: bold;">EOF</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=653</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7: Desktop Icons suddenly disappear</title>
		<link>http://www.microtom.net/?p=638</link>
		<comments>http://www.microtom.net/?p=638#comments</comments>
		<pubDate>Wed, 21 Apr 2010 09:20:37 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=638</guid>
		<description><![CDATA[I love Windows 7! It&#8217;s robust, fast, looks great and command lines / power shell / wmi / scripting platforms are just awesome. In other words: It kicks the hell out of a Banana (or some other proprietary fruit I can&#8217;t remember). However, there still are some little things that cause headache: Why would anyone [...]]]></description>
			<content:encoded><![CDATA[<p>I love Windows 7! It&#8217;s robust, fast, looks great and command lines / power shell / wmi / scripting platforms are just awesome.<br />
In other words: It kicks the hell out of a Banana (or some other proprietary fruit I can&#8217;t remember).<br />
However, there still are some little things that cause headache: Why would anyone do this!?<br />
This is what I thought after my desktop shortcuts disappeared for the 3rd time after a while being unused.</p>
<p>Turned out there is a maintenance Task that runs as a Scheduled task under Windows 7. It executes various powershell scripts including this:</p>
<p>%windir%\diagnostics\scheduled\Maintenance\<br />
<strong>RS_RemoveUnusedDesktopIcons.ps1</strong></p>
<p>If you comment out line 57, you should be good to go and your Desktop Icons won&#8217;t disappear anymore:</p>
<p>Replace &#8220;Remove-FileList $deleteList&#8221;<br />
with &#8220;# Remove-FileList $deleteList&#8221;</p>
<p><strong>Note:</strong> To edit the file you must first take ownership and grant you permissions to it!</p>
<p>Hope that helps&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=638</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;vssadmin list writers&#8221; does not return any writers</title>
		<link>http://www.microtom.net/?p=642</link>
		<comments>http://www.microtom.net/?p=642#comments</comments>
		<pubDate>Wed, 21 Apr 2010 08:44:40 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Microsoft Exchange]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Windows Server 2003]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=642</guid>
		<description><![CDATA[If you get one of the following events in your Application Event Log, try the solution below: Event Type: Error Event Source: VSS Event ID: 20 Description: Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy Service is not registered. This might happened if an error occurred during Windows setup [...]]]></description>
			<content:encoded><![CDATA[<p>If you get one of the following events in your Application Event Log, try the solution below:</p>
<p>Event Type: Error<br />
Event Source: VSS<br />
Event ID: 20<br />
Description: Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy Service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow Copy provider. The error returned from CoCreateInstance on class with CLSID {faf53cc4-bd73-4e36-83f1-2b23f46e513e} and Name VSSEvent is [0x80040154].</p>
<p>Event Type: Error<br />
Event Source: VSS<br />
Event ID: 20<br />
Description: Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy Service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow Copy provider. The error returned from CoCreateInstance on class with CLSID {faf53cc4-bd73-4e36-83f1-2b23f46e513e} and Name VSSEvent is [0x80004002].</p>
<p>Event Type: Error<br />
Event Source: VSS<br />
Event ID: 8193<br />
Description: Volume Shadow Copy Service error: Unexpected error calling routine CoCreateInstance. hr = 0&#215;80040154.</p>
<p>Event Type: Error<br />
Event Source: VSS<br />
Event Category: None<br />
Event ID: 8193<br />
Description: Volume Shadow Copy Service error: Unexpected error calling routine CoCreateInstance. hr = 0&#215;80004002.</p>
<p>Event Type: Error<br />
Event Source: VSS<br />
Event ID: 12302<br />
Description: Volume Shadow Copy Service error: An internal inconsistency was detected in trying to contact shadow copy service writers. Please check to see that the Event Service and Volume Shadow Copy Service are operating properly.</p>
<p><strong>Solution:</strong><br />
Click Start, click Run, type cmd, and then click OK.<br />
Type the following commands at a command prompt. Press ENTER after you type each command.</p>
<p><code>cd /d %windir%\system32<br />
Net stop vss<br />
Net stop swprv<br />
regsvr32 ole32.dll<br />
regsvr32 oleaut32.dll<br />
regsvr32 vss_ps.dll<br />
vssvc /register<br />
regsvr32 /i swprv.dll<br />
regsvr32 /i eventcls.dll<br />
regsvr32 es.dll<br />
regsvr32 stdprov.dll<br />
regsvr32 vssui.dll<br />
regsvr32 msxml.dll<br />
regsvr32 msxml3.dll<br />
regsvr32 msxml4.dll<br />
cd /d %windir%\system32<br />
Net stop vss<br />
Net stop swprv<br />
regsvr32 ole32.dll<br />
regsvr32 oleaut32.dll<br />
regsvr32 vss_ps.dll<br />
vssvc /register<br />
regsvr32 /i swprv.dll<br />
regsvr32 /i eventcls.dll<br />
regsvr32 es.dll<br />
regsvr32 stdprov.dll<br />
regsvr32 vssui.dll<br />
regsvr32 msxml.dll<br />
regsvr32 msxml3.dll<br />
regsvr32 msxml4.dll</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=642</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to reset the Primary Key Index Value on an SQL Table</title>
		<link>http://www.microtom.net/?p=632</link>
		<comments>http://www.microtom.net/?p=632#comments</comments>
		<pubDate>Thu, 08 Apr 2010 10:04:56 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Microsoft SQL Server]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=632</guid>
		<description><![CDATA[I recently had to reset the Primary key (Integer, AutoIncrement) from a Table I removed all entries from. You can use the DBCC CKECKIDENT Statement to achieve this. Reset Primary Key Index on SQL Table USE YourDatabase DBCC CHECKIDENT('YourTable', RESEED, 0) This would reset the next identity value to begin at 1. If you are [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to reset the Primary key (Integer, AutoIncrement) from a Table I removed all entries from.</p>
<p>You can use the DBCC CKECKIDENT Statement to achieve this.</p>
<p>Reset Primary Key Index on SQL Table</p>
<p><code>USE YourDatabase<br />
DBCC CHECKIDENT('YourTable', RESEED, 0)</code></p>
<p>This would reset the next identity value to begin at 1.</p>
<p>If you are receiving the following error, you might have not switched to the correct Database before executing the Statement:</p>
<p><code><span style="color: #ff0000;">Msg 2501, Level 16, State 45, Line 1<br />
Cannot find a table or object with the name "YourTable". Check the system catalog.</span></code></p>
<p><span style="color: #000000;">Make sure you are using the &#8220;USE YourDatabase&#8221; statement before executing the DBCC .</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=632</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert BMP to JPG Command Line Utility (Free)</title>
		<link>http://www.microtom.net/?p=619</link>
		<comments>http://www.microtom.net/?p=619#comments</comments>
		<pubDate>Mon, 22 Mar 2010 14:11:13 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Administration Tools]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Command Line Tools]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Microsoft .NET]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Tools & Software]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=619</guid>
		<description><![CDATA[A small and free command line utility that converts a single .bmp file or a directory containing multiple .bmp files into jpg&#8217;s. Requires .Net Framework 2.0 or later. UPDATE! Sorry, the previous download File was corrupted. Please download this zip file now. Download Help: BMP2JPG :: Converts BMP to JPG (100% JPEG Quality only) :: [...]]]></description>
			<content:encoded><![CDATA[<p>A small and free command line utility that converts a single .bmp file or a directory containing multiple .bmp files into jpg&#8217;s.</p>
<p>Requires .Net Framework 2.0 or later.</p>
<p>UPDATE! Sorry, the previous download File was corrupted. Please download this zip file now.</p>
<p>Download Note: There is a file embedded within this post, please visit this post to download the file.</p>
<p><strong>Help:</strong><br />
<code>BMP2JPG   ::   Converts BMP to JPG (100% JPEG Quality only)    :: Version 1.0</p>
<p>Converts BMP Files</p>
<p>Syntax :: BMP2JPG [Source Directory or File] [Destination Directory or File] [overwrite]</p>
<p>::<br />
:: Examples<br />
::<br />
BMP2JPG "C:\Temp\My Bitmap.bmp" "C:\Temp\My JPEG File.jpg"<br />
Converts a single File</p>
<p>BMP2JPG "C:\Temp\My BMP Folder" "C:\Temp\My JPEG Folder"<br />
Converts all Files found in "C:\Temp\My BMP Folder" to "C:\Temp\My JPEG Folder"</p>
<p>BMP2JPG "C:\Temp\My BMP Folder" "C:\Temp\My JPEG Folder" overwrite<br />
Converts all Files found in "C:\Temp\My BMP Folder" to "C:\Temp\My JPEG Folder"<br />
Overwrites Existing Files</p>
<p>Author :: Tom Schindler, 2010 | http://www.microtom.net<br />
Codename :: WIN32_ConvertBMP2JPG</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=619</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to improve Windows XP Performance</title>
		<link>http://www.microtom.net/?p=269</link>
		<comments>http://www.microtom.net/?p=269#comments</comments>
		<pubDate>Thu, 18 Mar 2010 09:19:21 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Management]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Performance & Health]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Tweaks]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=269</guid>
		<description><![CDATA[Good old Windows XP never dies! If you&#8217;re suffering of poor performance on your Windows XP Computer, you might want to try some of the following settings. Machine Tweaks (Require Admin Rights) Disable Startup Programs Logon with a User that is a member of the local Administrator Group Click Start Click Run Type “regedit” Navigate [...]]]></description>
			<content:encoded><![CDATA[<p>Good old Windows XP never dies! If you&#8217;re suffering of poor performance on your Windows XP Computer, you might want to try some of the following settings.</p>
<h2>Machine Tweaks (Require Admin Rights)</h2>
<h3>Disable Startup Programs</h3>
<ol>
<li>Logon with a User that is a member of the local Administrator Group</li>
<li>Click Start</li>
<li>Click Run</li>
<li>Type “regedit”</li>
<li>Navigate to: HKLM\Software\Microsoft\Windows\Current Version\Run</li>
<li>Right Click on the “Run” key and select “Export”</li>
<li>Export the key to a safe location</li>
<li>Delete all Values within the Run Key except CA DSM and McAfee related keys</li>
<li>Repeat step 5 to 8 for the HKCU Hive but also exclude the value ctfmon.exe from deletion</li>
</ol>
<h3>Disable unnecessary Services</h3>
<ol>
<li>Logon with a User that is a member of the local Administrator Group</li>
<li>Click Start</li>
<li>Click Run</li>
<li>Type “services.msc”</li>
<li>Disable the following Services<br />
<em>Error Reporting Service</em><br />
<em>Help and Support </em>(You will not be able to use Remote Desktop Help after disabling this)<br />
<em>Machine Debug Manager</em></li>
</ol>
<h3>Clear Temp Folder and recreate Prefetcher</h3>
<ol>
<li>Logon with a User that is a member of the local Administrator Group</li>
<li>Click Start</li>
<li>Click Run</li>
<li>Type “CMD”</li>
<li>In the command windows type the following:<code><br />
del  %temp%\*.* /Q<br />
del %windir%\Temp\*.* /Q<br />
del %windir%\Prefetch\*.* /Q</code></li>
</ol>
<h3>Remove Temporary Installation Files (Hotfixes)</h3>
<ol>
<li>Logon with a User that is a member of the local Administrator Group</li>
<li>Open Windows Explorer and navigate to C:\Windows</li>
<li>Make sure “Show hidden Files and Folders” is enabled in the Windows Explorer Options</li>
<li>Remove Files that are compressed and start with a “$” sign EXCEPT the “$hf_mig$” folder!<br />
Examples:<br />
$NtUninstallKB898461$<br />
$NtUninstallKB898463$</li>
</ol>
<h3>Empty Recycle Bin after previous steps</h3>
<ol>
<li>Logon with a User that is a member of the local Administrator Group</li>
<li>Right Click the Recycle Bin and select “Empty Recycle Bin”</li>
</ol>
<h3>Defragment the System Drive</h3>
<ol>
<li>Logon with a User that is a member of the local Administrator Group</li>
<li>Click Start</li>
<li>Click Run</li>
<li>Type “CMD”</li>
<li>Type “defrag %SYSTEMDRIVE%”</li>
<li>Hit Enter</li>
</ol>
<h3>Use a resource friendly Virus Scanner</h3>
<p>Many Virus Scanners are even worse the a Viruses they want to protect you from. I found Microsoft Security Essentials is a very efficient and resource friendly Virus Scanner, and it&#8217;s free! :) Refer to this post to get more information: <a href="http://www.microtom.net/?p=493" target="_blank">http://www.microtom.net/?p=493</a></p>
<h2>User Tweaks</h2>
<h3>Disable Search for Network Folders</h3>
<ol>
<li>Logon with the User Account</li>
<li>Open Windows Explorer</li>
<li>Click “Tools” – “Folder Options”</li>
<li>In the “View” Tab uncheck “Automatically check for network folders and printers”</li>
<li>Click “OK”</li>
</ol>
<h3>Remove Startup Programs</h3>
<ol>
<li>Logon with the User Account</li>
<li>Click Start</li>
<li>Click Run</li>
<li>Type %userprofile% and click “OK”</li>
<li>Further navigate to “Start Menu\Programs\Startup” and delete every item in it (except if you really really REALLY(!) need one of them to start with Windows)</li>
</ol>
<h3>Cleanup Desktop</h3>
<ol>
<li>Logon with the User Account</li>
<li>Move Shortcuts (especially the ones that point to network locations) from the desktop to another location. You can also create a Folder (e.g. called “Shortcuts”) on the Desktop and move them in it.</li>
</ol>
<h3>Compress /Split PST Files</h3>
<ol>
<li>Logon with the User Account</li>
<li>Start Outlook</li>
<li>For each Personal Folder File:a.       Right click the Folder and select “Properties for Personal Folder…”<br />
b.      Click “Advanced”<br />
c.       Click “Compact Now” and wait for the process to finish<br />
d.      Click “OK”<br />
e.      In the Personal Folders Properties window click “Folder Size”<br />
f.        If the Total Size exceeds 1GB, split the PST file into additional PST’s</li>
</ol>
<h3>Enable &#8220;Cached Exchange Mode&#8221; in Outlook (Exchange Users Only)</h3>
<ol>
<li>Open Microsoft Outlook 2003</li>
<li>Click &#8220;Tools&#8221; &#8211; &#8220;E-mail Accounts&#8230;&#8221;</li>
<li>Select &#8220;View or change existing e-mail accounts&#8221; (Selected by default) and click &#8220;Next &gt;&#8221;</li>
<li>Select the &#8220;Microsoft Exchange Server&#8221; Account and click &#8220;Change&#8230;&#8221;</li>
<li>Check the check box &#8220;Use Cached Exchange Mode&#8221; (if not already checked) and click &#8220;Next &gt;&#8221;</li>
<li>Click &#8220;OK&#8221; on the Dialog</li>
<li>Click &#8220;Finish&#8221;</li>
<li>Restart Outlook</li>
</ol>
<h3>Remove the Desktop Wallpaper or use a .jpg image rather than .bmp</h3>
<ol>
<li>Right click somewhere on your Desktop</li>
<li>Select Properties</li>
<li>In the &#8220;Display Properties&#8221; Window select the &#8220;Desktop&#8221; Tab (Second Tab)</li>
<li>In the &#8220;Background&#8221; Selection Field select [None] and click &#8220;OK&#8221;</li>
</ol>
<h3>Use the Windows 2000 Theme instead of the Windows XP default theme</h3>
<ol>
<li>Right click somewhere on your Desktop</li>
<li>Select Properties</li>
<li>In the &#8220;Display Properties&#8221; Window select the &#8220;Themes&#8221; Tab (First Tab)</li>
<li>In the &#8220;Theme&#8221; Drop Down list, select &#8220;Windows Classic&#8221;</li>
<li>Click &#8220;OK&#8221;</li>
<li>Select &#8220;No&#8221; when asked to save your current Theme-&gt;Additionally you can also disable the “Windows Themes” Service</li>
</ol>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Per-Machine Tweaks (Require Admin Rights)<br />
Disable Startup Programs1.       Logon with a User that is a member of the local Administrator Group2.       Click Start3.       Click Run</p>
<p>4.       Type “regedit”</p>
<p>5.       Navigate to:<br />
HKLM\Software\Microsoft\Windows\Current Version\Run</p>
<p>6.       Right Click on the “Run” key and select “Export”</p>
<p>7.       Export the key to a safe location</p>
<p>8.       Delete all Values within the Run Key except CA DSM and McAfee related keys</p>
<p>9.       Repeat step 5 to 8 for the HKCU Hive but also exclude the value ctfmon.exe from deletion<br />
Disable unnecessary Services</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type “services.msc”</p>
<p>5.       Disable the following Services</p>
<p>Error Reporting Service</p>
<p>Help and Support</p>
<p>Machine Debug Manager<br />
Clear Temp Folder and recreate Prefetcher</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type “CMD”</p>
<p>5.       In the command windows type the following:</p>
<p>del  %temp%\*.* /Q<br />
del %windir%\Temp\*.* /Q</p>
<p>del %windir%\Prefetch\*.* /Q<br />
Remove Temporary Installation Files (Hotfixes)</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Open Windows Explorer and navigate to C:\Windows</p>
<p>3.       Make sure “Show hidden Files and Folders” is enabled in the Windows Explorer Options</p>
<p>4.       Remove Files that are compressed and start with a “$” sign EXCEPT the “$hf_mig$” folder!<br />
Examples:<br />
$NtUninstallKB898461$<br />
$NtUninstallKB898463$</p>
<p>Empty Recycle Bin after previous steps</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Right Click the Recycle Bin and select “Empty Recycle Bin”</p>
<p>Defragment the System Drive</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type “CMD”</p>
<p>5.       Type “defrag %SYSTEMDRIVE%”</p>
<p>6.       Hit Enter</p>
<p>Per User Tweaks<br />
Disable Search for Network Folders</p>
<p>1.       Logon with the User Account</p>
<p>2.       Open Windows Explorer</p>
<p>3.       Click “Tools” – “Folder Options”</p>
<p>4.       In the “View” Tab uncheck “Automatically check for network folders and printers”</p>
<p>5.       Click “OK”</p>
<p>Remove Startup Programs</p>
<p>1.       Logon with the User Account</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type %userprofile% and click “OK”</p>
<p>5.       Further navigate to “Start Menu\Programs\Startup” and delete every item in it (except if you really really REALLY(!) need one of them to start with Windows)<br />
Cleanup Desktop</p>
<p>1.       Logon with the User Account</p>
<p>2.       Move Shortcuts (especially the ones that point to network locations) from the desktop to another location. You can also create a Folder (e.g. called “Shortcuts”) on the Desktop and move them in it.<br />
Compress /Split PST Files</p>
<p>1.       Logon with the User Account</p>
<p>2.       Start Outlook</p>
<p>3.       For each Personal Folder File:</p>
<p>a.       Right click the Folder and select “Properties for Personal Folder…”</p>
<p>b.      Click “Advanced”</p>
<p>c.       Click “Compact Now” and wait for the process to finish</p>
<p>d.      Click “OK”</p>
<p>e.      In the Personal Folders Properties window click “Folder Size”</p>
<p>f.        If the Total Size exceeds 1GB, split the PST file into additional PST’s</p>
<p>Enable &#8220;Cached Exchange Mode&#8221; in Outlook (Exchange Users Only)</p>
<p>1.       Open Microsoft Outlook 2003</p>
<p>2.       Click &#8220;Tools&#8221; &#8211; &#8220;E-mail Accounts&#8230;&#8221;</p>
<p>3.       Select &#8220;View or change existing e-mail accounts&#8221; (Selected by default) and click &#8220;Next &gt;&#8221;</p>
<p>4.       Select the &#8220;Microsoft Exchange Server&#8221; Account and click &#8220;Change&#8230;&#8221;</p>
<p>5.       Check the check box &#8220;Use Cached Exchange Mode&#8221; (if not already checked) and click &#8220;Next &gt;&#8221;</p>
<p>6.       Click &#8220;OK&#8221; on the Dialog</p>
<p>7.       Click &#8220;Finish&#8221;</p>
<p>8.       Restart Outlook</p>
<p>Remove the Desktop Wallpaper or use a .jpg image rather than .bmp</p>
<p>1.       Right click somewhere on your Desktop</p>
<p>2.       Select Properties</p>
<p>3.       In the &#8220;Display Properties&#8221; Window select the &#8220;Desktop&#8221; Tab (Second Tab)</p>
<p>4.       In the &#8220;Background&#8221; Selection Field select [None] and click &#8220;OK&#8221;</p>
<p>Use the Windows 2000 Theme instead of the Windows XP default theme</p>
<p>1.       Right click somewhere on your Desktop</p>
<p>2.       Select Properties</p>
<p>3.       In the &#8220;Display Properties&#8221; Window select the &#8220;Themes&#8221; Tab (First Tab)</p>
<p>4.       In the &#8220;Theme&#8221; Drop Down list, select &#8220;Windows Classic&#8221;</p>
<p>5.       Click &#8220;OK&#8221;</p>
<p>6.       Select &#8220;No&#8221; when asked to save your current Theme</p>
<p>*Additionally you can also disable the “Windows Themes” Service</p>
</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Per-Machine Tweaks (Require Admin Rights)<br />
Disable Startup Programs1.       Logon with a User that is a member of the local Administrator Group2.       Click Start3.       Click Run</p>
<p>4.       Type “regedit”</p>
<p>5.       Navigate to:<br />
HKLM\Software\Microsoft\Windows\Current Version\Run</p>
<p>6.       Right Click on the “Run” key and select “Export”</p>
<p>7.       Export the key to a safe location</p>
<p>8.       Delete all Values within the Run Key except CA DSM and McAfee related keys</p>
<p>9.       Repeat step 5 to 8 for the HKCU Hive but also exclude the value ctfmon.exe from deletion<br />
Disable unnecessary Services</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type “services.msc”</p>
<p>5.       Disable the following Services</p>
<p>Error Reporting Service</p>
<p>Help and Support</p>
<p>Machine Debug Manager<br />
Clear Temp Folder and recreate Prefetcher</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type “CMD”</p>
<p>5.       In the command windows type the following:</p>
<p>del  %temp%\*.* /Q<br />
del %windir%\Temp\*.* /Q</p>
<p>del %windir%\Prefetch\*.* /Q<br />
Remove Temporary Installation Files (Hotfixes)</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Open Windows Explorer and navigate to C:\Windows</p>
<p>3.       Make sure “Show hidden Files and Folders” is enabled in the Windows Explorer Options</p>
<p>4.       Remove Files that are compressed and start with a “$” sign EXCEPT the “$hf_mig$” folder!<br />
Examples:<br />
$NtUninstallKB898461$<br />
$NtUninstallKB898463$</p>
<p>Empty Recycle Bin after previous steps</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Right Click the Recycle Bin and select “Empty Recycle Bin”</p>
<p>Defragment the System Drive</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type “CMD”</p>
<p>5.       Type “defrag %SYSTEMDRIVE%”</p>
<p>6.       Hit Enter</p>
<p>Per User Tweaks<br />
Disable Search for Network Folders</p>
<p>1.       Logon with the User Account</p>
<p>2.       Open Windows Explorer</p>
<p>3.       Click “Tools” – “Folder Options”</p>
<p>4.       In the “View” Tab uncheck “Automatically check for network folders and printers”</p>
<p>5.       Click “OK”</p>
<p>Remove Startup Programs</p>
<p>1.       Logon with the User Account</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type %userprofile% and click “OK”</p>
<p>5.       Further navigate to “Start Menu\Programs\Startup” and delete every item in it (except if you really really REALLY(!) need one of them to start with Windows)<br />
Cleanup Desktop</p>
<p>1.       Logon with the User Account</p>
<p>2.       Move Shortcuts (especially the ones that point to network locations) from the desktop to another location. You can also create a Folder (e.g. called “Shortcuts”) on the Desktop and move them in it.<br />
Compress /Split PST Files</p>
<p>1.       Logon with the User Account</p>
<p>2.       Start Outlook</p>
<p>3.       For each Personal Folder File:</p>
<p>a.       Right click the Folder and select “Properties for Personal Folder…”</p>
<p>b.      Click “Advanced”</p>
<p>c.       Click “Compact Now” and wait for the process to finish</p>
<p>d.      Click “OK”</p>
<p>e.      In the Personal Folders Properties window click “Folder Size”</p>
<p>f.        If the Total Size exceeds 1GB, split the PST file into additional PST’s</p>
<p>Enable &#8220;Cached Exchange Mode&#8221; in Outlook (Exchange Users Only)</p>
<p>1.       Open Microsoft Outlook 2003</p>
<p>2.       Click &#8220;Tools&#8221; &#8211; &#8220;E-mail Accounts&#8230;&#8221;</p>
<p>3.       Select &#8220;View or change existing e-mail accounts&#8221; (Selected by default) and click &#8220;Next &gt;&#8221;</p>
<p>4.       Select the &#8220;Microsoft Exchange Server&#8221; Account and click &#8220;Change&#8230;&#8221;</p>
<p>5.       Check the check box &#8220;Use Cached Exchange Mode&#8221; (if not already checked) and click &#8220;Next &gt;&#8221;</p>
<p>6.       Click &#8220;OK&#8221; on the Dialog</p>
<p>7.       Click &#8220;Finish&#8221;</p>
<p>8.       Restart Outlook</p>
<p>Remove the Desktop Wallpaper or use a .jpg image rather than .bmp</p>
<p>1.       Right click somewhere on your Desktop</p>
<p>2.       Select Properties</p>
<p>3.       In the &#8220;Display Properties&#8221; Window select the &#8220;Desktop&#8221; Tab (Second Tab)</p>
<p>4.       In the &#8220;Background&#8221; Selection Field select [None] and click &#8220;OK&#8221;</p>
<p>Use the Windows 2000 Theme instead of the Windows XP default theme</p>
<p>1.       Right click somewhere on your Desktop</p>
<p>2.       Select Properties</p>
<p>3.       In the &#8220;Display Properties&#8221; Window select the &#8220;Themes&#8221; Tab (First Tab)</p>
<p>4.       In the &#8220;Theme&#8221; Drop Down list, select &#8220;Windows Classic&#8221;</p>
<p>5.       Click &#8220;OK&#8221;</p>
<p>6.       Select &#8220;No&#8221; when asked to save your current Theme</p>
<p>*Additionally you can also disable the “Windows Themes” Service</p>
</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Per-Machine Tweaks (Require Admin Rights)<br />
Disable Startup Programs1.       Logon with a User that is a member of the local Administrator Group2.       Click Start3.       Click Run</p>
<p>4.       Type “regedit”</p>
<p>5.       Navigate to:<br />
HKLM\Software\Microsoft\Windows\Current Version\Run</p>
<p>6.       Right Click on the “Run” key and select “Export”</p>
<p>7.       Export the key to a safe location</p>
<p>8.       Delete all Values within the Run Key except CA DSM and McAfee related keys</p>
<p>9.       Repeat step 5 to 8 for the HKCU Hive but also exclude the value ctfmon.exe from deletion<br />
Disable unnecessary Services</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type “services.msc”</p>
<p>5.       Disable the following Services</p>
<p>Error Reporting Service</p>
<p>Help and Support</p>
<p>Machine Debug Manager<br />
Clear Temp Folder and recreate Prefetcher</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type “CMD”</p>
<p>5.       In the command windows type the following:</p>
<p>del  %temp%\*.* /Q<br />
del %windir%\Temp\*.* /Q</p>
<p>del %windir%\Prefetch\*.* /Q<br />
Remove Temporary Installation Files (Hotfixes)</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Open Windows Explorer and navigate to C:\Windows</p>
<p>3.       Make sure “Show hidden Files and Folders” is enabled in the Windows Explorer Options</p>
<p>4.       Remove Files that are compressed and start with a “$” sign EXCEPT the “$hf_mig$” folder!<br />
Examples:<br />
$NtUninstallKB898461$<br />
$NtUninstallKB898463$</p>
<p>Empty Recycle Bin after previous steps</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Right Click the Recycle Bin and select “Empty Recycle Bin”</p>
<p>Defragment the System Drive</p>
<p>1.       Logon with a User that is a member of the local Administrator Group</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type “CMD”</p>
<p>5.       Type “defrag %SYSTEMDRIVE%”</p>
<p>6.       Hit Enter</p>
<p>Per User Tweaks<br />
Disable Search for Network Folders</p>
<p>1.       Logon with the User Account</p>
<p>2.       Open Windows Explorer</p>
<p>3.       Click “Tools” – “Folder Options”</p>
<p>4.       In the “View” Tab uncheck “Automatically check for network folders and printers”</p>
<p>5.       Click “OK”</p>
<p>Remove Startup Programs</p>
<p>1.       Logon with the User Account</p>
<p>2.       Click Start</p>
<p>3.       Click Run</p>
<p>4.       Type %userprofile% and click “OK”</p>
<p>5.       Further navigate to “Start Menu\Programs\Startup” and delete every item in it (except if you really really REALLY(!) need one of them to start with Windows)<br />
Cleanup Desktop</p>
<p>1.       Logon with the User Account</p>
<p>2.       Move Shortcuts (especially the ones that point to network locations) from the desktop to another location. You can also create a Folder (e.g. called “Shortcuts”) on the Desktop and move them in it.<br />
Compress /Split PST Files</p>
<p>1.       Logon with the User Account</p>
<p>2.       Start Outlook</p>
<p>3.       For each Personal Folder File:</p>
<p>a.       Right click the Folder and select “Properties for Personal Folder…”</p>
<p>b.      Click “Advanced”</p>
<p>c.       Click “Compact Now” and wait for the process to finish</p>
<p>d.      Click “OK”</p>
<p>e.      In the Personal Folders Properties window click “Folder Size”</p>
<p>f.        If the Total Size exceeds 1GB, split the PST file into additional PST’s</p>
<p>Enable &#8220;Cached Exchange Mode&#8221; in Outlook (Exchange Users Only)</p>
<p>1.       Open Microsoft Outlook 2003</p>
<p>2.       Click &#8220;Tools&#8221; &#8211; &#8220;E-mail Accounts&#8230;&#8221;</p>
<p>3.       Select &#8220;View or change existing e-mail accounts&#8221; (Selected by default) and click &#8220;Next &gt;&#8221;</p>
<p>4.       Select the &#8220;Microsoft Exchange Server&#8221; Account and click &#8220;Change&#8230;&#8221;</p>
<p>5.       Check the check box &#8220;Use Cached Exchange Mode&#8221; (if not already checked) and click &#8220;Next &gt;&#8221;</p>
<p>6.       Click &#8220;OK&#8221; on the Dialog</p>
<p>7.       Click &#8220;Finish&#8221;</p>
<p>8.       Restart Outlook</p>
<p>Remove the Desktop Wallpaper or use a .jpg image rather than .bmp</p>
<p>1.       Right click somewhere on your Desktop</p>
<p>2.       Select Properties</p>
<p>3.       In the &#8220;Display Properties&#8221; Window select the &#8220;Desktop&#8221; Tab (Second Tab)</p>
<p>4.       In the &#8220;Background&#8221; Selection Field select [None] and click &#8220;OK&#8221;</p>
<p>Use the Windows 2000 Theme instead of the Windows XP default theme</p>
<p>1.       Right click somewhere on your Desktop</p>
<p>2.       Select Properties</p>
<p>3.       In the &#8220;Display Properties&#8221; Window select the &#8220;Themes&#8221; Tab (First Tab)</p>
<p>4.       In the &#8220;Theme&#8221; Drop Down list, select &#8220;Windows Classic&#8221;</p>
<p>5.       Click &#8220;OK&#8221;</p>
<p>6.       Select &#8220;No&#8221; when asked to save your current Theme</p>
<p>*Additionally you can also disable the “Windows Themes” Service</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=269</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WinDirStat: Visual Directory Statistics (Freeware)</title>
		<link>http://www.microtom.net/?p=263</link>
		<comments>http://www.microtom.net/?p=263#comments</comments>
		<pubDate>Sun, 21 Feb 2010 12:57:33 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Free Tools On The Web]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Performance & Health]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=263</guid>
		<description><![CDATA[WinDirStat is a very nice disk usage statistics viewer and cleanup tool for Microsoft Windows. You can get it for free at this location: http://windirstat.info]]></description>
			<content:encoded><![CDATA[<p>WinDirStat is a very nice disk usage statistics viewer and cleanup tool for Microsoft Windows. You can get it for free at this location: <a href="http://windirstat.info" target="_blank">http://windirstat.info</a></p>
<p><a href="http://www.microtom.net/wp-content/uploads/windirstat.jpg"><img class="aligncenter size-medium wp-image-596" title="windirstat" src="http://www.microtom.net/wp-content/uploads/windirstat-300x226.jpg" alt="" width="300" height="226" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=263</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Domain Users / Groups to local Groups remotely</title>
		<link>http://www.microtom.net/?p=562</link>
		<comments>http://www.microtom.net/?p=562#comments</comments>
		<pubDate>Thu, 18 Feb 2010 16:23:27 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Command Line Tools]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Script Repository]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=562</guid>
		<description><![CDATA[Script that adds a Domain User to a local Group remotely. Change the &#8220;DomainName&#8221; variable to suit your requirements. Requires 3 Arguments: [Machine Name] [Local Group to modify] [Domain User/Group to add] ?Download AddToLocalGroup.vbs1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [...]]]></description>
			<content:encoded><![CDATA[<p>Script that adds a Domain User to a local Group remotely.</p>
<p>Change the &#8220;DomainName&#8221; variable to suit your requirements.</p>
<p>Requires 3 Arguments:<br />
[Machine Name] [Local Group to modify] [Domain User/Group to add]</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.microtom.net/wp-content/plugins/wp-codebox/wp-codebox.php?p=562&amp;download=AddToLocalGroup.vbs">AddToLocalGroup.vbs</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5626"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
</pre></td><td class="code" id="p562code6"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">If</span> (WScript.Arguments.Count &lt; 3) <span style="color: #000080;">Then</span>
        WScript.Echo <span style="color: #800000;">&quot;3 Arguments required: [Machine Name] [Local Group to modify] [Domain User/Group to add]&quot;</span>
        WScript.Quit 1
<span style="color: #000080;">End</span> <span style="color: #000080;">If</span>
&nbsp;
<span style="color: #000080;">Dim</span> DomainName
<span style="color: #000080;">Set</span> net = WScript.CreateObject(<span style="color: #800000;">&quot;WScript.Network&quot;</span>)
&nbsp;
DomainName = <span style="color: #800000;">&quot;yourdomain.com&quot;</span>
&nbsp;
WScript.Echo <span style="color: #800000;">&quot;&quot;</span>
WScript.Echo WScript.Arguments(0)
WScript.Echo <span style="color: #800000;">&quot;===================&quot;</span>
&nbsp;
<span style="color: #000080;">set</span> group = GetObject(<span style="color: #800000;">&quot;WinNT://&quot;</span>&amp; WScript.Arguments(0) &amp;<span style="color: #800000;">&quot;/&quot;</span>&amp; WScript.Arguments(1) &amp;<span style="color: #800000;">&quot;&quot;</span>)
&nbsp;
<span style="color: #000080;">on</span> <span style="color: #000080;">error</span> <span style="color: #000080;">resume</span> <span style="color: #000080;">next</span>
&nbsp;
WScript.Echo <span style="color: #800000;">&quot;Before:&quot;</span>
<span style="color: #000080;">For</span> <span style="color: #000080;">Each</span> objUser <span style="color: #000080;">In</span> group.Members
  WScript.Echo objUser.Name
<span style="color: #000080;">next</span>
group.Add <span style="color: #800000;">&quot;WinNT://&quot;</span>&amp; DomainName &amp;<span style="color: #800000;">&quot;/&quot;</span>&amp; WScript.Arguments(2) &amp;<span style="color: #800000;">&quot;&quot;</span>
CheckError
&nbsp;
<span style="color: #000080;">sub</span> CheckError
        <span style="color: #000080;">if</span> <span style="color: #000080;">not</span> err.number=0 <span style="color: #000080;">then</span>
        <span style="color: #000080;">set</span> ole = CreateObject(<span style="color: #800000;">&quot;ole.err&quot;</span>)
                WScript.Echo ole.oleError(err.Number)
                err.clear
        <span style="color: #000080;">else</span>
                WScript.Echo <span style="color: #800000;">&quot;&quot;</span>
                WScript.Echo <span style="color: #800000;">&quot;After:&quot;</span>
                <span style="color: #000080;">For</span> <span style="color: #000080;">Each</span> objUser <span style="color: #000080;">In</span> group.Members
                  WScript.Echo objUser.Name
                <span style="color: #000080;">next</span>
        <span style="color: #000080;">end</span> <span style="color: #000080;">if</span>
<span style="color: #000080;">end</span> <span style="color: #000080;">sub</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=562</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Service Pack Levels of Servers via Active Directory</title>
		<link>http://www.microtom.net/?p=563</link>
		<comments>http://www.microtom.net/?p=563#comments</comments>
		<pubDate>Thu, 18 Feb 2010 16:20:25 +0000</pubDate>
		<dc:creator>microtom</dc:creator>
				<category><![CDATA[Command Line Tools]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Microsoft Active Directory]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Script Repository]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://www.microtom.net/?p=563</guid>
		<description><![CDATA[Script that queries Active Directory to retrieve Service Pack Levels (In this example only from Windows Server 2003 Machines) Modify the strContainer variable to your requirements. ?Download GetServicePacks.vbs1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 &#160; On Error Resume [...]]]></description>
			<content:encoded><![CDATA[<p>Script that queries Active Directory to retrieve Service Pack Levels (In this example only from Windows Server 2003 Machines)<br />
Modify the strContainer variable to your requirements.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.microtom.net/wp-content/plugins/wp-codebox/wp-codebox.php?p=563&amp;download=GetServicePacks.vbs">GetServicePacks.vbs</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5638"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code" id="p563code8"><pre class="vb" style="font-family:monospace;">&nbsp;
<span style="color: #000080;">On</span> <span style="color: #000080;">Error</span> <span style="color: #000080;">Resume</span> <span style="color: #000080;">Next</span>
&nbsp;
<span style="color: #000080;">Const</span> ADS_SCOPE_SUBTREE = 2
strContainer = <span style="color: #800000;">&quot;DC=yourdomain,DC=com&quot;</span>
&nbsp;
<span style="color: #000080;">Set</span> objConnection = CreateObject(<span style="color: #800000;">&quot;ADODB.Connection&quot;</span>)
<span style="color: #000080;">Set</span> objCommand = CreateObject(<span style="color: #800000;">&quot;ADODB.Command&quot;</span>)
objConnection.Provider = (<span style="color: #800000;">&quot;ADsDSOObject&quot;</span>)
objConnection.<span style="color: #000080;">Open</span> <span style="color: #800000;">&quot;Active Directory Provider&quot;</span>
objCommand.ActiveConnection = objConnection
objCommand.Properties(<span style="color: #800000;">&quot;Searchscope&quot;</span>) = ADS_SCOPE_SUBTREE
objCommand.Properties(<span style="color: #800000;">&quot;Page Size&quot;</span>) = 1000
objCommand.CommandText = _
  <span style="color: #800000;">&quot;SELECT CN, operatingSystem, operatingSystemVersion, operatingSystemServicePack FROM 'LDAP://&quot;</span> &amp; strContainer &amp; <span style="color: #800000;">&quot;' &quot;</span> _
   &amp; <span style="color: #800000;">&quot;WHERE objectCategory='computer' AND operatingSystem = 'Windows Server 2003' &quot;</span>
<span style="color: #000080;">Set</span> objRecordSet = objCommand.Execute
objRecordSet.Sort = <span style="color: #800000;">&quot;CN&quot;</span>
objRecordSet.MoveFirst
<span style="color: #000080;">Do</span> <span style="color: #000080;">Until</span> objRecordSet.EOF
  Wscript.Echo objRecordSet.Fields(<span style="color: #800000;">&quot;CN&quot;</span>).Value &amp; <span style="color: #800000;">&quot;,&quot;</span> &amp; objRecordSet.Fields(<span style="color: #800000;">&quot;operatingSystem&quot;</span>).Value &amp; <span style="color: #800000;">&quot;,&quot;</span> &amp; objRecordSet.Fields(<span style="color: #800000;">&quot;operatingSystemVersion&quot;</span>).Value &amp; <span style="color: #800000;">&quot;,&quot;</span> 
  &amp; objRecordSet.Fields(<span style="color: #800000;">&quot;operatingSystemServicePack&quot;</span>).Value
  objRecordSet.MoveNext
<span style="color: #000080;">Loop</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.microtom.net/?feed=rss2&amp;p=563</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
