<?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>Support IS =&#62; Here &#60;=</title>
	<atom:link href="http://supportishere.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://supportishere.com</link>
	<description>MDT Imaging Support Expert Advice</description>
	<lastBuildDate>Fri, 17 Feb 2012 23:41:12 +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>2 simple vbs scripts to disable Number Lock for Windows 7 and Windows XP</title>
		<link>http://supportishere.com/2-simple-vbs-scripts-to-disable-number-lock-for-windows-7-and-windows-xp/</link>
		<comments>http://supportishere.com/2-simple-vbs-scripts-to-disable-number-lock-for-windows-7-and-windows-xp/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 23:41:12 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://supportishere.com/?p=335</guid>
		<description><![CDATA[Just two simple scripts I wrote up to disable number lock on Windows 7 and Windows XP. They import the Default hive and then set the InitialKeyIndicator setting to &#8220;0&#8243;. Win XP Script: 1 2 3 4 5 6 7 8 9 10 11 12 On Error Resume Next '==========VARIABLE ASSIGNMENTS========================= Dim objFSO, objShell, sCurPath [...]]]></description>
			<content:encoded><![CDATA[<p>Just two simple scripts I wrote up to disable number lock on Windows 7 and Windows XP.  They import the Default hive and then set the InitialKeyIndicator setting to &#8220;0&#8243;.</p>
<p>Win XP Script:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #8D38C9; font-weight: bold;">Next</span>
<span style="color: #008000;">'==========VARIABLE ASSIGNMENTS=========================
</span><span style="color: #151B8D; font-weight: bold;">Dim</span> objFSO, objShell, sCurPath
<span style="color: #151B8D; font-weight: bold;">Set</span> objShell = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;WScript.Shell&quot;</span>)
&nbsp;
strCommand = <span style="color: #800000;">&quot;reg load HKLM\defhive &quot;</span><span style="color: #800000;">&quot;C:\Documents and Settings\Default User\NTUSER.DAT&quot;</span><span style="color: #800000;">&quot;&quot;</span>
objShell.Run strCommand, 0, <span style="color: #00C2FF; font-weight: bold;">True</span>
&nbsp;
objShell.RegWrite <span style="color: #800000;">&quot;HKLM\defhive\Control Panel\Keyboard\InitialKeyboardIndicators&quot;</span>, <span style="color: #800000;">&quot;0&quot;</span>
&nbsp;
strCommand = <span style="color: #800000;">&quot;reg unload HKLM\defhive&quot;</span>
objShell.Run strCommand, 0, <span style="color: #00C2FF; font-weight: bold;">True</span></pre></td></tr></table></div>

<p>Win 7 Script:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #8D38C9; font-weight: bold;">Next</span>
<span style="color: #008000;">'==========VARIABLE ASSIGNMENTS=========================
</span><span style="color: #151B8D; font-weight: bold;">Dim</span> objShell, sCurPath, strCommand
<span style="color: #151B8D; font-weight: bold;">Set</span> objShell = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;WScript.Shell&quot;</span>)
&nbsp;
strCommand = <span style="color: #800000;">&quot;reg load HKLM\defhive c:\Users\Default\NTUSER.DAT&quot;</span>
objShell.Run strCommand, 0, <span style="color: #00C2FF; font-weight: bold;">True</span>
&nbsp;
objShell.RegWrite <span style="color: #800000;">&quot;HKLM\defhive\Control Panel\Keyboard\InitialKeyboardIndicators&quot;</span>, <span style="color: #800000;">&quot;0&quot;</span>
&nbsp;
strCommand = <span style="color: #800000;">&quot;reg unload HKLM\defhive&quot;</span>
objShell.Run strCommand, 0, <span style="color: #00C2FF; font-weight: bold;">True</span></pre></td></tr></table></div>

<p>-Brian G.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2F2-simple-vbs-scripts-to-disable-number-lock-for-windows-7-and-windows-xp%2F&amp;title=2%20simple%20vbs%20scripts%20to%20disable%20Number%20Lock%20for%20Windows%207%20and%20Windows%20XP" id="wpa2a_2"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/2-simple-vbs-scripts-to-disable-number-lock-for-windows-7-and-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to apply Local Group Policy settings silently using the ImportRegPol.exe and Apply_LGPO_Delta.exe utilities.</title>
		<link>http://supportishere.com/how-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities/</link>
		<comments>http://supportishere.com/how-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 14:36:04 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[MDT]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Win7]]></category>

		<guid isPermaLink="false">http://supportishere.com/?p=329</guid>
		<description><![CDATA[In many Organizations, the AD support team is separated from the team in charge of Imaging.  The AD team naturally is protective with their setup and fight any GPO setting that would result in more responsibility to their staff.  So that leaves us in some occasions having to turn to Local Group Policy to apply the settings we want. [...]]]></description>
			<content:encoded><![CDATA[<p>In many Organizations, the AD support team is separated from the team in charge of Imaging.  The AD team naturally is protective with their setup and fight any GPO setting that would result in more responsibility to their staff.  So that leaves us in some occasions having to turn to Local Group Policy to apply the settings we want.  I&#8217;ve recently come across some great tools provided by Microsoft (very quietly) for Government usage.  These tools allow you to basically back up your LGPO settings to a txt file and apply them on demand with a script silently.</p>
<p>MS link: http://blogs.technet.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-03-05-16-48/LGPO_2D00_Utilities.zip<br />
BackUp link: https://panaconsulting.egnyte.com/h-s/20120118/077e07ba18c74413</p>
<p>How to use:</p>
<ol>
<li>Apply desired settings on a Windows 7 test machine, using the gpedit.msc MMC snap-in.</li>
<li>Run the &#8220;ImportRegPol.exe&#8221; with the /parseonly and /log to pull settings and save to a specified LOG file.<br />
User settings and machine settings need to be captured separately:<br />
<a href="http://supportishere.com/wp-content/uploads/2012/01/UserSettings.jpg"><img class="size-full wp-image-331 alignnone" title="LGPO User Settings" src="http://supportishere.com/wp-content/uploads/2012/01/UserSettings.jpg" alt="LGPO User Settings" width="291" height="282" /></a><br />
Capture User Example<br />
ImportRegPol.exe /u  C:\Windows\System32\GroupPolicy\User\registry.pol /parseonly /log &lt;PathToSettingsFile&gt;.log<br />
<a href="http://supportishere.com/wp-content/uploads/2012/01/MachineSettings.jpg"><img class="alignnone size-full wp-image-332" title="LGPO Machine Settings" src="http://supportishere.com/wp-content/uploads/2012/01/MachineSettings.jpg" alt="LGPO Machine Settings" width="274" height="254" /></a><br />
Capture Machine Settings Example:<br />
ImportRegPol.exe /m  C:\Windows\System32\GroupPolicy\Machine\registry.pol /parseonly /log &lt;PathToSettingsFile&gt;.log</li>
<li>Use the Apply_LGPO_Delta.exe utility to apply the settings silently.  On restart the settings will take effect.<br />
Apply_LGPO_Delta.exe &lt;PathToSettingsFile&gt;.log /log &lt;PathToLogFile&gt;.log</li>
<li>This can easily be added to an SCCM or MDT Task Sequence and tied to logic to ensure the correct settings get pushed to the appropriate target systems/users.</li>
</ol>
<p><strong>Command Line help for LGPO Tools:</strong></p>
<p><strong>Apply_LGPO_Delta.exe</strong> inputfile0 [inputfile1 ...] [/log LogFile] [/error ErrorLogFile] [/boot]</p>
<p><strong>inputfile<em>N</em></strong>             One or more input files specifying the changes to make.  Input files must be security template files, or registry-based policy files using a custom file format described below.  Apply_LGPO_Delta automatically determines whether a file is a custom policy file or a security template.  Security templates can be created using the “Security Templates” MMC snap-in.</p>
<p><strong>/log</strong> <strong><em>LogFile</em></strong>           Writes detailed results to a log file.  If this option is not specified, output is not logged nor displayed.</p>
<p><strong>/error</strong> <strong><em>ErrorLogFile</em></strong>   Writes error information to a log file.  If this option is not specified, error information is displayed in a message box dialog.</p>
<p><strong>/boot</strong>                  Reboots the computer when done.</p>
<p>&nbsp;</p>
<p><strong>ImportRegPol.exe</strong> –m|-u path\registry.pol [/parseOnly] [/log LogFile] [/error ErrorLogFile] [/boot]</p>
<p><strong>-m <em>path\registry.pol</em></strong>   [for Computer configuration] <em>or</em></p>
<p><strong>-u <em>path\registry.pol</em></strong>   [for User configuration]</p>
<p>Path\registry.pol specifies the absolute or relative path to the input registry policy file (which does not need to be named “registry.pol”).</p>
<p><strong>/parseOnly</strong>             Reads and validates the input file but does not make changes to local group policy.  In conjunction with the /log option, can be used to convert a registry policy file to an input file for Apply_LGPO_Delta.</p>
<p><strong>/log</strong> <strong><em>LogFile</em></strong>           Writes detailed results to a log file.  If this option is not specified, output is not logged nor displayed.  The logged results for the registry policy settings can be used as input for Apply_LGPO_Delta.</p>
<p><strong>/error</strong> <strong><em>ErrorLogFile</em></strong>   Writes error information to a log file.  If this option is not specified, error information is displayed in a message box dialog.</p>
<p><strong>/boot</strong>                  Reboots the computer when done.</p>
<p>&nbsp;</p>
<p>-Brian G</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2Fhow-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities%2F&amp;title=How%20to%20apply%20Local%20Group%20Policy%20settings%20silently%20using%20the%20ImportRegPol.exe%20and%20Apply_LGPO_Delta.exe%20utilities." id="wpa2a_4"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/how-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;SMS Collection Evaluator failed to process Collection Settings changes&#8221; error in SCCM 2007</title>
		<link>http://supportishere.com/sms-collection-evaluator-failed-to-process-collection-settings-changes-error-in-sccm-2007/</link>
		<comments>http://supportishere.com/sms-collection-evaluator-failed-to-process-collection-settings-changes-error-in-sccm-2007/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 18:08:51 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Collection]]></category>
		<category><![CDATA[SCCM2007]]></category>

		<guid isPermaLink="false">http://supportishere.com/?p=317</guid>
		<description><![CDATA[Received the &#8220;SMS Collection Evaluator failed to process Collection Settings changes&#8221; error in SCCM on the &#8220;SMS_COLLECTION_EVALUATOR&#8221; Component. The fix was simple and simply overlooked during the SCCM installation: 1. Open the ADSI editor. 2. Browse to the &#8220;System Management&#8221; container. Should be listed under the &#8220;System&#8221; container. 3. Right-Click on the &#8220;System Management&#8221; container [...]]]></description>
			<content:encoded><![CDATA[<p>Received the &#8220;SMS Collection Evaluator failed to process Collection Settings changes&#8221; error in SCCM on the &#8220;SMS_COLLECTION_EVALUATOR&#8221; Component. The fix was simple and simply overlooked during the SCCM installation:</p>
<p>1. Open the ADSI editor.<br />
2. Browse to the &#8220;System Management&#8221; container. Should be listed under the &#8220;System&#8221; container.<br />
<a href="http://supportishere.com/wp-content/uploads/2011/12/SystemManagementContainer.jpg"><img class="size-medium wp-image-318 alignnone" title="SystemManagementContainer" src="http://supportishere.com/wp-content/uploads/2011/12/SystemManagementContainer-161x300.jpg" alt="" width="161" height="300" /></a><br />
3. Right-Click on the &#8220;System Management&#8221; container and click on the &#8220;Properties&#8221;.<br />
4. Click on the &#8220;Security&#8221; tab and review if the &#8220;$&#8221; user exists. If exists, skip to step 6.<br />
5. Click on Add, then &#8220;Object Types&#8221; and then check the &#8220;Computers&#8221;. Next type the Computername of the SCCM server and click on &#8220;OK&#8221;.<br />
<a href="http://supportishere.com/wp-content/uploads/2011/12/AddComputerToPermissionsListing1.jpg"><img class="size-medium wp-image-320 alignnone" title="AddComputerToPermissionsListing1" src="http://supportishere.com/wp-content/uploads/2011/12/AddComputerToPermissionsListing1-300x214.jpg" alt="" width="300" height="214" /></a><br />
<a href="http://supportishere.com/wp-content/uploads/2011/12/AddComputerToPermissionsListing2.jpg"><img class="size-medium wp-image-319 alignnone" title="AddComputerToPermissionsListing2" src="http://supportishere.com/wp-content/uploads/2011/12/AddComputerToPermissionsListing2-300x174.jpg" alt="" width="300" height="174" /></a><br />
6. Click on &#8220;Advanced&#8221; and then highlight the &#8220;&#8221; entry and click on &#8220;Edit&#8221;.<br />
7. Change the &#8220;Apply To&#8221; Drop Down to &#8220;This object and all descendant objects&#8221; and then check the &#8220;Allow Full control&#8221; permission.<br />
<a href="http://supportishere.com/wp-content/uploads/2011/12/SetFullControlPermissionsToSCCMServer.jpg"><img class="size-medium wp-image-321 alignnone" title="SetFullControlPermissionsToSCCMServer" src="http://supportishere.com/wp-content/uploads/2011/12/SetFullControlPermissionsToSCCMServer-300x247.jpg" alt="" width="300" height="247" /></a><br />
8. Restart the SCCM server.</p>
<p>-Brian G</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2Fsms-collection-evaluator-failed-to-process-collection-settings-changes-error-in-sccm-2007%2F&amp;title=%26%238220%3BSMS%20Collection%20Evaluator%20failed%20to%20process%20Collection%20Settings%20changes%26%238221%3B%20error%20in%20SCCM%202007" id="wpa2a_6"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/sms-collection-evaluator-failed-to-process-collection-settings-changes-error-in-sccm-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add an application or script after MDT is complete.</title>
		<link>http://supportishere.com/disable-removal-of-adminautologon-in-mdt/</link>
		<comments>http://supportishere.com/disable-removal-of-adminautologon-in-mdt/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 04:14:41 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://supportishere.com/?p=298</guid>
		<description><![CDATA[I ran into a need from a customer to run an application installation that resulted in MDT cleanup scripts to fail. In this event, I figured, the best bet is to perform this installation after the MDT CleanUp process is complete. 1. Remove the portions of LTICleanUp.wsf and Litetouch.wsf scripts that remove the &#8220;AdminAutoLogon&#8221; values: [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into a need from a customer to run an application installation that resulted in MDT cleanup scripts to fail. In this event, I figured, the best bet is to perform this installation after the MDT CleanUp process is complete.</p>
<p>1. Remove the portions of LTICleanUp.wsf and Litetouch.wsf scripts that remove the &#8220;AdminAutoLogon&#8221; values:</p>
<p>LTICleanUp.wsf: (starting at Line 124)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;">oLogging.CreateEntry <span style="color: #800000;">&quot;Removing AutoAdminLogon registry entries&quot;</span>, LogTypeInfo
<span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #8D38C9; font-weight: bold;">Next</span>
<span style="color: #008000;">'Comment Out the following lines:
</span><span style="color: #008000;">'oShell.RegWrite &quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon&quot;, &quot;0&quot;, &quot;REG_SZ&quot;
</span><span style="color: #008000;">'oShell.RegWrite &quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName&quot;, &quot;&quot;, &quot;REG_SZ&quot;
</span><span style="color: #008000;">'oShell.RegWrite &quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultDomainName&quot;, &quot;&quot;, &quot;REG_SZ&quot;
</span><span style="color: #008000;">'oShell.RegDelete &quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword&quot;
</span><span style="color: #008000;">'oShell.RegWrite &quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoLogonCount&quot;, &amp;amp;H00000000, &quot;REG_DWORD&quot;
</span><span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #8D38C9; font-weight: bold;">Goto</span> 0</pre></td></tr></table></div>

<p>Litetouch.wsf changes: (Starting at line 947)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #8D38C9; font-weight: bold;">Next</span>
<span style="color: #008000;">'oShell.RegWrite &quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon&quot;, &quot;0&quot;, &quot;REG_SZ&quot;
</span><span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #8D38C9; font-weight: bold;">Goto</span> 0</pre></td></tr></table></div>

<p>2. Next create an application in MDT which calls a batch file, which stages install files on the local disk and calls the files via the &#8220;RunOnce&#8221; Registry Value or add a Shortcut to the Startup of the Administrator.</p>
<p>Example silent.bat contents:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="winbatch" style="font-family:monospace;">xcopy <span style="color: #ff0000;">&quot;%~dp0*.*&quot;</span> <span style="color: #ff0000;">&quot;c:\windows\temp\OpenOffice\&quot;</span> <span style="color: #66cc66;">/</span>heyi
REG ADD <span style="color: #ff0000;">&quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot;</span> <span style="color: #66cc66;">/</span>v Path <span style="color: #66cc66;">/</span>t REG_SZ <span style="color: #66cc66;">/</span>d C<span style="color: #FF1010; font-weight: bold;">:\Windows\Temp\OpenOffice\Install.bat</span></pre></td></tr></table></div>

<p>Install.bat contents:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="winbatch" style="font-family:monospace;">start <span style="color: #66cc66;">/</span>w <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;%~dp0OpenOfficeNinite.exe&quot;</span>
cscript <span style="color: #ff0000;">&quot;%~dp0DisableAutoLogonEntries.vbs&quot;</span></pre></td></tr></table></div>

<p>DisableAutoLogonEntries.vbs contents:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #151B8D; font-weight: bold;">Set</span> objShell = WScript.<span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;WScript.Shell&quot;</span>)
objShell.RegWrite <span style="color: #800000;">&quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon&quot;</span>, <span style="color: #800000;">&quot;0&quot;</span>, <span style="color: #800000;">&quot;REG_SZ&quot;</span>
objShell.RegWrite <span style="color: #800000;">&quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName&quot;</span>, <span style="color: #800000;">&quot;&quot;</span>, <span style="color: #800000;">&quot;REG_SZ&quot;</span>
objShell.RegWrite <span style="color: #800000;">&quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultDomainName&quot;</span>, <span style="color: #800000;">&quot;&quot;</span>, <span style="color: #800000;">&quot;REG_SZ&quot;</span>
objShell.RegDelete <span style="color: #800000;">&quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword&quot;</span>
objShell.RegWrite <span style="color: #800000;">&quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoLogonCount&quot;</span>, &amp;H00000000, <span style="color: #800000;">&quot;REG_DWORD&quot;</span></pre></td></tr></table></div>

<p>/Brian G</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2Fdisable-removal-of-adminautologon-in-mdt%2F&amp;title=How%20to%20add%20an%20application%20or%20script%20after%20MDT%20is%20complete." id="wpa2a_8"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/disable-removal-of-adminautologon-in-mdt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Simple and/or Smart Custom Wizard Panes (Prompts) for MDT using the Wizard Editor.</title>
		<link>http://supportishere.com/how-to-create-custom-mdt-wizards/</link>
		<comments>http://supportishere.com/how-to-create-custom-mdt-wizards/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 05:47:50 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[MDT]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://supportishere.com/?p=254</guid>
		<description><![CDATA[Using the Wizard Editor is fairly self explanatory for adding simple wizard panes. In 90%+ deployment scenarios, a simple wizard pane including a couple of radio buttons suffice. Here is a simple &#8220;Department Name&#8221; Wizard Pane, which include 2 radio buttons; &#8220;IT Department&#8221; and &#8220;Sales&#8221;. After the Wizard is answered, a &#8220;DepartmentName&#8221; variable is created [...]]]></description>
			<content:encoded><![CDATA[<p>Using the <a href="http://mdtwizardeditor.codeplex.com/">Wizard Editor</a> is fairly self explanatory for adding simple wizard panes.  In 90%+ deployment scenarios, a simple wizard pane including a couple of radio buttons suffice.</p>
<p>Here is <b>a simple</b> &#8220;Department Name&#8221; Wizard Pane, which include 2 radio buttons; &#8220;IT Department&#8221; and &#8220;Sales&#8221;.  After the Wizard is answered, a &#8220;DepartmentName&#8221; variable is created and populated with either &#8220;ITDEPT&#8221; or &#8220;SALES&#8221; based on the wizard selection:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">H1</span>&gt;</span>Choose the User Department.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">H1</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span>radio <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;DepartmentName&quot;</span></span>
<span style="color: #009900;">   <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;DTRadio1&quot;</span> <span style="color: #000066;">checked</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;SALES&quot;</span> <span style="color: #000066;">accesskey</span><span style="color: #66cc66;">=</span>s <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span>vbscript <span style="color: #66cc66;">/</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>Larger <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span>DTRadio1 <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span>vbscript &gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">u</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>larger&gt;</span>S<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">u</span>&gt;</span>ales Department.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
 <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span>radio <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;DepartmentName&quot;</span></span>
<span style="color: #009900;">   <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;DTRadio2&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ITDEPT&quot;</span> <span style="color: #000066;">accesskey</span><span style="color: #66cc66;">=</span>u <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span>vbscript <span style="color: #66cc66;">/</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>Larger <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span>DTRadio2 <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span>vbscript &gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">u</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>larger&gt;</span>I<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">u</span>&gt;</span>T Department.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
 <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span></pre></td></tr></table></div>

<p><a href="http://supportishere.com/wp-content/uploads/2011/11/DepartmentNameWizard1.jpg"><img src="http://supportishere.com/wp-content/uploads/2011/11/DepartmentNameWizard1-300x213.jpg" alt="Department Name Wizard" title="Department Name Wizard" width="300" height="213" class="alignnone size-medium wp-image-272" /></a></p>
<p>Now lets create a more <b>advanced prompt</b> for that 10% of times when radios are not enough.  This prompt will ask for a string named &#8220;NewUserName&#8221;.  It will verify that the string entered is 10 characters in length and only contains letters.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">H1</span>&gt;</span>Please enter the System's New UserName.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">H1</span>&gt;</span>
 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;width: 95%;&quot;</span>&gt;</span>
 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Larger&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">u</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>larger&gt;</span>U<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">u</span>&gt;</span>ser Name:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #000066;">text</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;NewUserName&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span>NewUserName <span style="color: #000066;">maxlength</span><span style="color: #66cc66;">=</span><span style="color: #cc66cc;">10</span></span>
<span style="color: #009900;">   <span style="color: #000066;">size</span><span style="color: #66cc66;">=</span><span style="color: #cc66cc;">10</span> <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span>vbscript onpropertychange<span style="color: #66cc66;">=</span>ValidateNewUserName</span>
<span style="color: #009900;">   <span style="color: #000066;">AccessKey</span><span style="color: #66cc66;">=</span>U <span style="color: #66cc66;">/</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;</span>
     <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>ErrMsg <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span>NewUserName&gt;</span>Answer is Required..<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
     <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>ErrMsg <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span>InvalidChar&gt;</span>Letters only!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
     <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>ErrMsg <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span>TooShort&gt;</span>Answer must be 10 characters!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
 <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span></pre></td></tr></table></div>

<p>Now you must add Functions to the &#8220;<DeployRoot>\Scripts\DeployWiz_Validation.vbs&#8221; script to support the Function call (ValidateNewUserName) which performs the string validation.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #008000;">'''''''''''''''''''''''''''''''''''''
</span><span style="color: #008000;">'  Validate NewUserName
</span><span style="color: #008000;">'
</span>
<span style="color: #E56717; font-weight: bold;">Function</span> ValidateNewUserName
&nbsp;
	<span style="color: #008000;">' Check Warnings
</span>	ParseAllWarningLabels
&nbsp;
	<span style="color: #8D38C9; font-weight: bold;">If</span> Len( NewUserName.value ) &lt; 10 <span style="color: #8D38C9; font-weight: bold;">then</span>
		InvalidChar.style.display = <span style="color: #800000;">&quot;none&quot;</span>
		TooShort.style.display = <span style="color: #800000;">&quot;inline&quot;</span>
		ValidateNewUserName = <span style="color: #00C2FF; font-weight: bold;">false</span>
		ButtonNext.disabled = <span style="color: #00C2FF; font-weight: bold;">true</span>
	<span style="color: #8D38C9; font-weight: bold;">ElseIf</span> IsValidNewUserName ( NewUserName.Value ) <span style="color: #8D38C9; font-weight: bold;">then</span>
		ValidateNewUserName = <span style="color: #00C2FF; font-weight: bold;">true</span>
		InvalidChar.style.display = <span style="color: #800000;">&quot;none&quot;</span>
		TooShort.style.display = <span style="color: #800000;">&quot;none&quot;</span>
	<span style="color: #8D38C9; font-weight: bold;">Else</span>
		InvalidChar.style.display = <span style="color: #800000;">&quot;inline&quot;</span>
		TooShort.style.display = <span style="color: #800000;">&quot;none&quot;</span>
		ValidateNewUserName = <span style="color: #00C2FF; font-weight: bold;">false</span>
		ButtonNext.disabled = <span style="color: #00C2FF; font-weight: bold;">true</span>
	<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #8D38C9; font-weight: bold;">if</span>
&nbsp;
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #E56717; font-weight: bold;">function</span>
&nbsp;
<span style="color: #E56717; font-weight: bold;">Function</span> IsValidNewUserName( NewUserName )
&nbsp;
	const IVNAME_TEST = <span style="color: #800000;">&quot;[a-z]{10}&quot;</span>
	<span style="color: #151B8D; font-weight: bold;">Dim</span> regEx, match, myMatches
&nbsp;
	<span style="color: #151B8D; font-weight: bold;">Set</span> regEx = <span style="color: #E56717; font-weight: bold;">New</span> RegExp
	regEx.Pattern = IVNAME_TEST
	regex.IgnoreCase = <span style="color: #00C2FF; font-weight: bold;">true</span>
&nbsp;
	<span style="color: #151B8D; font-weight: bold;">Set</span> myMatches = regEx.Execute( UCase(NewUserName) )
	<span style="color: #8D38C9; font-weight: bold;">If</span> myMatches.Count &gt; 0 <span style="color: #8D38C9; font-weight: bold;">Then</span>
		IsValidNewUserName = <span style="color: #00C2FF; font-weight: bold;">true</span>
	<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #8D38C9; font-weight: bold;">If</span>
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #E56717; font-weight: bold;">function</span></pre></td></tr></table></div>

<p><a href="http://supportishere.com/wp-content/uploads/2011/11/NewUserNameWizard.jpg"><img src="http://supportishere.com/wp-content/uploads/2011/11/NewUserNameWizard-300x214.jpg" alt="New User Name Wizard Pane" title="New User Name Wizard Pane" width="300" height="214" class="alignnone size-medium wp-image-287" /></a></p>
<p><a href="http://supportishere.com/wp-content/uploads/2011/11/NewUserNameWizard2.jpg"><img src="http://supportishere.com/wp-content/uploads/2011/11/NewUserNameWizard2-300x210.jpg" alt="Only Letters Error" title="Only Letters Error" width="300" height="210" class="alignnone size-medium wp-image-288" /></a></p>
<p>For building custom RegEx expressions, I suggest using <a href="http://www.regexbuddy.com/">RegExBuddy</a> for Windows users and <a href="http://kodos.sourceforge.net/about.html">Kodos</a> for Linux users.</p>
<p>-Brian G</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2Fhow-to-create-custom-mdt-wizards%2F&amp;title=Creating%20Simple%20and%2For%20Smart%20Custom%20Wizard%20Panes%20%28Prompts%29%20for%20MDT%20using%20the%20Wizard%20Editor." id="wpa2a_10"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/how-to-create-custom-mdt-wizards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use VBScript in your MDT/SCCM CustomSettings.INI.</title>
		<link>http://supportishere.com/how-to-use-vbscript-in-your-mdtsccm-customsettings-ini/</link>
		<comments>http://supportishere.com/how-to-use-vbscript-in-your-mdtsccm-customsettings-ini/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 03:32:45 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[MDT]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://supportishere.com/?p=239</guid>
		<description><![CDATA[The built-in CustomSettings.INI variables are very useful, but in some occassions they are simply not enough. For instance, the &#8220;Model&#8221; variable contains the FULL model number (ie. CF-19K4RAX2M). What if I want to create a section breakout for all CF-19 laptops? Here is a method I found to perform this task: 1. First you must [...]]]></description>
			<content:encoded><![CDATA[<p>The built-in CustomSettings.INI variables are very useful, but in some occassions they are simply <b>not enough</b>.  For instance, the &#8220;Model&#8221; variable contains the FULL model number (ie. CF-19K4RAX2M).  What if I want to create a section breakout for all CF-19 laptops?  Here is a method I found to perform this task:<br />
1. First you must tell your &#8220;ZTIGather..&#8221; script to look out for a new variable, which is ShortModel in my example.  Add a line to the &#8220;&lt;DeploymentShare&gt;\Scripts\ZTIGather.XML&#8221; file, which is read by the ZTIGather.wsf prior to combing your CS.INI matching variables.</p>
<blockquote><p>&lt;property id=&#8221;ShortModel&#8221; type=&#8221;string&#8221; overwrite=&#8221;true&#8221; description=&#8221;Short Model Number&#8221; /&gt;</p></blockquote>
<p>2. Next add the following lines to your CS.INI:</p>
<blockquote><p>
;Tells ZTIGather to look in the &#8220;RunFirst&#8221; section first,<br />
; which will populate the ShortModel variable, which in<br />
; turn be replaced when searching for the &#8220;ShortModel&#8221;<br />
; section.<br />
Priority=RunFirst, ShortModel, Default</p>
<p>[RunFirst]<br />
;Example output will be CF-19 instead of CF-19K4RAX2M<br />
ShortModel=# LEFT( oEnvironment.Item(&#8220;Model&#8221;),5 ) #</p>
<p>;Now I can add my CF-19 section<br />
[CF-19]
</p></blockquote>
<p>
Another <b>very useful easy CS.INI code block</b> I use to add VBScript and more intelligence to my CS.INI. Is a custom Variable, which contains a specialized formatted Date to my liking.  I can use this variable wherever I like and whenever I like throughout my ENTIRE Deployment (TS included).<br />
1. Just as I did before I add the variable to my &#8220;ZTIGather.XML&#8221; file to tell my ZTIGather.wsf to look out for the variable in my CS.INI.</p>
<blockquote><p>
&lt;property id=&#8221;SpecialDate&#8221; type=&#8221;string&#8221; overwrite=&#8221;true&#8221; description=&#8221;Special Date Value&#8221; /&gt;
</p></blockquote>
<p>2. Then I populate it wherever I like in my CS.INI</pre>
<blockquote><p>
SpecialDate=#DatePart("M",Now) &amp; DatePart("D",Now) &amp; DatePart("YYYY",Now)#
</p></blockquote>
<p>-Brian G</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2Fhow-to-use-vbscript-in-your-mdtsccm-customsettings-ini%2F&amp;title=How%20to%20use%20VBScript%20in%20your%20MDT%2FSCCM%20CustomSettings.INI." id="wpa2a_12"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/how-to-use-vbscript-in-your-mdtsccm-customsettings-ini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run an Interactive Installation in SCCM with AutoIt and the &#8220;Run a Command Line&#8221; TS Step.</title>
		<link>http://supportishere.com/run-an-interactive-installation-in-sccm-with-autoit-and-the-run-a-command-line-ts-step/</link>
		<comments>http://supportishere.com/run-an-interactive-installation-in-sccm-with-autoit-and-the-run-a-command-line-ts-step/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 16:17:16 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://supportishere.com/?p=233</guid>
		<description><![CDATA[By Default, All programs called by an SCCM task Sequence are silent and HIDDEN.  They are not in view, so any non .MSI, old .EXE,  or improperly packaged install packages without fully silent arguments are NOT SUPPORTED without re-packaging.  This process is very time consuming and also troublesome when resources and settings are missed during [...]]]></description>
			<content:encoded><![CDATA[<p>By Default, All programs called by an SCCM task Sequence are silent and HIDDEN.  They are not in view, so any non .MSI, old .EXE,  or improperly packaged install packages without fully silent arguments are NOT SUPPORTED without re-packaging.  This process is very time consuming and also troublesome when resources and settings are missed during re-packaging.  The best method I&#8217;ve found is to use AutoIt&#8217;s &#8220;ControlClick&#8221; function to click through installation prompts and similate a manual installation of the package exactly how the customer wants.  In SCCM, you MUST run the AutoIt install script as a &#8220;Command Line&#8221;.  This is due to &#8220;Programs&#8221; being hidden and therefore out of sight, so AutoIt can not target boxes and buttons.  I&#8217;ve used this methodology successfully with the Slysoft VirtualCD Application as a test.  This is the &#8220;Run Command Line&#8221; line step in my &#8220;Task Sequence&#8221;.</p>
<p style="text-align: center;"><a href="http://supportishere.com/wp-content/uploads/2011/11/RunCommandLinStepInSCCMTS.png"><img class="size-medium wp-image-234 aligncenter" title="RunCommandLinStepInSCCMTS" src="http://supportishere.com/wp-content/uploads/2011/11/RunCommandLinStepInSCCMTS-300x125.png" alt="RunCommandLinStepInSCCMTS" width="300" height="125" /></a></p>
<p>And here is my package contents:</p>
<p><a href="http://supportishere.com/wp-content/uploads/2011/11/PackageContents.png"><img class="aligncenter size-medium wp-image-236" title="PackageContents" src="http://supportishere.com/wp-content/uploads/2011/11/PackageContents-300x114.png" alt="Package Contents" width="300" height="114" /></a></p>
<p>I also add a block of code on the top of my AutoIt scripts to close the Progress UI, which may interfere with the script targeting buttons and boxes.  This UI reappears after the installation is complete.</p>
<p style="text-align: left;"><a href="http://supportishere.com/wp-content/uploads/2011/11/CloseProgressUIinAutoIt.png"><img class="aligncenter size-medium wp-image-235" title="CloseProgressUIinAutoIt" src="http://supportishere.com/wp-content/uploads/2011/11/CloseProgressUIinAutoIt-300x140.png" alt="CloseProgressUIinAutoIt" width="300" height="140" /></a></p>
<p style="text-align: left;">Link to AutoIt source and images above: <a title="https://panaconsulting.egnyte.com/h-s/20111108/c74a6ee76c0243e5" href="https://panaconsulting.egnyte.com/h-s/20111108/c74a6ee76c0243e5" target="_blank">https://panaconsulting.egnyte.com/h-s/20111108/c74a6ee76c0243e5</a></p>
<p>- Brian G</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2Frun-an-interactive-installation-in-sccm-with-autoit-and-the-run-a-command-line-ts-step%2F&amp;title=Run%20an%20Interactive%20Installation%20in%20SCCM%20with%20AutoIt%20and%20the%20%26%238220%3BRun%20a%20Command%20Line%26%238221%3B%20TS%20Step." id="wpa2a_14"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/run-an-interactive-installation-in-sccm-with-autoit-and-the-run-a-command-line-ts-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogs, Forums and Sites Oh My&#8230;</title>
		<link>http://supportishere.com/blogs-forums-and-sites-oh-my/</link>
		<comments>http://supportishere.com/blogs-forums-and-sites-oh-my/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 17:11:57 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[MDT]]></category>
		<category><![CDATA[SCCM]]></category>

		<guid isPermaLink="false">http://supportishere.com/?p=227</guid>
		<description><![CDATA[Here are all of the blogs, forums and pages I visit and subscribe to with Google Reader.  All very reputable sources,  I bolded the most active and strong writers: Raphael: Your System Center Configuration Manager portal http://wmug.co.uk/blogs/dotraphael/rss.aspx AlexSemi&#8217;s Blog http://blogs.msdn.com/b/alex_semi/rss.aspx Ask the Core Team http://blogs.technet.com/b/askcore/rss.aspx Brian Jackson&#8217;s IT Blog http://feeds.feedburner.com/brianleejackson CCMEXEC.COM &#8211; System Center blog [...]]]></description>
			<content:encoded><![CDATA[<p>Here are all of the blogs, forums and pages I visit and subscribe to with Google Reader.  All very reputable sources,  I bolded the most active and strong writers:</p>
<p><em>Raphael: Your System Center Configuration Manager portal</em><br />
<em> http://wmug.co.uk/blogs/dotraphael/rss.aspx</em></p>
<p><em>AlexSemi&#8217;s Blog</em><br />
<em> http://blogs.msdn.com/b/alex_semi/rss.aspx</em></p>
<p><em>Ask the Core Team</em><br />
<em> http://blogs.technet.com/b/askcore/rss.aspx</em></p>
<p><em>Brian Jackson&#8217;s IT Blog</em><br />
<em> http://feeds.feedburner.com/brianleejackson</em></p>
<p><em>CCMEXEC.COM &#8211; System Center blog</em><br />
<em> http://ccmexec.com/?feed=rss2</em></p>
<p><strong>[Deploy_Windows (TRUE)]</strong><br />
<strong>http://deploywindows.net/feed</strong></p>
<p><strong>Deployment Research &#8211; Johan Arwidmark</strong><br />
<strong>http://www.deploymentresearch.com/Blog/tabid/62/rssid/1/Default.aspx</strong></p>
<p><strong>Michael Niehaus&#8217; Windows and Office deployment ramblings</strong><br />
<strong>http://blogs.technet.com/b/mniehaus/rss.aspx</strong></p>
<p><em>Microsoft Deployment Toolkit Forum</em><br />
<em> http://social.technet.microsoft.com/Forums/en/mdt/threads?outputAs=rss</em></p>
<p><em>Mike&#8217;s Tech Head Blog</em><br />
<em> http://itbloggen.se/cs/blogs/micke/rss.aspx</em></p>
<p><em>myITforum.com &#8211; Microsoft Deployment</em><br />
<em> http://www.myitforum.com/absolutenm/rss.aspx?z=103</em></p>
<p><em>NetBootDisk.com News</em><br />
<em> http://www.netbootdisk.com/rss.php</em></p>
<p><em>System Center Ideas</em><br />
<em> http://systemcenterideas.com/feed/</em></p>
<p><em>The WMI guy aka Kim Oppalfens</em><br />
<em> http://myitforum.com/cs2/blogs/koppalfens/rss.aspx</em></p>
<p><strong>The D-spot</strong><br />
<strong>http://www.the-d-spot.org/wordpress/feed/</strong></p>
<p><strong>The Deployment Guys</strong><br />
<strong>http://blogs.technet.com/deploymentguys/rss.xml</strong></p>
<p><em>Windows Deployment</em><br />
<em> http://www.deployblog.se/?feed=rss2</em></p>
<p><strong>Xtreme Deployment</strong><br />
<strong>http://deployment.xtremeconsulting.com/feed/</strong></p>
<p>&nbsp;</p>
<p>- Brian G</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2Fblogs-forums-and-sites-oh-my%2F&amp;title=Blogs%2C%20Forums%20and%20Sites%20Oh%20My%26%238230%3B" id="wpa2a_16"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/blogs-forums-and-sites-oh-my/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCCM Hotfixes direct links&#8230;</title>
		<link>http://supportishere.com/sccm-hotfixes-direct-links/</link>
		<comments>http://supportishere.com/sccm-hotfixes-direct-links/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 04:08:59 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://supportishere.com/sccm-hotfixes-direct-links/</guid>
		<description><![CDATA[After the 10th time of answering Microsoft&#8217;s CAPTHAs to grab needed SCCM Hotfixes for SCCM 2007 SP2. &#160;I grabbed them all and posted them to the following URL. &#160;Download and use at your disposal to speeden your SCCM 2007 setup process. Link to folder containing Hotfix files:&#160;http://tinyurl.com/sccmhotfix SCCM Reference Blog: http://myitforum.com/cs2/blogs/jsandys/archive/2011/02/20/configmgr-2007-post-sp2-hotfixes.aspx - Brian G]]></description>
			<content:encoded><![CDATA[<p>After the 10th time of answering Microsoft&#8217;s CAPTHAs to grab needed SCCM Hotfixes for SCCM 2007 SP2. &nbsp;I grabbed them all and posted them to the following URL. &nbsp;Download and use at your disposal to speeden your SCCM 2007 setup process.
<div></div>
<div>Link to folder containing Hotfix files:&nbsp;<span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><a href="http://tinyurl.com/sccmhotfix"><b>http://tinyurl.com/sccmhotfix</b></a></span></div>
<div></div>
<div>SCCM Reference Blog:</div>
<div><a href="http://myitforum.com/cs2/blogs/jsandys/archive/2011/02/20/configmgr-2007-post-sp2-hotfixes.aspx">http://myitforum.com/cs2/blogs/jsandys/archive/2011/02/20/configmgr-2007-post-sp2-hotfixes.aspx</a></div>
<div></div>
<div></div>
<div>- Brian G</div>
<p><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2Fsccm-hotfixes-direct-links%2F&amp;title=SCCM%20Hotfixes%20direct%20links%26%238230%3B" id="wpa2a_18"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/sccm-hotfixes-direct-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to auto-accept the Windows 7 &#8220;Would you like to install this device software?&#8221; prompt</title>
		<link>http://supportishere.com/script-to-automate-the-would-you-like-to-install-this-device-software-prompt/</link>
		<comments>http://supportishere.com/script-to-automate-the-would-you-like-to-install-this-device-software-prompt/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 02:38:26 +0000</pubDate>
		<dc:creator>Brian Gonzalez</dc:creator>
				<category><![CDATA[MDT]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://supportishere.com/?p=213</guid>
		<description><![CDATA[When an application install calls for a device installation in Windows 7 a prompt appears.  In some cases, the prompt can not be automatically accepted using silent install switches (ie. Netmotion install).  I created an AutoIt script to accept the prompt. Script Download: http://tinyurl.com/installprompt -Brian G]]></description>
			<content:encoded><![CDATA[<p>When an application install calls for a device installation in Windows 7 a prompt appears.  In some cases, the prompt can not be automatically accepted using silent install switches (ie. Netmotion install).  I created an AutoIt script to accept the prompt.</p>
<p><a href="http://supportishere.com/script-to-automate-the-would-you-like-to-install-this-device-software-prompt/installdeviceprompt/" rel="attachment wp-att-214"><img class="alignleft size-full wp-image-214" title="Windows 7 install device driver prompt" src="http://supportishere.com/wp-content/uploads/2011/08/InstallDevicePrompt.jpg" alt="Windows 7 install device driver prompt" width="718" height="357" /></a></p>
<p>Script Download: <a title="http://tinyurl.com/installprompt" href="http://tinyurl.com/installprompt" target="_blank">http://tinyurl.com/installprompt</a></p>
<p>-Brian G</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsupportishere.com%2Fscript-to-automate-the-would-you-like-to-install-this-device-software-prompt%2F&amp;title=Script%20to%20auto-accept%20the%20Windows%207%20%26%238220%3BWould%20you%20like%20to%20install%20this%20device%20software%3F%26%238221%3B%20prompt" id="wpa2a_20"><img src="http://supportishere.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://supportishere.com/script-to-automate-the-would-you-like-to-install-this-device-software-prompt/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

