<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>t3chn1ck</title>
	<atom:link href="http://t3chn1ck.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://t3chn1ck.wordpress.com</link>
	<description>Nick Moseley&#039;s Day-to-Day Technical Journey</description>
	<lastBuildDate>Thu, 16 May 2013 23:20:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='t3chn1ck.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>t3chn1ck</title>
		<link>http://t3chn1ck.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://t3chn1ck.wordpress.com/osd.xml" title="t3chn1ck" />
	<atom:link rel='hub' href='http://t3chn1ck.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SQL Query App-V 5.0 Usage</title>
		<link>http://t3chn1ck.wordpress.com/2013/05/12/sql-query-app-v-5-0-usage/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/05/12/sql-query-app-v-5-0-usage/#comments</comments>
		<pubDate>Mon, 13 May 2013 00:06:24 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[App-V 5.0]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://t3chn1ck.wordpress.com/?p=1171</guid>
		<description><![CDATA[You can use the following query on your App-V 5.0 reporting server database (AppVReporting) to get application usage information for which users ran which software on which systems and when. Filed under: App-V 5.0<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1171&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>You can use the following query on your App-V 5.0 reporting server database (AppVReporting) to get application usage information for which users ran which software on which systems and when.</p>
<pre class="brush: sql; title: ; notranslate">

select distinct username, host_name, app_name, start_time

from dbo.ApplicationUsage APPU

join dbo.ClientInformation CLIINFO on APPU.host_id=CLIINFO.host_id

order by start_time desc

</pre>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/appv_usage.jpg"><img class="alignnone size-full wp-image-1172" alt="appv_usage" src="http://t3chn1ck.files.wordpress.com/2013/05/appv_usage.jpg?w=620&#038;h=271" width="620" height="271" /></a></p>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/app-v-5-0/'>App-V 5.0</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/1171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/1171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1171&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/05/12/sql-query-app-v-5-0-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/appv_usage.jpg" medium="image">
			<media:title type="html">appv_usage</media:title>
		</media:content>
	</item>
		<item>
		<title>Scripting Sybase PowerDesigner Viewer 16.x</title>
		<link>http://t3chn1ck.wordpress.com/2013/05/08/scripting-sybase-powerdesigner-viewer-16-x/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/05/08/scripting-sybase-powerdesigner-viewer-16-x/#comments</comments>
		<pubDate>Wed, 08 May 2013 12:51:33 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[ConfigMgr 07]]></category>
		<category><![CDATA[ConfigMgr 12]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://t3chn1ck.wordpress.com/?p=1167</guid>
		<description><![CDATA[Ran into a curious situation when automating the installation of Sybase PowerDesigner Viewer 16.  If you just want the answer, then jump to the bottom of this post :-) The installer was built as a self-extracting InstallShield setup.  Typically, for a ConfigMgr package I like to use the extracted files.  However, when attempting to run the Setup [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1167&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Ran into a curious situation when automating the installation of <a href="http://www.sap.com/campaign/ne/sybase/powerdesigner16_viewer/index.epx" target="_blank">Sybase PowerDesigner Viewer 16</a>.  If you just want the answer, then jump to the bottom of this post :-)</p>
<p>The installer was built as a self-extracting InstallShield setup.  Typically, for a ConfigMgr package I like to use the extracted files.  However, when attempting to run the Setup of the InstallShield installation, an error was generated that &#8220;setup.cab&#8221; was missing from &#8220;Disk2&#8243;.  <strong>This was issue #1.</strong></p>
<p>Since there was no &#8220;disk 2&#8243;, so I reverted back to just using the native, self-extracting installer.  This appeared like it was going to be fairly simple as all defaults were going to be used.  Most times, just using /s is enough to complete the silent installation.  But no, this would be <em>too </em>easy.  The installation would still not run unattended.  Eventually I discovered that the only way to automate a silent installation was to create and include a setup.iss record file.  Again, this is despite that only the defaults were being used <em>and </em>that a basic setup.iss was already included as part of the extracted files.  <strong>This was issue #2.</strong></p>
<p>So have we finally figured out how to automate the silent install?  Of course not &#8211; there is no reason that a simple application should be so easy to automate.  Running the install as <span style="text-decoration:underline;">PDV_16.exe /s /f1&#8243;setup.iss&#8221;</span> would absolutely install PDV&#8230;when executed manually.  As soon as it was deployed using ConfigMgr, the setup would fail with an error.  Why oh why!?!  Turns out that their installer also hates to be run in System context.  Which is what we all know is how ConfigMgr needs to do it, especially for Task Sequences.  <strong>This was issue #3.</strong></p>
<p>After tussling with this application, I finally figured out that not only is a recorded installation (setup.iss) necessary, but so is specifying a location for the log file!!  <strong>Conclusion? </strong> I despise Sybase installers.  <strong>Answer?</strong>  Use the following command line.</p>
<pre class="brush: plain; title: ; notranslate">PDV_16.exe /s /f1&quot;setup.iss&quot; /f2&quot;c:\windows\temp\pdvsetup.log&quot;</pre>
<p>One last comment.  Make sure the log file is specified in a directory that already exists (such as c:\windows\temp), otherwise you end up with <strong>Issue #4.</strong>  And use a wrapper (such as a batch file) to specify the current working directory of the setup.iss file, otherwise you&#8217;ll end up with <strong>Issue #5.</strong>  If using a batch file, the command would like this for your ConfigMgr package:</p>
<pre class="brush: plain; title: ; notranslate">&quot;%~dp0PDV_16.exe&quot; /s /f1&quot;%~dp0setup.iss&quot; /f2&quot;c:\windows\temp\pdvsetup.log&quot;</pre>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/configmgr-07/'>ConfigMgr 07</a>, <a href='http://t3chn1ck.wordpress.com/category/configmgr-12/'>ConfigMgr 12</a>, <a href='http://t3chn1ck.wordpress.com/category/scripting/'>Scripting</a>, <a href='http://t3chn1ck.wordpress.com/category/troubleshooting/'>Troubleshooting</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/1167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/1167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1167&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/05/08/scripting-sybase-powerdesigner-viewer-16-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up Windows Intune to Manage Android</title>
		<link>http://t3chn1ck.wordpress.com/2013/05/01/setting-up-windows-intune-to-manage-android/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/05/01/setting-up-windows-intune-to-manage-android/#comments</comments>
		<pubDate>Thu, 02 May 2013 03:16:44 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[Windows Intune]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">https://t3chn1ck.wordpress.com/?p=1120</guid>
		<description><![CDATA[Android with Windows Intune Use this guide to help you get started testing management of Android devices with Windows Intune (Wave D) standalone.  This guide assumes Office 365 has been completely set up, configured, and operational for your organization. Create the emulator First and foremost, create an Android emulator.  One of the best guides that I have found [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1120&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<h1>Android with Windows Intune</h1>
<p>Use this guide to help you get started testing management of Android devices with Windows Intune (Wave D) standalone.  This guide assumes Office 365 has been completely set up, configured, and operational for your organization.</p>
<h2>Create the emulator</h2>
<p>First and foremost, create an Android emulator.  One of the best guides that I have found for doing this is at <a href="http://www.javaexperience.com/10-easy-steps-to-install-android-emulator-in-windows/">http://www.javaexperience.com/10-easy-steps-to-install-android-emulator-in-windows/</a>.  Below are the settings that I used for my emulator.</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/emulator.png"><img class="alignnone  wp-image-1132" alt="emulator" src="http://t3chn1ck.files.wordpress.com/2013/05/emulator.png?w=334&#038;h=471" width="334" height="471" /></a></p>
<h2>O365 Mailbox enabled for ActiveSync</h2>
<p>Next, ensure that the user account(s) which will be used for testing the Android devices are enabled for ActiveSync.</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/mailboxactivesync.png"><img class="alignnone  wp-image-1133" alt="MailboxActiveSync" src="http://t3chn1ck.files.wordpress.com/2013/05/mailboxactivesync.png?w=434&#038;h=458" width="434" height="458" /></a></p>
<h2>Enable ActiveSync</h2>
<p>Launch the Email app</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/accsetup01.png"><img class="alignnone  wp-image-1134" alt="AccSetup01" src="http://t3chn1ck.files.wordpress.com/2013/05/accsetup01.png?w=341&#038;h=311" width="341" height="311" /></a></p>
<p>Enter your username@domain.com and password</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/accsetup02.png"><img class="alignnone  wp-image-1135" alt="AccSetup02" src="http://t3chn1ck.files.wordpress.com/2013/05/accsetup02.png?w=341&#038;h=311" width="341" height="311" /></a>­­­</p>
<p>Select Exchange</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/accsetup03.png"><img class="alignnone  wp-image-1136" alt="AccSetup03" src="http://t3chn1ck.files.wordpress.com/2013/05/accsetup03.png?w=341&#038;h=311" width="341" height="311" /></a></p>
<p>Set the domain/username and server as m.outlook.com</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/accsetup04.png"><img class="alignnone  wp-image-1137" alt="AccSetup04" src="http://t3chn1ck.files.wordpress.com/2013/05/accsetup04.png?w=341&#038;h=311" width="341" height="311" /></a></p>
<p>Accept the cert</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/accsetup05.png"><img class="alignnone  wp-image-1138" alt="AccSetup05" src="http://t3chn1ck.files.wordpress.com/2013/05/accsetup05.png?w=341&#038;h=311" width="341" height="311" /></a></p>
<p>Configure settings as desired</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/accsetup06.png"><img class="alignnone  wp-image-1139" alt="AccSetup06" src="http://t3chn1ck.files.wordpress.com/2013/05/accsetup06.png?w=341&#038;h=311" width="341" height="311" /></a></p>
<p>You&#8217;re ready to go!</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/accsetup07.png"><img class="alignnone  wp-image-1140" alt="AccSetup07" src="http://t3chn1ck.files.wordpress.com/2013/05/accsetup07.png?w=341&#038;h=311" width="341" height="311" /></a></p>
<p>Activate the device</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/accsetup08.png"><img class="alignnone  wp-image-1141" alt="AccSetup08" src="http://t3chn1ck.files.wordpress.com/2013/05/accsetup08.png?w=341&#038;h=311" width="341" height="311" /></a></p>
<p>Once the sync has completed, then you&#8217;re connected</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/accsetup09.png"><img class="alignnone  wp-image-1142" alt="AccSetup09" src="http://t3chn1ck.files.wordpress.com/2013/05/accsetup09.png?w=341&#038;h=311" width="341" height="311" /></a></p>
<h2>Exchange Connector (even for O365)</h2>
<p><a href="http://technet.microsoft.com/library/jj733621.aspx">http://technet.microsoft.com/library/jj733621.aspx</a></p>
<p>Download the Exchange Connector from Intune (as this has an additional cert included):</p>
<p>Administration &gt; Mobile Device Management &gt; Microsoft Exchange &gt; Exchange Connector</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/eac01.png"><img class="alignnone  wp-image-1144" alt="EAC01" src="http://t3chn1ck.files.wordpress.com/2013/05/eac01.png?w=372&#038;h=284" width="372" height="284" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/eac02.png"><img class="alignnone  wp-image-1145" alt="EAC02" src="http://t3chn1ck.files.wordpress.com/2013/05/eac02.png?w=302&#038;h=235" width="302" height="235" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/eac03.png"><img class="alignnone  wp-image-1146" alt="EAC03" src="http://t3chn1ck.files.wordpress.com/2013/05/eac03.png?w=369&#038;h=275" width="369" height="275" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/eac04.png"><img class="alignnone  wp-image-1147" alt="EAC04" src="http://t3chn1ck.files.wordpress.com/2013/05/eac04.png?w=366&#038;h=274" width="366" height="274" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/eac05.png"><img class="alignnone  wp-image-1148" alt="EAC05" src="http://t3chn1ck.files.wordpress.com/2013/05/eac05.png?w=368&#038;h=230" width="368" height="230" /></a></p>
<h2>Managing Device Information</h2>
<h4>Confirm device</h4>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/devices01.png"><img class="alignnone  wp-image-1149" alt="devices01" src="http://t3chn1ck.files.wordpress.com/2013/05/devices01.png?w=484&#038;h=212" width="484" height="212" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/devices02.png"><img class="alignnone  wp-image-1150" alt="devices02" src="http://t3chn1ck.files.wordpress.com/2013/05/devices02.png?w=477&#038;h=399" width="477" height="399" /></a></p>
<h3>Create Android Device Group</h3>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_group01.png"><img class="alignnone  wp-image-1151" alt="android_group01" src="http://t3chn1ck.files.wordpress.com/2013/05/android_group01.png?w=484&#038;h=156" width="484" height="156" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_group02.png"><img class="alignnone  wp-image-1152" alt="android_group02" src="http://t3chn1ck.files.wordpress.com/2013/05/android_group02.png?w=484&#038;h=153" width="484" height="153" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_group03.png"><img class="alignnone  wp-image-1153" alt="android_group03" src="http://t3chn1ck.files.wordpress.com/2013/05/android_group03.png?w=484&#038;h=173" width="484" height="173" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_group04.png"><img class="alignnone  wp-image-1154" alt="android_group04" src="http://t3chn1ck.files.wordpress.com/2013/05/android_group04.png?w=484&#038;h=133" width="484" height="133" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_group05.png"><img class="alignnone  wp-image-1155" alt="android_group05" src="http://t3chn1ck.files.wordpress.com/2013/05/android_group05.png?w=496&#038;h=131" width="496" height="131" /></a></p>
<h3>Create Android User Group</h3>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_group06.png"><img alt="android_group06" src="http://t3chn1ck.files.wordpress.com/2013/05/android_group06.png?w=496&#038;h=174" width="496" height="174" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_group07.png"><img alt="android_group07" src="http://t3chn1ck.files.wordpress.com/2013/05/android_group07.png?w=496&#038;h=321" width="496" height="321" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_group08.png"><img alt="android_group08" src="http://t3chn1ck.files.wordpress.com/2013/05/android_group08.png?w=496&#038;h=134" width="496" height="134" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_group09.png"><img alt="android_group09" src="http://t3chn1ck.files.wordpress.com/2013/05/android_group09.png?w=620&#038;h=168" width="620" height="168" /></a></p>
<h3>Create Policy</h3>
<p>“Create and Deploy a Custom Policy”</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_policy01.png"><img class="alignnone  wp-image-1161" alt="android_policy01" src="http://t3chn1ck.files.wordpress.com/2013/05/android_policy01.png?w=496&#038;h=286" width="496" height="286" /></a></p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_policy02.png"><img class="alignnone  wp-image-1162" alt="android_policy02" src="http://t3chn1ck.files.wordpress.com/2013/05/android_policy02.png?w=496&#038;h=360" width="496" height="360" /></a></p>
<p>Set a policy name and require a password changed to require a password</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_policy03.png"><img class="alignnone  wp-image-1163" alt="android_policy03" src="http://t3chn1ck.files.wordpress.com/2013/05/android_policy03.png?w=496&#038;h=498" width="496" height="498" /></a></p>
<p>Deploy the policy</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/05/android_policy04.png"><img class="alignnone  wp-image-1164" alt="android_policy04" src="http://t3chn1ck.files.wordpress.com/2013/05/android_policy04.png?w=496&#038;h=136" width="496" height="136" /></a></p>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/windows-intune/'>Windows Intune</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/1120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/1120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1120&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/05/01/setting-up-windows-intune-to-manage-android/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/emulator.png" medium="image">
			<media:title type="html">emulator</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/mailboxactivesync.png" medium="image">
			<media:title type="html">MailboxActiveSync</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/accsetup01.png" medium="image">
			<media:title type="html">AccSetup01</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/accsetup02.png" medium="image">
			<media:title type="html">AccSetup02</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/accsetup03.png" medium="image">
			<media:title type="html">AccSetup03</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/accsetup04.png" medium="image">
			<media:title type="html">AccSetup04</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/accsetup05.png" medium="image">
			<media:title type="html">AccSetup05</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/accsetup06.png" medium="image">
			<media:title type="html">AccSetup06</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/accsetup07.png" medium="image">
			<media:title type="html">AccSetup07</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/accsetup08.png" medium="image">
			<media:title type="html">AccSetup08</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/accsetup09.png" medium="image">
			<media:title type="html">AccSetup09</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/eac01.png" medium="image">
			<media:title type="html">EAC01</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/eac02.png" medium="image">
			<media:title type="html">EAC02</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/eac03.png" medium="image">
			<media:title type="html">EAC03</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/eac04.png" medium="image">
			<media:title type="html">EAC04</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/eac05.png" medium="image">
			<media:title type="html">EAC05</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/devices01.png" medium="image">
			<media:title type="html">devices01</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/devices02.png" medium="image">
			<media:title type="html">devices02</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_group01.png" medium="image">
			<media:title type="html">android_group01</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_group02.png" medium="image">
			<media:title type="html">android_group02</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_group03.png" medium="image">
			<media:title type="html">android_group03</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_group04.png" medium="image">
			<media:title type="html">android_group04</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_group05.png" medium="image">
			<media:title type="html">android_group05</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_group06.png" medium="image">
			<media:title type="html">android_group06</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_group07.png" medium="image">
			<media:title type="html">android_group07</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_group08.png" medium="image">
			<media:title type="html">android_group08</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_group09.png" medium="image">
			<media:title type="html">android_group09</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_policy01.png" medium="image">
			<media:title type="html">android_policy01</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_policy02.png" medium="image">
			<media:title type="html">android_policy02</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_policy03.png" medium="image">
			<media:title type="html">android_policy03</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/05/android_policy04.png" medium="image">
			<media:title type="html">android_policy04</media:title>
		</media:content>
	</item>
		<item>
		<title>Ping Transport Failed with Error 1231</title>
		<link>http://t3chn1ck.wordpress.com/2013/03/30/ping-transport-failed-error-1231/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/03/30/ping-transport-failed-error-1231/#comments</comments>
		<pubDate>Sat, 30 Mar 2013 12:03:21 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[Miscellaneous Ramblings]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://t3chn1ck.wordpress.com/?p=1051</guid>
		<description><![CDATA[Recently I was helping a friend with her laptop which suddenly stopped connecting to the Internet, despite that the wireless networking could see and successfully connect to wireless hotspots. In further troubleshooting, I noticed that the correct IP address range (192.168.0.x) was not handed out by the router&#8217;s DNS. Furthermore, when attempting to ping the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1051&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Recently I was helping a friend with her laptop which suddenly stopped connecting to the Internet, despite that the wireless networking could see and successfully connect to wireless hotspots. In further troubleshooting, I noticed that the correct IP address range (192.168.0.x) was not handed out by the router&#8217;s DNS. Furthermore, when attempting to ping the router&#8217;s gateway (192.168.0.1) with &#8220;<strong>Ping Transport Failed, Error 1231</strong>&#8220;. Digging through the Internet on this error, I found the possible solution buried deep within a couple Microsoft forum threads. I&#8217;m posting it here so that if it should ever occur again, hopefully the solution is quicker to find!</p>
<ol>
<li>Open a command prompt with Run As Administrator</li>
<li>Run &#8220;netsh winsock reset&#8221;</li>
<li>Restart Windows</li>
</ol>
<p>Now the system is back in business!</p>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/miscellaneous-ramblings/'>Miscellaneous Ramblings</a>, <a href='http://t3chn1ck.wordpress.com/category/troubleshooting/'>Troubleshooting</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/1051/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/1051/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1051&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/03/30/ping-transport-failed-error-1231/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing VMware View Agent in a Task Sequence</title>
		<link>http://t3chn1ck.wordpress.com/2013/03/09/installing-vmware-view-agent-in-a-task-sequence/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/03/09/installing-vmware-view-agent-in-a-task-sequence/#comments</comments>
		<pubDate>Sun, 10 Mar 2013 04:29:23 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[ConfigMgr 12]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Batch Script]]></category>

		<guid isPermaLink="false">http://t3chn1ck.wordpress.com/?p=1039</guid>
		<description><![CDATA[The VMware View agent is deployable as an MSI file and uses basic command line parameters.  However, I recently had significant difficulties with getting it to install within a ConfigMgr Task Sequence as part of an OS image deployment.  Despite that the agent could be installed manually using the parameters, in a TS the installer would fail [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1039&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The VMware View agent is deployable as an MSI file and uses basic command line parameters.  However, I recently had significant difficulties with getting it to install within a ConfigMgr Task Sequence as part of an OS image deployment.  Despite that the agent could be installed manually using the parameters, in a TS the installer would fail (e.g. return a non-success exit code) and thus fail the TS.</p>
<p>Through investigation, the agent&#8217;s install log file (located in %windir%\temp\) stated error 1603 and a message that if failed due to a detected pending restart.  So in the TS, I added a pre-restart command prior to the install&#8230;..but that still did not solve the problem.  Several various other solutions were attempted, but all to no avail.</p>
<p>Eventually I found a <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1029288" target="_blank">VMware KB article </a>which outlined the issue.  It was being caused by multiple registry keys &#8211; FileRenameOperations, Run, and RunOnce.  So I created  a quick batch script to</p>
<ol>
<li>Backup the reg keys to %windir%\temp</li>
<li>Delete the reg keys</li>
<li>Run the install</li>
<li>Restore the reg keys</li>
</ol>
<pre class="brush: plain; title: ; wrap-lines: false; notranslate">
:: Backup problem registry keys for VMware Agent Install
reg.exe EXPORT &quot;HKLM\SYSTEM\CurrentControlSet\Control\Session Manager&quot; c:\windows\temp\hklmsession.reg /y
reg.exe EXPORT &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run&quot; c:\windows\temp\hklmrun.reg /y
reg.exe EXPORT &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot; c:\windows\temp\hklmrunonce.reg /y

:: Delete problematic registry keys
reg.exe DELETE &quot;HKLM\SYSTEM\CurrentControlSet\Control\Session Manager&quot; /v PendingFileRenameOperations /f
reg.exe DELETE &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run&quot; /va /f
reg.exe DELETE &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot; /va /f

:: Install VMware agent
xcopy &quot;%~dp0VMware-viewagent-x86_64-5.0.1-640055.exe&quot; c:\windows\temp /y
c:\windows\temp\VMware-viewagent-x86_64-5.0.1-640055.exe /s /v&quot; /qn REBOOT=R&quot;

:: Restore registry keys
reg.exe IMPORT c:\windows\temp\hklmsession.reg
reg.exe IMPORT c:\windows\temp\hklmrun.reg
reg.exe IMPORT c:\windows\temp\hklmrunonce.reg

del c:\windows\temp\hklm*.reg
exit
</pre>
<p>However, this still wasn&#8217;t good enough to solve the problem! The .msi needed to be copied locally to execute AND this needed to be run with 64-bit redirection disabled.  It was a mess to figure out and test, but I was able to eventually discover the right combination to have the agent automatically in a Task Sequence!</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/03/vmware_view_agent.jpg"><img class="alignnone size-full wp-image-1044" alt="vmware_view_agent" src="http://t3chn1ck.files.wordpress.com/2013/03/vmware_view_agent.jpg?w=620"   /></a></p>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/configmgr-12/'>ConfigMgr 12</a>, <a href='http://t3chn1ck.wordpress.com/category/scripting/'>Scripting</a>, <a href='http://t3chn1ck.wordpress.com/category/troubleshooting/'>Troubleshooting</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/1039/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/1039/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=1039&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/03/09/installing-vmware-view-agent-in-a-task-sequence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/03/vmware_view_agent.jpg" medium="image">
			<media:title type="html">vmware_view_agent</media:title>
		</media:content>
	</item>
		<item>
		<title>Another copy of Configuration Manager Setup is already running</title>
		<link>http://t3chn1ck.wordpress.com/2013/02/21/another-copy-of-configuration-manager-setup-is-already-running/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/02/21/another-copy-of-configuration-manager-setup-is-already-running/#comments</comments>
		<pubDate>Fri, 22 Feb 2013 04:48:51 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[ConfigMgr 12]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://t3chn1ck.wordpress.com/?p=964</guid>
		<description><![CDATA[Recently built myself a new server for my home lab and decided to build out a new domain. During the setup process of CM12 SP1 (on Win 2012 with SQL 2012 SP1 CU2), the guest VM hung midway through setup and was completely unresponsive.  So I reset the VM and ran the CM12 SP1 setup again &#8211; it only allowed the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=964&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Recently built myself a new server for my home lab and decided to build out a new domain. During the setup process of CM12 SP1 (on Win 2012 with SQL 2012 SP1 CU2), the guest VM hung midway through setup and was completely unresponsive.  So I reset the VM and ran the CM12 SP1 setup again &#8211; it only allowed the site to be uninstalled, which I did.  However after immediately trying to install CM12 again, I received error &#8220;Another copy of Configuration Manager Setup is already running&#8221;.</p>
<p>The fix?</p>
<p>Just restart the server after the uninstall of the site.</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/02/another_cm_setup_running.jpg"><img class="alignnone size-full wp-image-965" alt="another_CM_setup_running" src="http://t3chn1ck.files.wordpress.com/2013/02/another_cm_setup_running.jpg?w=620&#038;h=269" width="620" height="269" /></a></p>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/configmgr-12/'>ConfigMgr 12</a>, <a href='http://t3chn1ck.wordpress.com/category/troubleshooting/'>Troubleshooting</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/964/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/964/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=964&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/02/21/another-copy-of-configuration-manager-setup-is-already-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/02/another_cm_setup_running.jpg" medium="image">
			<media:title type="html">another_CM_setup_running</media:title>
		</media:content>
	</item>
		<item>
		<title>Script to Rename Computer During OSD</title>
		<link>http://t3chn1ck.wordpress.com/2013/02/16/script-to-rename-computer-during-osd/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/02/16/script-to-rename-computer-during-osd/#comments</comments>
		<pubDate>Sat, 16 Feb 2013 15:47:51 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[ConfigMgr 07]]></category>
		<category><![CDATA[ConfigMgr 12]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Task Sequence]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://t3chn1ck.wordpress.com/?p=954</guid>
		<description><![CDATA[In assisting a recent customer implement an upgrade from WinXP to Win7, they requested that the names be changed to fit a new standard as part of the in-place imaging process.  In this particular case, all of the computers had a name that ended with a sequential number (1, 2, 3, &#8230;) plus an &#8220;A&#8221; tacked [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=954&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In assisting a recent customer implement an upgrade from WinXP to Win7, they requested that the names be changed to fit a new standard as part of the in-place imaging process.  In this particular case, all of the computers had a name that ended with a sequential number (1, 2, 3, &#8230;) plus an &#8220;A&#8221; tacked on at the end.  They wanted the &#8220;A&#8221; removed and for the PC name just to end with the sequential number.</p>
<p>This was a pretty easy fix to accomplish through a VBScript which</p>
<ol>
<li>Retrieves the active OSDComputerName task sequence variable</li>
<li>Detects if the last letter is an &#8220;A&#8221;</li>
<li>Truncates the name to remove the &#8220;A&#8221;</li>
<li>Re-sets OSDComputerName to the new value</li>
</ol>
<pre class="brush: vb; title: ; wrap-lines: false; notranslate">

'==========================================================================
' NAME: PCNameStandardization.vbs
' AUTHOR: Nick Moseley, &lt;a href=&quot;http://t3chn1ck.wordpress.com&quot;&gt;http://t3chn1ck.wordpress.com&lt;/a&gt;
' COMMENT: This script will detect if the current computer name ends with ' the letter 'A' so that it can be removed.
'==========================================================================
Option Explicit
Dim oTaskSequence, sComputerName, iNameLength
Set oTaskSequence = CreateObject (&quot;Microsoft.SMS.TSEnvironment&quot;)

sComputerName = ucase(oTaskSequence(&quot;OSDComputerName&quot;)) iNameLength = Len(sComputerName)

If right(sComputerName,1) = &quot;A&quot; Then
oTaskSequence(&quot;OSDComputerName&quot;) = left(sComputerName, iNameLength-1)
  ' The echo statement is not displayed, but rather registered in SMSTS.log
wscript.echo &quot;&gt;&gt;&gt;&gt; Set OSDComputerName from &quot; &amp; sComputerName &amp; &quot; to &quot; &amp; oTaskSequence(&quot;OSDComputerName&quot;)
End If

</pre>
<p>To add this into your task sequence:</p>
<ol>
<li>Put this script into a package for your general OSD Scripts</li>
<li>Ensure you have the step to capture the computer name<br />
<a href="http://t3chn1ck.files.wordpress.com/2013/02/capturewinsettings.jpg"><img class="alignnone size-medium wp-image-955" alt="CaptureWinSettings" src="http://t3chn1ck.files.wordpress.com/2013/02/capturewinsettings.jpg?w=300&#038;h=152" width="300" height="152" /></a></li>
<li>Immediately after the capture windows settings, run the PC Standardization Script<br />
<a href="http://t3chn1ck.files.wordpress.com/2013/02/pcnamestandardization.jpg"><img class="alignnone size-medium wp-image-956" alt="PCNameStandardization" src="http://t3chn1ck.files.wordpress.com/2013/02/pcnamestandardization.jpg?w=300&#038;h=200" width="300" height="200" /></a></li>
<li>On whatever step you have that <a href="http://t3chn1ck.wordpress.com/2009/04/24/script-to-prompt-for-system-name-in-sccm-osd/" target="_blank">prompts for the PC Name</a>, add a condition to not execute if variable OSDComputerName does not exist.  This is so that task sequence will not be held up on the other end waiting for someone to enter a PC name for one you&#8217;ve already set.<br />
<a href="http://t3chn1ck.files.wordpress.com/2013/02/promptpcnamecondition.jpg"><img class="alignnone size-medium wp-image-957" alt="PromptPCNameCondition" src="http://t3chn1ck.files.wordpress.com/2013/02/promptpcnamecondition.jpg?w=300&#038;h=120" width="300" height="120" /></a></li>
<li>Finally &#8211; ensure ConfigMgr environment is configured to automatically resolve conflicting records!  See this as to why <a href="http://t3chn1ck.wordpress.com/2013/02/14/error-initializing-client-registration-0x80040222/">http://t3chn1ck.wordpress.com/2013/02/14/error-initializing-client-registration-0&#215;80040222/</a></li>
</ol>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/configmgr-07/'>ConfigMgr 07</a>, <a href='http://t3chn1ck.wordpress.com/category/configmgr-12/'>ConfigMgr 12</a>, <a href='http://t3chn1ck.wordpress.com/category/scripting/'>Scripting</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/954/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/954/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=954&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/02/16/script-to-rename-computer-during-osd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/02/capturewinsettings.jpg?w=300" medium="image">
			<media:title type="html">CaptureWinSettings</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/02/pcnamestandardization.jpg?w=300" medium="image">
			<media:title type="html">PCNameStandardization</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/02/promptpcnamecondition.jpg?w=300" medium="image">
			<media:title type="html">PromptPCNameCondition</media:title>
		</media:content>
	</item>
		<item>
		<title>Error initializing client registration (0&#215;80040222)</title>
		<link>http://t3chn1ck.wordpress.com/2013/02/14/error-initializing-client-registration-0x80040222/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/02/14/error-initializing-client-registration-0x80040222/#comments</comments>
		<pubDate>Thu, 14 Feb 2013 13:44:51 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[ConfigMgr 07]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[SCCM Client]]></category>

		<guid isPermaLink="false">http://t3chn1ck.wordpress.com/?p=951</guid>
		<description><![CDATA[I recently had a request from a customer to rename their PCs during an in-place upgrade of WinXP to Win7.  I’ve put together some custom scripts to detect the particular qualifying conditions for when the PC needs to be renamed, and these scripts work just fine (this is an upcoming blog post). The problem that I [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=951&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I recently had a request from a customer to rename their PCs during an in-place upgrade of WinXP to Win7.  I’ve put together some custom scripts to detect the particular qualifying conditions for when the PC needs to be renamed, and these scripts work just fine (this is an upcoming blog post).</p>
<p>The problem that I ran into was that after completion of the task sequence, the CM07 client was unable to register with the site server.  Thereby it wouldn&#8217;t receive policies and did not operate.  The client&#8217;s ClientIDManagerStartup.log showed “Error initializing client registration (0&#215;80040222)”.  As part of my troubleshooting, I was able to &#8220;fix&#8221; the client by deleting the old computer record instance and the generate a new GUID on the client.</p>
<p>Credit to one of my colleagues who was able to identify the scenario when I had overlooked it.  The real problem was that since the PC was being renamed, a <a href="http://technet.microsoft.com/en-us/library/bb693963.aspx" target="_blank">Conflicting Record</a> was being created since both the old and new instance had the same hardware ID information.  There are two ways to resolve this situation:</p>
<ol>
<li>Manually resolve the conflicting records</li>
<li>Configure the site to automatically resolve the conflicting records</li>
</ol>
<p>Option 2 is the most desirable since you can set it and forget it&#8230;.so that&#8217;s we did!</p>
<p><a href="http://t3chn1ck.files.wordpress.com/2013/02/conflictingrecords.jpg"><img class="alignnone size-full wp-image-952" alt="conflictingrecords" src="http://t3chn1ck.files.wordpress.com/2013/02/conflictingrecords.jpg?w=620"   /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/configmgr-07/'>ConfigMgr 07</a>, <a href='http://t3chn1ck.wordpress.com/category/troubleshooting/'>Troubleshooting</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/951/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/951/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=951&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/02/14/error-initializing-client-registration-0x80040222/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/02/conflictingrecords.jpg" medium="image">
			<media:title type="html">conflictingrecords</media:title>
		</media:content>
	</item>
		<item>
		<title>Going to MMS 2013!</title>
		<link>http://t3chn1ck.wordpress.com/2013/02/07/going-to-mms-2013/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/02/07/going-to-mms-2013/#comments</comments>
		<pubDate>Fri, 08 Feb 2013 01:52:39 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[Miscellaneous Ramblings]]></category>

		<guid isPermaLink="false">http://t3chn1ck.wordpress.com/?p=939</guid>
		<description><![CDATA[I am glad to say that I am going to MMS 2013&#8230; &#8230;.BUT this time as a speaker!  I&#8217;ve been a long time attendee to this fantastic conference, and now it is my privilege and honor to continue to give back to the community in this way. Augmenting Your Windows Management Strategy with System Center [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=939&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I am glad to say that I am going to MMS 2013&#8230;<br />
&#8230;.<span style="color:#ff0000;"><strong>BUT</strong> </span>this time as a speaker<span style="text-decoration:underline;">!</span>  I&#8217;ve been a long time attendee to this fantastic conference, and now it is my privilege and honor to continue to give back to the community in this way.</p>
<p style="padding-left:30px;"><span style="color:#000080;"><em><strong>Augmenting Your Windows Management Strategy with System Center 2012 Configuration Manager Task Sequences</strong></em></span></p>
<p style="padding-left:30px;"><span style="color:#000080;"><em>Configuration Manager 2012 has simplified Windows management with the new Application model. However, some systems management challenges are too complex for any general-purpose tool. Come learn how to extend your coverage with Task Sequences to manage your Windows environment. We will cover scenarios detailing when to utilize Applications vs. Task Sequences, demonstrations of how to leverage the versatility of Task Sequences, as well as assorted community solutions.</em></span></p>
<p>MMS is the premier conference for learning and advancing in the System Center suite of products (amongst other things).  I highly recommend attending if you can. Early <span style="text-decoration:underline;">bird registration ends next week, February 13</span><sup>th</sup>.  If you do go, be sure to sign up for my session and say hi to me afterwards!  <a href="http://www.2013mms.com/topic/details/UD-B303">http://www.2013mms.com/topic/details/UD-B303</a></p>
<p><a href="http://www.2013mms.com/topic/details/UD-B303"><img alt="mms2013" src="http://t3chn1ck.files.wordpress.com/2013/02/mms2013.jpg?w=597&#038;h=91" width="597" height="91" /></a></p>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/miscellaneous-ramblings/'>Miscellaneous Ramblings</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/939/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/939/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=939&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/02/07/going-to-mms-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>

		<media:content url="http://t3chn1ck.files.wordpress.com/2013/02/mms2013.jpg" medium="image">
			<media:title type="html">mms2013</media:title>
		</media:content>
	</item>
		<item>
		<title>VBScript Disable NIC Power Management Setting</title>
		<link>http://t3chn1ck.wordpress.com/2013/02/05/vbscript-disable-nic-power-management-setting/</link>
		<comments>http://t3chn1ck.wordpress.com/2013/02/05/vbscript-disable-nic-power-management-setting/#comments</comments>
		<pubDate>Wed, 06 Feb 2013 02:55:53 +0000</pubDate>
		<dc:creator>N. Moseley</dc:creator>
				<category><![CDATA[ConfigMgr 07]]></category>
		<category><![CDATA[ConfigMgr 12]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://t3chn1ck.wordpress.com/?p=935</guid>
		<description><![CDATA[The following VBScript will disable NIC power save features. Filed under: ConfigMgr 07, ConfigMgr 12, Scripting<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=935&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The following VBScript will disable NIC power save features.</p>
<pre class="brush: vb; title: ; wrap-lines: false; notranslate">
'==========================================================================
' NAME: SetNetworkPnPCapabilities
' AUTHOR: Nick Moseley , Archstone
' COMMENT: Parses list of available network adapters to then disable power
' save features.  For more info, see Microsoft KB837058
' VERSION HISTORY:
' 1.0 (05/09/2011) - Initial script
' 1.1 (05/10/2011) - Fixed logical bug within the If statement for Wan/Lan
' 2.0 (05/10/2011) - Added logging into registry for future inventory
' 3.0 (08/17/2011) - Commented out changes to disable NIC power save as
'  this needs to be enabled in order to support WOL
'==========================================================================
Option Explicit
Const ForAppending = 8

Dim oShell, oWMI, colNetworkAdapterItems, sNetworkAdapterReg
Set oShell = CreateObject (&quot;WScript.Shell&quot;)
Set oWMI = GetObject(&quot;winmgmts:\\.\root\cimv2&quot;)
Set colNetworkAdapterItems = oWMI.ExecQuery (&quot;Select * from Win32_NetworkAdapter&quot;)
sNetworkAdapterReg = &quot;HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\&quot;

' Logging
Dim oFSO, oVersionLog
Set oFSO = CreateObject (&quot;Scripting.FileSystemObject&quot;)
Set oVersionLog = oFSO.OpenTextFile (&quot;C:\Windows\Version.log&quot;, ForAppending, True)
oVersionLog.WriteLine &quot;Configuration of Network Adapters&quot;
oVersionLog.WriteLine &quot;  =&gt; Started (&quot; &amp; Date &amp; &quot; &quot; &amp; Time &amp; &quot;)&quot;

' Get all objects and take action on network adapters
Dim oItem, sIndexValue, sLomValue
For Each oItem In colNetworkAdapterItems
 If InStr(lcase(oItem.Name),&quot;wan miniport&quot;)=0 _
   And InStr(LCase(oItem.Name),&quot;microsoft isatap&quot;)=0 _
   And Trim(oItem.Name)&lt;&gt;&quot;RAS Async Adapter&quot; _
   And InStr(LCase(oItem.Name),&quot;cisco&quot;)=0 Then
  If oItem.Index &lt; 10 Then
   sIndexValue = &quot;000&quot; &amp; oItem.Index
  Else
   sIndexValue = &quot;00&quot; &amp; oItem.Index
  End If
  
  ' ****************************************
  ' IMPORTANT: NIC power save as needs to be enabled in order to support WOL
  ' Configure/disable Power save on NIC
  oShell.RegWrite sNetworkAdapterReg &amp; sIndexValue &amp; &quot;\PnPCapabilities&quot;, &quot;56&quot;, &quot;REG_DWORD&quot;
  oVersionLog.WriteLine &quot;  =&gt; Disabled network adapter power save on device &quot;&quot;&quot; &amp; oItem.Name &amp; &quot;&quot;&quot;&quot;
  oVersionLog.WriteLine &quot;     Set PnPCapabilities (dword) to 38 in &quot; &amp; sNetworkAdapterReg &amp; sIndexValue
  ' ****************************************
  
  ' Configure/enable WAN/LAN switching
  sLomValue = ReadRegistryKey (sNetworkAdapterReg &amp; sIndexValue, &quot;LOM&quot;)
  If sLomValue&lt;&gt;&quot;1&quot;  And sLomValue&lt;&gt;&quot;null&quot; Then
   oShell.RegWrite sNetworkAdapterReg &amp; sIndexValue &amp; &quot;\LOM&quot;, &quot;1&quot;, &quot;REG_SZ&quot;
   oVersionLog.WriteLine &quot;  =&gt; Enabled WAN/LAN switching on device &quot;&quot;&quot; &amp; oItem.Name &amp; &quot;&quot;&quot;&quot;
   oVersionLog.WriteLine &quot;     Set LOM (string) to &quot;&quot;1&quot;&quot; in &quot; &amp; sNetworkAdapterReg &amp; sIndexValue
  End If  
 End If
Next
' Set registry values for SCCM inventory
oShell.RegWrite &quot;HKLM\Software\CompanyName\Image Info\DisabledNICPowerSave&quot;, &quot;True&quot;, &quot;REG_SZ&quot;

' End
oVersionLog.WriteLine &quot;  =&gt; Completed (&quot; &amp; Date &amp; &quot; &quot; &amp; Time &amp; &quot;)&quot;
WScript.Quit (oVersionLog.Close)

Function ReadRegistryKey (sReadKey, sReadValue)
 On Error Resume Next
 Dim sGetValue
 sGetValue = oShell.RegRead (sReadKey &amp; &quot;\&quot; &amp; sReadValue)
 
 If Err.Number &lt;&gt; 0 Then
  ReadRegistryKey = &quot;null&quot;
 Else
  ReadRegistryKey = cstr(sGetValue)
 End If  
End Function
</pre>
<br />Filed under: <a href='http://t3chn1ck.wordpress.com/category/configmgr-07/'>ConfigMgr 07</a>, <a href='http://t3chn1ck.wordpress.com/category/configmgr-12/'>ConfigMgr 12</a>, <a href='http://t3chn1ck.wordpress.com/category/scripting/'>Scripting</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/t3chn1ck.wordpress.com/935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/t3chn1ck.wordpress.com/935/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=t3chn1ck.wordpress.com&#038;blog=7302713&#038;post=935&#038;subd=t3chn1ck&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://t3chn1ck.wordpress.com/2013/02/05/vbscript-disable-nic-power-management-setting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ea74756411b1b30a661e2fcc7e42f953?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">n1ckmo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
