<?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"
	>

<channel>
	<title>Something Wicked This Way Comes</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/system-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/system-administration</link>
	<description></description>
	<pubDate>Thu, 15 Jan 2009 16:27:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Windows Batch File to Backup Internet Explorer Favorites</title>
		<link>http://itknowledgeexchange.techtarget.com/system-administration/windows-batch-file-to-backup-internet-explorer-favorites/</link>
		<comments>http://itknowledgeexchange.techtarget.com/system-administration/windows-batch-file-to-backup-internet-explorer-favorites/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 16:14:20 +0000</pubDate>
		<dc:creator>Spencer Kuziw</dc:creator>
		
		<category><![CDATA[Add new tag]]></category>

		<category><![CDATA[Internet Explorer]]></category>

		<category><![CDATA[Batch]]></category>

		<category><![CDATA[Favorites]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Group Policy]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/system-administration/?p=36</guid>
		<description><![CDATA[Here is a quick batch file I wrote to copy Microsoft Internet Explorer Favorites to another location. Fill in the BACKUPPATH variable and stick it in a Group Policy logon (or logoff) script to make sure that users have a backup of the bookmarks.
PLAIN TEXT
CODE:




@echo off


rem -----------------------------------------------------------------


rem backup-iefavs.bat


rem Copies Internet Explorer Favorites to another location


rem [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick batch file I wrote to copy Microsoft Internet Explorer Favorites to another location. Fill in the BACKUPPATH variable and stick it in a Group Policy logon (or logoff) script to make sure that users have a backup of the bookmarks.</p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showCodeTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">@echo off</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rem -----------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rem backup-iefavs.<span style="">bat</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rem Copies Internet Explorer Favorites to another location</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rem written by Spencer Kuziw <span style="color:#006600; font-weight:bold;">&#40;</span>s.<span style="">kuziw</span>-at-epic-dot-ca<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rem -----------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rem VARIABLES</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rem Path to Backup Location <span style="color:#006600; font-weight:bold;">&#40;</span>no quotes necessary for log names<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rem can be a local path or UNC</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">set BACKUPPATH=%USERPROFILE%\Desktop\Very Long Name This Is</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">:copy</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">xcopy <span style="color:#CC0000;">"%USERPROFILE%<span style="color:#000099; font-weight:bold;">\f</span>avorites"</span> <span style="color:#CC0000;">"%BACKUPPATH%<span style="color:#000099; font-weight:bold;">\f</span>avorites"</span> /i /t /y</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">xcopy <span style="color:#CC0000;">"%USERPROFILE%<span style="color:#000099; font-weight:bold;">\f</span>avorites"</span> <span style="color:#CC0000;">"%BACKUPPATH%<span style="color:#000099; font-weight:bold;">\f</span>avorites"</span> /e /i /y</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">:eof </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/system-administration/windows-batch-file-to-backup-internet-explorer-favorites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VBScript to Delete Files in a Directory Older Than X Days</title>
		<link>http://itknowledgeexchange.techtarget.com/system-administration/vbscript-to-delete-files-in-a-directory-older-than-x-days/</link>
		<comments>http://itknowledgeexchange.techtarget.com/system-administration/vbscript-to-delete-files-in-a-directory-older-than-x-days/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 15:59:28 +0000</pubDate>
		<dc:creator>Spencer Kuziw</dc:creator>
		
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/system-administration/?p=25</guid>
		<description><![CDATA[I recently needed to whip up a quick script to delete all files in a directory that were older than X number of days. Hopefully it is something that you can use, too. Copy the code and paste it into a text file named something like "cleanup-folder.vbs" and set the variables for strDir (the absolute [...]]]></description>
			<content:encoded><![CDATA[<p>I recently needed to whip up a quick script to delete all files in a directory that were older than X number of days. Hopefully it is something that you can use, too. Copy the code and paste it into a text file named something like "cleanup-folder.vbs" and set the variables for strDir (the absolute path to the directory) and strDays (files older than this number of days will be deleted).</p>
<div class="igBar"><span id="lcode-4"><a href="#" onclick="javascript:showCodeTxt('code-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-4">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">' ################################################################</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">'</span> # cleanup-folder.<span style="">vbs</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">' #</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">'</span> # Removes all files older than <span style="color:#800000;color:#800000;">1</span> week</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">' # Authored by Spencer Kuziw (s.kuziw-at-epic.ca)</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">'</span> # Based on code by YellowShoe</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">' # Version 1.0 - Sept 23 2008</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">'</span> ################################################################</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Dim fso, f, f1, fc, strComments, strScanDir</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">' user variables</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">'</span> ----------------------------------------------------------------</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">strDir = <span style="color:#CC0000;">"FULL<span style="color:#000099; font-weight:bold;">\P</span>ATH<span style="color:#000099; font-weight:bold;">\T</span>O<span style="color:#000099; font-weight:bold;">\F</span>OLDER<span style="color:#000099; font-weight:bold;">\T</span>O<span style="color:#000099; font-weight:bold;">\B</span>E<span style="color:#000099; font-weight:bold;">\C</span>LEANED"</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">strDays = <span style="color:#800000;color:#800000;">7</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">' DO NOT EDIT BELOW THIS LINE</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">'</span> <span style="color:#006600; font-weight:bold;">&#40;</span>unless you know what you are doing<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">'------------------------------------------------------------------</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;"></li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">Set f = fso.GetFolder(strDir)</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">Set fc = f.Files</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;"></li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">For Each f1 in fc</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">&nbsp; &nbsp; &nbsp; If DateDiff(&quot;d&quot;, f1.DateCreated, Date)&amp;gt; strDays Then</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '</span>strComments = strComments &amp;amp; f1.<span style="">name</span> &amp;amp; <span style="color:#CC0000;">" "</span> &amp;amp; f1.<span style="">DateCreated</span> &amp;amp; vbCrLf</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fso.<span style="">DeleteFile</span><span style="color:#006600; font-weight:bold;">&#40;</span>f1<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; End If</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Next</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">'wscript.echo strComments</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;"></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">WScript.Quit</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">'</span> eof </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/system-administration/vbscript-to-delete-files-in-a-directory-older-than-x-days/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My First Few Days with VMware ThinApp and Office 2007</title>
		<link>http://itknowledgeexchange.techtarget.com/system-administration/my-first-few-days-with-vmware-thinapp-and-office-2007/</link>
		<comments>http://itknowledgeexchange.techtarget.com/system-administration/my-first-few-days-with-vmware-thinapp-and-office-2007/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 19:01:14 +0000</pubDate>
		<dc:creator>Spencer Kuziw</dc:creator>
		
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/system-administration/?p=16</guid>
		<description><![CDATA[Recently, I was tasked with an Office 2007 rollout for a client. The client’s workstations currently had a mix of Office 2003 and Office XP installed and a mix of Vista, XP and Server 2008 operating systems. Also, some users wanted to keep their old versions of Office, so I was going to have to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I was tasked with an Office 2007 rollout for a client. The client’s workstations currently had a mix of Office 2003 and Office XP installed and a mix of Vista, XP and Server 2008 operating systems. Also, some users wanted to keep their old versions of Office, so I was going to have to be selective in the deployment. I had no other software deployment tools at my disposal, so I was stuck using Group Policy to push out this upgrade. In the past, I have not had the best success upgrading to Office 2007 using the Software Installation feature of Group Policy and had been resigned to using a GP logon script to perform the installation instead. The installation script I had written was going to need a lot of modification in order to work with the different variables I outlined above. Then I remembered reading about a new application virtualization product from VMware called ThinApp.</p>
<p>Application virtualization is software that improves the portability, manageability and compatibility of applications by abstracting them from the underlying operating system. VMware ThinApp provides a bunch of advantages over traditional application installations, but in the scope of this particular project, the advantages were Application isolation and Active Directory integration.</p>
<p>Application isolation enables the rollout of the Office 2007 package to all workstations, but still allowed users who prefer their older Office revisions to run their preferred version. Multiple versions of an application can co-exist when virtualized with ThinApp.</p>
<p>ThinApp does not use a management server of its own. Instead, it uses standard Windows functionality. Upgrades to packages are via either http or cifs shares and installations are performed using Group Policy’s Software Installation</p>
<p>I am currently in the testing phase of the deployment and am working off the following documents:</p>
<ul>
<li><a href="http://blogs.vmware.com/thinapp/2008/10/how-to-make-a-t.html">How to Make a ThinApp Application Package</a></li>
<li><a href="http://blogs.vmware.com/thinapp/2008/10/how-to-thinap-1.html">Step by Step Instructions on How to ThinApp Microsoft Office 2007</a></li>
</ul>
<p>I’ll be writing more about my finding on this project soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/system-administration/my-first-few-days-with-vmware-thinapp-and-office-2007/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
<!-- dynamic -->