<?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></title>
	<atom:link href="http://www.erikdejongh.com/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.erikdejongh.com</link>
	<description></description>
	<lastBuildDate>Mon, 23 Jan 2012 20:52:21 +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>Rename a computer to based on Asset Tag or Serial number</title>
		<link>http://www.erikdejongh.com/index.php/2012/01/rename-a-computer-to-based-on-asset-tag-or-serial-number/</link>
		<comments>http://www.erikdejongh.com/index.php/2012/01/rename-a-computer-to-based-on-asset-tag-or-serial-number/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:37:38 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[asset]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[rename]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[vbscript]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1239</guid>
		<description><![CDATA[To rename a computer based on its Asset Tag/Serial number using a script, you can put the following text in a vbs file. I use NL-AMS-WS- preceding the Asset tag to indicate the country (netherlands), city (Amsterdam) and type (Workstation): To use this during deployment you can use the following command:]]></description>
			<content:encoded><![CDATA[<p>To rename a computer based on its Asset Tag/Serial number using a script, you can put the following text in a vbs file. I use NL-AMS-WS- preceding the Asset tag to indicate the country (netherlands), city (Amsterdam) and type (Workstation):</p>
<pre class="brush: plain; title: ; notranslate">'***********************************************************************
'
' Changes the computer name to the computer's serial number/asset tag.
'
'***********************************************************************

strComputer = &quot;.&quot;
Set objWMIService = GetObject(&quot;winmgmts:&quot; &amp; &quot;{impersonationLevel=impersonate}!\\&quot; &amp; strComputer &amp; &quot;\root\cimv2&quot;)

'Part 1 - Acquire serial/service tag number
Set colSMBIOS = objWMIService.ExecQuery (&quot;Select * from Win32_SystemEnclosure&quot;)
For Each objSMBIOS in colSMBIOS
  strSN = objSMBIOS.SerialNumber
  If strSN &lt;&gt; &quot;&quot; Then exit For
Next

'Part 2 - Assign computer name to serial/service tag number
Name = &quot;NL-AMS-WS&quot; &amp; strSN

Set colComputers = objWMIService.ExecQuery (&quot;Select * from Win32_ComputerSystem&quot;)

For Each objComputer in colComputers
    err = objComputer.Rename(name)

if err &lt;&gt; 0 then
wscript.echo &quot;There was an error renaming the machine. Please restart, and try again.&quot;
else
wscript.echo &quot;Machine successfully renamed: &quot; &amp; Name
end if

Next</pre>
<p>To use this during deployment you can use the following command:</p>
<pre class="brush: plain; title: ; notranslate">cscript scriptname.vbs</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2012/01/rename-a-computer-to-based-on-asset-tag-or-serial-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete a folder with too many characters in its name.</title>
		<link>http://www.erikdejongh.com/index.php/2012/01/delete-a-folder-with-too-many-characters-in-its-name/</link>
		<comments>http://www.erikdejongh.com/index.php/2012/01/delete-a-folder-with-too-many-characters-in-its-name/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:24:32 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1235</guid>
		<description><![CDATA[If you want to delete a folder and it gives you the error message: &#8216;Path is too long&#8217;, you can simply keep digging into the folder untill you find a point where it doesn&#8217;t give you the error anymore, or you can create a batch file containing the following text: This script uses RoboCopy, which [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to delete a folder and it gives you the error message: &#8216;Path is too long&#8217;, you can simply keep digging into the folder untill you find a point where it doesn&#8217;t give you the error anymore, or you can create a batch file containing the following text:</p>
<pre class="brush: plain; title: ; notranslate">@echo off
if {%1}=={} @echo Syntax: DelFolder FolderPath&amp;amp;goto :EOF
if not exist %1 @echo Syntax: DelFolder FolderPath - %1 NOT found.&amp;amp;goto :EOF
setlocal
set folder=%1
set MT=&quot;%TEMP%\DelFolder_%RANDOM%&quot;
MD %MT%
RoboCopy %MT% %folder% /MIR
RD /S /Q %MT%
RD /S /Q %folder%
endlocal</pre>
<p>This script uses RoboCopy, which is included in the Microsoft Windows Server 2003 Resource Kit and can be downloaded <a  title="here" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&#038;id=17657" target="_blank">here</a>. It is included in Windows 7.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2012/01/delete-a-folder-with-too-many-characters-in-its-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rename the Administrator account using the command line</title>
		<link>http://www.erikdejongh.com/index.php/2012/01/rename-the-administrator-account-using-the-command-line/</link>
		<comments>http://www.erikdejongh.com/index.php/2012/01/rename-the-administrator-account-using-the-command-line/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:16:11 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1233</guid>
		<description><![CDATA[To rename the Administrator account (or any existing account) in Windows 7 using the command line, execute the following command:]]></description>
			<content:encoded><![CDATA[<p>To rename the Administrator account (or any existing account) in Windows 7 using the command line, execute the following command:</p>
<pre class="brush: plain; title: ; notranslate">wmic useraccount where name='Administrator' call rename name='newname'</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2012/01/rename-the-administrator-account-using-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install AD-DS Tools</title>
		<link>http://www.erikdejongh.com/index.php/2012/01/install-ad-ds-tools/</link>
		<comments>http://www.erikdejongh.com/index.php/2012/01/install-ad-ds-tools/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:14:12 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1231</guid>
		<description><![CDATA[To install AD-DS Tools in Windows 7, execute the following command:]]></description>
			<content:encoded><![CDATA[<p>To install AD-DS Tools in Windows 7, execute the following command:</p>
<pre class="brush: plain; title: ; notranslate">cmd.exe /c dism /Online /Enable-Feature /FeatureName:RemoteServerAdministrationTools /FeatureName:RemoteServerAdministrationTools-Roles /FeatureName:RemoteServerAdministrationTools-Roles-AD /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns /NoRestart</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2012/01/install-ad-ds-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Windows Firewall</title>
		<link>http://www.erikdejongh.com/index.php/2012/01/disable-windows-firewall/</link>
		<comments>http://www.erikdejongh.com/index.php/2012/01/disable-windows-firewall/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:12:52 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1229</guid>
		<description><![CDATA[To disable the Windows Firewall in Windows 7 execute the following command:]]></description>
			<content:encoded><![CDATA[<p>To disable the Windows Firewall in Windows 7 execute the following command:</p>
<pre class="brush: plain; title: ; notranslate">cmd.exe /c netsh firewall set opmode mode=DISABLE profile=DOMAIN</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2012/01/disable-windows-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable IPv6</title>
		<link>http://www.erikdejongh.com/index.php/2012/01/disable-ipv6/</link>
		<comments>http://www.erikdejongh.com/index.php/2012/01/disable-ipv6/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:11:03 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1227</guid>
		<description><![CDATA[To disable IPv6 in Windows 7 execute the following command:]]></description>
			<content:encoded><![CDATA[<p>To disable IPv6 in Windows 7 execute the following command:</p>
<pre class="brush: plain; title: ; notranslate">cmd.exe /c reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents /t REG_DWORD /d 0xffffffff /f</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2012/01/disable-ipv6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configure Subsystem for UNIX-based Application</title>
		<link>http://www.erikdejongh.com/index.php/2012/01/configure-subsystem-for-unix-based-application/</link>
		<comments>http://www.erikdejongh.com/index.php/2012/01/configure-subsystem-for-unix-based-application/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:09:32 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1225</guid>
		<description><![CDATA[To configure Subsystem for UNIX-based Application in Windows 7 enter the following command:]]></description>
			<content:encoded><![CDATA[<p>To configure Subsystem for UNIX-based Application in Windows 7 enter the following command:</p>
<pre class="brush: plain; title: ; notranslate">cmd.exe /c start /w pkgmgr /iu:SUA</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2012/01/configure-subsystem-for-unix-based-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Remote Registry</title>
		<link>http://www.erikdejongh.com/index.php/2012/01/enable-remote-registry/</link>
		<comments>http://www.erikdejongh.com/index.php/2012/01/enable-remote-registry/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:07:59 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1213</guid>
		<description><![CDATA[To enable the Remote Registry enter the following command:]]></description>
			<content:encoded><![CDATA[<p>To enable the Remote Registry enter the following command:</p>
<pre class="brush: plain; title: ; notranslate">cmd.exe /c sc config RemoteRegistry start= auto</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2012/01/enable-remote-registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>World Order in New York</title>
		<link>http://www.erikdejongh.com/index.php/2012/01/world-order-in-new-york/</link>
		<comments>http://www.erikdejongh.com/index.php/2012/01/world-order-in-new-york/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 13:43:10 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Muziek]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1215</guid>
		<description><![CDATA[Love this clip]]></description>
			<content:encoded><![CDATA[<p>Love this clip</p>
<p><a  href="http://www.erikdejongh.com/index.php/2012/01/world-order-in-new-york/"><em>Click here to view the embedded video.</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2012/01/world-order-in-new-york/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Music and Cards</title>
		<link>http://www.erikdejongh.com/index.php/2011/11/music-and-cards/</link>
		<comments>http://www.erikdejongh.com/index.php/2011/11/music-and-cards/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 11:14:16 +0000</pubDate>
		<dc:creator>Erik de Jongh</dc:creator>
				<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://www.erikdejongh.com/?p=1210</guid>
		<description><![CDATA[Justin Flom&#8217;s Card Hit Wonder]]></description>
			<content:encoded><![CDATA[<p>Justin Flom&#8217;s Card Hit Wonder<br />
<p><a  href="http://www.erikdejongh.com/index.php/2011/11/music-and-cards/"><em>Click here to view the embedded video.</em></a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.erikdejongh.com/index.php/2011/11/music-and-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

