<?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>mike says things sometimes &#187; windows</title>
	<atom:link href="http://blueglowy.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blueglowy.com</link>
	<description>omg where am I I AM NOT GOOD WITH COMPUTERS</description>
	<lastBuildDate>Sun, 01 Apr 2012 01:18:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Win7 Install</title>
		<link>http://blueglowy.com/2009/09/09/win7-install/</link>
		<comments>http://blueglowy.com/2009/09/09/win7-install/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 03:30:47 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blueglowy.com/2009/09/09/win7-install/</guid>
		<description><![CDATA[I just really wanted to mention how much I &#60;3 the win7 installer.&#160; Iâ€™ve got a GX620 optiplex in the house that I realized had no cd-rom, and wouldnâ€™t boot from a flash drive, so i copied the win7 install files from my flash drive to an NTFS formatted usb hard drive, and it installed [...]]]></description>
			<content:encoded><![CDATA[<p>I just really wanted to mention how much I &lt;3 the win7 installer.&#160; Iâ€™ve got a GX620 optiplex in the house that I realized had no cd-rom, and wouldnâ€™t boot from a flash drive, so i copied the win7 install files from my flash drive to an NTFS formatted usb hard drive, and it installed wicked fast.</p>
<p>Win7 is full of win and love and butter.</p>
]]></content:encoded>
			<wfw:commentRss>http://blueglowy.com/2009/09/09/win7-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Monitoring</title>
		<link>http://blueglowy.com/2008/05/09/network-monitoring/</link>
		<comments>http://blueglowy.com/2008/05/09/network-monitoring/#comments</comments>
		<pubDate>Fri, 09 May 2008 23:48:51 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blueglowy.com/?p=102</guid>
		<description><![CDATA[Ok, so normally i&#8217;m not a product whore, but I found a really neat tool for monitoring windows servers at www.poweradmin.com I&#8217;ve loaded it up on our data server and it enables all kinds of monitoring and notification options. I&#8217;m gonna keep it monitoring this server for a bit, and if it seems to stay [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so normally i&#8217;m not a product whore, but I found a really neat tool for monitoring windows servers at www.poweradmin.com</p>
<p>I&#8217;ve loaded it up on our data server and it enables all kinds of monitoring and notification options.  I&#8217;m gonna keep it monitoring this server for a bit, and if it seems to stay as good as it looks now, I&#8217;ll add more servers to my monitoring.  The all in one place monitoring is slightly awesomesauce as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://blueglowy.com/2008/05/09/network-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto remove old accounts from AD</title>
		<link>http://blueglowy.com/2008/03/24/auto-remove-old-accounts-from-ad/</link>
		<comments>http://blueglowy.com/2008/03/24/auto-remove-old-accounts-from-ad/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 22:36:44 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blueglowy.com/2008/03/24/auto-remove-old-accounts-from-ad/</guid>
		<description><![CDATA[From Scott Lowe: http://blog.scottlowe.org/2006/05/19/semi-automatic-account-maintenance/ Continuing in my â€œsemi-automaticâ€ theme, hereâ€™s some information on using command-line utilities to help automate account maintenance.Â  By combining dsquery and a third-party replacement for Dsmove (since Dsmove has some problems), we can streamline account maintenance policies for Active Directory. First, the problem with Dsmove.Â  The Dsmove.exe utility is supposed to [...]]]></description>
			<content:encoded><![CDATA[<p class="entry">From Scott Lowe:</p>
<p>http://blog.scottlowe.org/2006/05/19/semi-automatic-account-maintenance/</p>
<p>Continuing in my â€œsemi-automaticâ€ theme, hereâ€™s some information on using command-line utilities to help automate account maintenance.Â  By combining dsquery and a third-party replacement for Dsmove (since Dsmove has some problems), we can streamline account maintenance policies for Active Directory.</p>
<p>First, the problem with Dsmove.Â  The Dsmove.exe utility is supposed to be able to take DNs on standard input (stdin) and move them (with or without a rename operation at the same time) to a new location in Active Directory.Â  Unfortunately, it doesnâ€™t work; for some reason, Dsmove wonâ€™t accept the output of Dsquery, even though that output works with Dsmod and Dsrm.Â  I found numerous references to this same problem (<a href="http://www.codecomments.com/archive305-2004-4-163477.html">hereâ€™s one</a>) via a <a href="http://www.google.com/search?hl=en&amp;q=dsmove+pipe+dsquery&amp;btnG=Google+Search">Google search</a>, so I know Iâ€™m not alone.</p>
<p>Fortunately, thereâ€™s a free third-party replacement that steps up to the plate to fill in for dsmove, and itâ€™s call <a href="http://www.joeware.net/win/free/tools/admod.htm">AdMod</a>.Â  AdMod does more than just move objects; it can also modify objects as well.Â  For our purposes, however, weâ€™re just going to use it to move objects.</p>
<p>Weâ€™ll start out with the Dsquery command again, this time to find inactive accounts:</p>
<pre>dsquery user -inactive 4</pre>
<p>This will find all the user accounts have have been inactive (not logged into) for more than 4 weeks.Â  Pipe this into the Dsmod command to automatically disable them:</p>
<pre>dsquery user -inactive 4 | dsmod user -disabled yes</pre>
<p>This ensures that any account that has not been used in more than 4Â weeks will be automatically disabled.Â  Now, we can bring in AdMod to help us keep those disabled accounts manageable:</p>
<pre>dsquery user -disabled | admod -move â€œou=Disabled
Accounts,dc=example,dc=netâ€ -safety 100</pre>
<p>This will automatically gather all the disabled accounts and move them into the Disabled Accounts OU automatically.Â  Note the â€œ-safety 100â€ parameter; this means that if more than 100 objects will be affected, the command wonâ€™t proceed.Â  This can be replaced with the â€œ-unsafeâ€ parameter if this fail-safe isnâ€™t necessary.</p>
<p>So, put this into a batch file, schedule it to run once a week, and it will take care of those inactive accounts that are no longer being used.Â  (This will make those security guys pretty happy.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blueglowy.com/2008/03/24/auto-remove-old-accounts-from-ad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Scriptomatic</title>
		<link>http://blueglowy.com/2008/03/24/ms-scriptomatic/</link>
		<comments>http://blueglowy.com/2008/03/24/ms-scriptomatic/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 22:22:25 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blueglowy.com/2008/03/24/ms-scriptomatic/</guid>
		<description><![CDATA[Must remember to check this out at some point in the future: Microsoft TechNet: Scriptomatic Tool]]></description>
			<content:encoded><![CDATA[<p>Must remember to check this out at some point in the future:</p>
<p><a href="http://www.microsoft.com/technet/scriptcenter/tools/wmimatic.mspx">Microsoft TechNet: Scriptomatic Tool</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blueglowy.com/2008/03/24/ms-scriptomatic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2k3 Admin Pack in Vista</title>
		<link>http://blueglowy.com/2008/03/24/2k3-admin-pack-in-vista/</link>
		<comments>http://blueglowy.com/2008/03/24/2k3-admin-pack-in-vista/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 22:05:57 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blueglowy.com/2008/03/24/2k3-admin-pack-in-vista/</guid>
		<description><![CDATA[In case you hadn&#8217;t noticed (Or like me aren&#8217;t using Vista and don&#8217;t really care yet) the windows 2k3 admin pack doesn&#8217;t work with Vista.Â  That&#8217;s because MS fails at registering DLL&#8217;s. Thankfully, one poor soul at MS helpfully solved the issue, and MS has given us a fairly simple fix: http://support.microsoft.com/default.aspx/kb/930056 Relevant portion below [...]]]></description>
			<content:encoded><![CDATA[<p>In case you hadn&#8217;t noticed (Or like me aren&#8217;t using Vista and don&#8217;t really care yet) the windows 2k3 admin pack doesn&#8217;t work with Vista.Â  That&#8217;s because MS fails at registering DLL&#8217;s.</p>
<p>Thankfully, one poor soul at MS helpfully solved the issue, and MS has given us a fairly simple fix:</p>
<p>http://support.microsoft.com/default.aspx/kb/930056</p>
<p>Relevant portion below as MS likes to move their KB articles around over time:</p>
<p>To resolve this issue, register the Windows Server 2003 management tools on a domain user account. To do this, follow these steps:</p>
<table class="list ol">
<tr>
<td class="number">1.</td>
<td class="text">Log on to Windows Vista as a user who has local administrator permissions.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">Create the RegisterAdminPak.cmd script. To do this, follow these steps:</p>
<table class="list al">
<tr>
<td class="number">a.</td>
<td class="text">Start Notepad, and then open a blank document.</td>
</tr>
<tr>
<td class="number">b.</td>
<td class="text">Paste the following code to the document in Notepad:<code></code></p>
<pre class="code">@echo off

REM RegisterAdminPak.cmd
REM (c) 2006 Microsoft Corporation.  All rights reserved.

set filelist=adprop.dll azroles.dll azroleui.dll ccfg95.dll
set filelist=%filelist% certadm.dll certmmc.dll certpdef.dll certtmpl.dll
set filelist=%filelist% certxds.dll cladmwiz.dll clcfgsrv.dll clnetrex.dll
set filelist=%filelist% cluadmex.dll cluadmmc.dll cmproxy.dll cmroute.dll
set filelist=%filelist% cmutoa.dll cnet16.dll debugex.dll dfscore.dll
set filelist=%filelist% dfsgui.dll dhcpsnap.dll dnsmgr.dll domadmin.dll
set filelist=%filelist% dsadmin.dll dsuiwiz.dll imadmui.dll lrwizdll.dll
set filelist=%filelist% mprsnap.dll msclus.dll mstsmhst.dll mstsmmc.dll
set filelist=%filelist% nntpadm.dll nntpapi.dll nntpsnap.dll ntdsbsrv.dll
set filelist=%filelist% ntfrsapi.dll rasuser.dll rigpsnap.dll rsadmin.dll
set filelist=%filelist% rscommon.dll rsconn.dll rsengps.dll rsjob.dll
set filelist=%filelist% rsservps.dll rsshell.dll rssubps.dll rtrfiltr.dll
set filelist=%filelist% schmmgmt.dll tapisnap.dll tsuserex.dll vsstskex.dll
set filelist=%filelist% w95inf16.dll w95inf32.dll winsevnt.dll winsmon.dll
set filelist=%filelist% winsrpc.dll winssnap.dll ws03res.dll

for %%i in (%filelist%) do (
	echo Registering %%i ...
	regsvr32 /s %%i
)

echo.
Echo Command Completed</pre>
</td>
</tr>
<tr>
<td class="number">c.</td>
<td class="text">On the <strong class="uiterm">File</strong> menu, click <strong class="uiterm">Save</strong>.</td>
</tr>
<tr>
<td class="number">d.</td>
<td class="text">In the <strong class="uiterm">Save as type</strong> box, click <strong class="uiterm">All Files</strong>, type <span class="userInput">C:\Users\<var>UserAccountName</var>\RegisterAdminPak.cmd</span> in the <strong class="uiterm">File name</strong> box, and then click <strong class="uiterm">Save</strong>.</p>
<p><strong>Notes </strong><br />
<var>UserAccountName</var> represents the folder name of the user who is currently logged in.</p>
<p>You must run this script in Windows Vista only.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">Run RegisterAdminPak.cmd from an elevated command prompt.  To do this, follow these steps:</p>
<table class="list al">
<tr>
<td class="number">a.</td>
<td class="text">Click <strong class="uiterm">Start</strong><img src="http://support.microsoft.com/library/images/support/kbgraphics/Public/EN-US/VistaStartButton.jpg" class="graphic" alt="the Start button" title="the Start button" />, click <strong class="uiterm">All Programs</strong>, click <strong class="uiterm">Accessories</strong>, right-click <strong class="uiterm">Command Prompt</strong>, and then click <strong class="uiterm">Run as administrator</strong>.</p>
<p><img src="http://support.microsoft.com/library/images/support/kbgraphics/Public/EN-US/SecurityShield.jpg" class="graphic" alt="User Account Control permission" title="User Account Control permission" /> If you are prompted for an administrator password or for confirmation, type your password, or click <strong class="uiterm">Continue</strong>.</td>
</tr>
<tr>
<td class="number">b.</td>
<td class="text">At the command prompt, type the following command, and then press ENTER.</p>
<p><strong>Note</strong>  If you are running a 64-bit version of Windows Vista, type <span class="userInput">cd %systemroot%\syswow64</span>  before you run the following command.</p>
<p class="indent"><span class="userInput">C:\Users\<var>UserAccountName</var>\RegisterAdminPak.cmd</span></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blueglowy.com/2008/03/24/2k3-admin-pack-in-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>adhoc network drive mapping</title>
		<link>http://blueglowy.com/2008/03/24/adhoc-network-drive-mapping/</link>
		<comments>http://blueglowy.com/2008/03/24/adhoc-network-drive-mapping/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 21:41:58 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blueglowy.com/2008/03/24/adhoc-network-drive-mapping/</guid>
		<description><![CDATA[As I&#8217;m working to consolidate the neat tips I find for a future wiki at work, here&#8217;s another neat one: There is a feature in Windows XP and Vista that not many people know which can save you endless hours and itâ€™s called pushd. From the command-line if you type: pushd \\someserver\someshare\somedirectory Then Windows will [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m working to consolidate the neat tips I find for a future wiki at work, here&#8217;s another neat one:</p>
<p>There is a feature in Windows XP and Vista that not many people know which can save you endless hours and itâ€™s called <strong>pushd</strong>.</p>
<p>From the command-line if you type:</p>
<p>pushd \\someserver\someshare\somedirectory</p>
<p>Then Windows will automatically map a temporary drive to \\someserver\someshare, change to that drive, then change directory to somedirectory.</p>
<p>When youâ€™re finished you can then type:</p>
<p>popd</p>
<p>Then Windows will change back to your original working directory and remove the mapped drive.</p>
<p>Here is an example:</p>
<p>C:\Temp\&gt; pushd \\someserver\someshare\somedirectory<br />
X:\somedirectory\&gt; del somefile.txt<br />
X:\somedirectory\&gt; popd<br />
C:\Temp\ &gt;</p>
<p>Found at:</p>
<p>http://blog.bartholomew.id.au/2007/12/19/adhoc-mapping-of-network-drives</p>
]]></content:encoded>
			<wfw:commentRss>http://blueglowy.com/2008/03/24/adhoc-network-drive-mapping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

