<?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>thebackroomtech &#187; netsh</title>
	<atom:link href="http://thebackroomtech.com/tag/netsh/feed/" rel="self" type="application/rss+xml" />
	<link>http://thebackroomtech.com</link>
	<description>serving up the info back room techs everywhere find interesting</description>
	<lastBuildDate>Sat, 20 Nov 2010 03:13:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Howto: Disable a NIC when running Sysprep</title>
		<link>http://thebackroomtech.com/2009/11/04/howto-disable-a-nic-when-running-sysprep/</link>
		<comments>http://thebackroomtech.com/2009/11/04/howto-disable-a-nic-when-running-sysprep/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 11:25:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[deployment]]></category>
		<category><![CDATA[Command0]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[GuiRunOnce]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[netsh]]></category>
		<category><![CDATA[NIC]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Sysprep]]></category>
		<category><![CDATA[sysprep.inf]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=2029</guid>
		<description><![CDATA[Disabling a network card when running sysprepping a Windows machine is easy.  Two things need to happen:  1.  Add the following command to the [GuiRunOnce] section of your sysprep.inf file   Command0=&#8221;C:\temp\disablenic.cmd&#8221;   2.  On the machine you are sysprepping, create a C:\temp\disablenic.cmd file that contains the following:   netsh interface set interface &#8220;Local Area [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Disabling a network card when running sysprepping a Windows machine is easy.  Two things need to happen: </p>
<div>1.  Add the following command to the <em>[GuiRunOnce]</em> section of your <em>sysprep.inf</em> file</div>
<div> </div>
<div><em>Command0=&#8221;C:\temp\disablenic.cmd&#8221;</em></div>
<div> </div>
<div>2.  On the machine you are sysprepping, create a <em>C:\temp\disablenic.cmd</em> file that contains the following:</div>
<div> </div>
<div><em>netsh interface set interface &#8220;Local Area Connection 2&#8243; DISABLED</em></div>
<div> </div>
<div>Change the name of the interface you want disabled as needed.  To determine the names of all network interfaces on a system, run the following command:</div>
<div> </div>
<div><em>netsh interface show interface</em></div>
<div> </div>
<div>Proceed with syspreping as normal. When the machine boots up, the specified network interface(s) will be disabled.</div>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/10/15/howto-automatically-change-the-cd-rom-drive-letter-after-running-sysprep/" title="Howto automatically change the CD-ROM drive letter after running sysprep">Howto automatically change the CD-ROM drive letter after running sysprep</a></li><li><a href="http://thebackroomtech.com/2010/06/17/counting-the-number-of-files-in-a-directory-command-line-style/" title="Counting the number of files in a directory, command line style">Counting the number of files in a directory, command line style</a></li><li><a href="http://thebackroomtech.com/2010/05/05/script-to-gracefully-power-off-a-vm-guest/" title="Script to gracefully power off a VM guest">Script to gracefully power off a VM guest</a></li><li><a href="http://thebackroomtech.com/2009/12/07/script-to-remotely-list-windows-local-administrator-group-membership/" title="Script to remotely list Windows local administrator group membership">Script to remotely list Windows local administrator group membership</a></li><li><a href="http://thebackroomtech.com/2009/11/16/script-to-find-and-email-files-in-a-directory/" title="Script to find and email files in a directory">Script to find and email files in a directory</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/11/04/howto-disable-a-nic-when-running-sysprep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Enable Remote Desktop on a Windows 2008 Server Core System</title>
		<link>http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/</link>
		<comments>http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 10:36:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[netsh]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Terminal Services]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=291</guid>
		<description><![CDATA[Windows 2008 Server Core uses the SCregEdit.wsf script found in C:\Windows\System32 to configure Terminal Services (TS) behavior. TS is the method of remote controlling your Server Core system through Remote Desktop (RDP). To view the current Terminal Server settings for Vista/Windows 2008 clients, at the server command prompt type: c:\windows\system32\scregedit.wsf /AR /v The following values [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Windows 2008 Server Core uses the SCregEdit.wsf script found in C:\Windows\System32 to configure Terminal Services (TS) behavior.  TS is the method of remote controlling your Server Core system through Remote Desktop (RDP).</p>
<p>To view the current Terminal Server settings for Vista/Windows 2008 clients, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /AR /v</i></p>
<p>The following values correspond to the  response generated by the scregedit.wsf script.</p>
<p><i>1</i> = Terminal Services Disabled  (remote access disabled)</p>
<p><i>0</i> = Terminal Services Enabled (remote access enabled)</p>
<p>To enable Terminal Services access from Vista/Windows 2008, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /AR 0</i></p>
<p>To disable Terminal Services access from Vista/Windows 2008, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /AR 1</i></p>
<p><b>Note:</b></p>
<p>The /AR setting applies to Windows Vista/2008 machines.  If you want to allow Terminal Services connections to the Windows 2008 server from Windows XP machines, you have to use the /CS switch.</p>
<p>To view the current Terminal Server settings for Windows XP clients, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /AR /v</i></p>
<p>To enable Terminal Services access from Windows XP,  at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /CS 0</i></p>
<p>To disable Terminal Services access from Windows XP, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /CS 1</i></p>
<p>You could also edit the registry directly to enable Terminal Services using the same registry entry I wrote about when describing <a href="http://thebackroomtech.wordpress.com/2007/05/18/how-to-enable-remote-desktop-on-a-windows-xp-machine-remotely/" target="_blank">how to enable remote access for Windows XP machines remotely</a>.</p>
<p>Finally you will need to create a hole in your server&#8217;s Windows Firewall for inbound RDP  traffic on port 3389.  <a href="http://support.microsoft.com/kb/947709" target="_blank">KB 947709</a> details how to use the <i>netsh advfirewall firewall</i> command to configure the firewall in several different ways.  I suggest running the following at the server command prompt:</p>
<p><i>netsh advfirewall firewall set rule group=&#8221;remote desktop&#8221; new enable=yes</i></p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/01/30/portable-remote-desktop-connection/" title="A Portable Remote Desktop Connection (mstsc.exe)">A Portable Remote Desktop Connection (mstsc.exe)</a></li><li><a href="http://thebackroomtech.com/2008/03/18/howto-configure-the-windows-2008-server-core-screensaver-activation-period/" title="Howto: Configure the Windows 2008 Server Core Screensaver Activation Period">Howto: Configure the Windows 2008 Server Core Screensaver Activation Period</a></li><li><a href="http://thebackroomtech.com/2008/03/14/howto-shut-down-or-reboot-a-windows-2008-server-core-system/" title="Howto: Shut down or reboot a Windows 2008 Server Core System">Howto: Shut down or reboot a Windows 2008 Server Core System</a></li><li><a href="http://thebackroomtech.com/2008/03/11/installing-vmware-tools-on-windows-2008-server-core/" title="Howto: Install VMware Tools on Windows 2008 Server Core">Howto: Install VMware Tools on Windows 2008 Server Core</a></li><li><a href="http://thebackroomtech.com/2007/12/05/howto-log-connections-to-specific-ports-and-processes-on-windows-machines/" title="Howto: Log Connections to Specific Ports and Processes on Windows Machines">Howto: Log Connections to Specific Ports and Processes on Windows Machines</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Solved: &#8220;The connection has been lost. Attempting to reconnect to your session…&#8221; when attempting to access a Windows 2003 server from a Windows Vista Remote Desktop Session</title>
		<link>http://thebackroomtech.com/2007/10/08/solved-the-connection-has-been-lost-attempting-to-reconnect-to-your-session%e2%80%a6-when-attempting-to-access-a-windows-2003-server-from-a-windows-vista-remote-desktop-session/</link>
		<comments>http://thebackroomtech.com/2007/10/08/solved-the-connection-has-been-lost-attempting-to-reconnect-to-your-session%e2%80%a6-when-attempting-to-access-a-windows-2003-server-from-a-windows-vista-remote-desktop-session/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 18:17:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[netsh]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[solved]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/2007/10/08/solved-the-connection-has-been-lost-attempting-to-reconnect-to-your-session%e2%80%a6-when-attempting-to-access-a-windows-2003-server-from-a-windows-vista-remote-desktop-session/</guid>
		<description><![CDATA[&#8220;The connection has been lost. Attempting to reconnect to your session…&#8221; had almost made me scrap Vista on my home PC. Ever since my hard drive died and I committed to Vista, I&#8217;ve received this error message when attempting to access my Windows 2003 SBS Server. I&#8217;ve had no problems accessing Windows XP based machines, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>&#8220;The connection has been lost. Attempting to reconnect to your session…&#8221; had almost made me scrap Vista on my home PC.  Ever since my hard drive died and I committed to Vista, I&#8217;ve received this error message when attempting to access my Windows 2003 SBS Server.  I&#8217;ve had no problems accessing Windows XP based machines, but I experienced the exact same issue using <a href="http://thebackroomtech.wordpress.com/2007/08/10/managing-multiple-remote-desktopterminal-server-connections-using-terminals/" target="_blank">Terminals</a> from this machine.</p>
<p>I was sick of having to break out my XP laptop to administer my work network from home, so I decided today was the day to fix this problem.  I searched and Googled and read the entire <a href="http://blogs.msdn.com/ts/archive/2007/01/22/vista-remote-desktop-connection-authentication-faq.aspx#_When_to_use" target="_blank">Vista Remote Desktop Connection Authentication FAQ</a>, but did not find the answer.</p>
<p>I hoped setting the <em><a href="http://www.vistax64.com/vista-general/77631-authenticationleveloverride.html#post381302" target="_blank">AuthenticationLevelOverride</a> </em>registry key would do it, but that didn&#8217;t make a difference.</p>
<p>Finally, when I thought all hope was lost (and dinner was on the table), I came across <a href="http://i.nconspicuo.us/2007/04/10/remote-desktop-freezes-when-connecting-through-windows-vista/" target="_blank">this</a> post, which said to run the following from an <a href="http://thebackroomtech.wordpress.com/2007/10/01/howto-elevate-scripts-programs-and-prompts-to-administrator-rights-in-windows-vista/" target="_blank">elevated </a>command prompt:</p>
<p><em>netsh interface tcp set global autotuninglevel=disabled</em></p>
<p>This disabled Vista&#8217;s  TCP/IP autotuning feature.  I didn&#8217;t even have to reboot, Remote Desktop has worked great ever since I made this change.  No more problems, not even once.</p>
<p>If for some reason you want to re-enable TCP/IP auto tuning, the command is:</p>
<p><em>netsh interface tcp set global autotuninglevel=normal</em></p>
<p>Check out my <a href="http://thebackroomtech.wordpress.com/2007/07/10/problems-with-windows-vista-and-outlook-2007-connecting-to-exchange-2003-sp2-in-cached-mode-over-the-internet/" target="_blank">other post</a> concerning problems with Vista&#8217;s auto tuning and Microsoft Outlook 2007&#8242;s cached mode.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/" title="Howto: Enable Remote Desktop on a Windows 2008 Server Core System">Howto: Enable Remote Desktop on a Windows 2008 Server Core System</a></li><li><a href="http://thebackroomtech.com/2008/01/29/howto-speed-up-your-network-connection-on-windows-vista/" title="Howto: Speed up your Network Connection on Windows Vista">Howto: Speed up your Network Connection on Windows Vista</a></li><li><a href="http://thebackroomtech.com/2008/01/08/64-bit-windows-isnt-displaying-files-saved-in-the-office-2007-format-when-searching-for-documents/" title="64-bit Windows isn&#8217;t displaying files saved in the Office 2007 format when searching for Documents">64-bit Windows isn&#8217;t displaying files saved in the Office 2007 format when searching for Documents</a></li><li><a href="http://thebackroomtech.com/2007/12/26/microsoft-windows-service-pack-blocker-tool-kit/" title="Microsoft Windows Service Pack Blocker Tool Kit">Microsoft Windows Service Pack Blocker Tool Kit</a></li><li><a href="http://thebackroomtech.com/2007/11/06/howto-enable-windows-vista-uac-quiet-mode/" title="Howto: Enable Windows Vista UAC quiet mode">Howto: Enable Windows Vista UAC quiet mode</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2007/10/08/solved-the-connection-has-been-lost-attempting-to-reconnect-to-your-session%e2%80%a6-when-attempting-to-access-a-windows-2003-server-from-a-windows-vista-remote-desktop-session/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Spiceworks – a free IT management system</title>
		<link>http://thebackroomtech.com/2007/05/18/spiceworks-a-free-it-management-system/</link>
		<comments>http://thebackroomtech.com/2007/05/18/spiceworks-a-free-it-management-system/#comments</comments>
		<pubDate>Fri, 18 May 2007 13:18:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[freeware]]></category>
		<category><![CDATA[asset management]]></category>
		<category><![CDATA[help desk]]></category>
		<category><![CDATA[netsh]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/2007/05/18/spiceworks-a-free-it-management-system/</guid>
		<description><![CDATA[Today I finally got around to installing spiceworks. The spiceworks.com web site claims the software is an IT manager&#8217;s dream &#8211; asset management and help desk, all from a simple Windows PC. The installation took all of five minutes to complete. I think the most difficult part of the install was figuring out if my [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Today I finally got around to installing spiceworks.  The <a href="http://www.spiceworks.com/" target="_blank">spiceworks.com</a> web site claims the software is an IT manager&#8217;s dream &#8211; asset management and help desk, all from a simple Windows PC.</p>
<p>The installation took all of five minutes to complete.  I think the most difficult part of the install was figuring out if my machine was already running a web server, or if spiceworks could use the default port 80.</p>
<p>Once the program initialized, I was prompted to answer a few questions, then the program started probing my network for devices.  Several devices were unreachable (due to firewall or permissions issues) , and spiceworks prompted me to manually login to each unreachable machine and manually hit the web server on my spiceworks PC.</p>
<p>In order for the firewall to allow access to spiceworks, I was instructed to execute</p>
<p><em>netsh firewall set service REMOTEADMIN enable</em></p>
<p>After executing the above command I was able to successfully inventory my firewalled machines.</p>
<p>I was very impressed with both the ease of use and functionality of the software.  Many of the discovery, monitoring, and alerting items I have only seen previously in commercial (and expensive!) software.</p>
<p>If you&#8217;re looking for  a help desk/asset management solution, give <a href="http://www.spiceworks.com/" target="_blank">spiceworks</a> a try.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/11/04/howto-disable-a-nic-when-running-sysprep/" title="Howto: Disable a NIC when running Sysprep">Howto: Disable a NIC when running Sysprep</a></li><li><a href="http://thebackroomtech.com/2008/03/20/free-utility-to-determine-which-of-your-windows-applications-require-administrative-rights-to-run/" title="Free Utility to Determine Which of Your Windows Applications Require Administrative Rights to Run">Free Utility to Determine Which of Your Windows Applications Require Administrative Rights to Run</a></li><li><a href="http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/" title="Howto: Enable Remote Desktop on a Windows 2008 Server Core System">Howto: Enable Remote Desktop on a Windows 2008 Server Core System</a></li><li><a href="http://thebackroomtech.com/2008/02/08/new-truecrypt-available-free-open-source-disk-encryption-software-for-windows-vistaxp-mac-os-x-and-linux/" title="New TrueCrypt Available – Free Open Source Disk Encryption Software for Windows Vista/XP , Mac OS X, and Linux">New TrueCrypt Available – Free Open Source Disk Encryption Software for Windows Vista/XP , Mac OS X, and Linux</a></li><li><a href="http://thebackroomtech.com/2007/11/25/the-back-room-techs-utilities-page-is-live/" title="the back room tech&#8217;s utilities page is live">the back room tech&#8217;s utilities page is live</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2007/05/18/spiceworks-a-free-it-management-system/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 20/41 queries in 0.015 seconds using disk: basic
Object Caching 614/636 objects using disk: basic

Served from: thebackroomtech.com @ 2012-05-22 22:22:50 -->
