<?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>Bohack &#187; Windows</title>
	<atom:link href="http://www.bohack.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bohack.com</link>
	<description>Check In and Tune Out!</description>
	<lastBuildDate>Sun, 08 Jan 2012 20:59:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How To Use VLC and Register RTSP (RealMedia) for Internet Explorer</title>
		<link>http://www.bohack.com/2011/11/how-to-use-vlc-and-register-rtsp-realmedia-for-internet-explorer/</link>
		<comments>http://www.bohack.com/2011/11/how-to-use-vlc-and-register-rtsp-realmedia-for-internet-explorer/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 22:16:07 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Regedit]]></category>
		<category><![CDATA[Registry]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=587</guid>
		<description><![CDATA[To register the RTSP protocol with Internet Explorer you need to register it with the operating system. This is easily achieved thru a registry edit. So once you register the RTSP with the .reg file below just close Internet Explorer and open it back up. <div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/11/how-to-use-vlc-and-register-rtsp-realmedia-for-internet-explorer/' addthis:title='How To Use VLC and Register RTSP (RealMedia) for Internet Explorer ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Let me start off by saying I hate Real Player and discourage it&#8217;s use. Having said that an alternative is using VLC Media Player or Video LAN Player (same). It was once said that VLC could play a database file if you opened it up, so it definitely supports a simple RTSP Real Time Streaming Protocol URL. However for the end user it&#8217;s a little complicated, so to make it easier we can register RTSP:// with Internet Explorer and anytime the user comes across an RTSP link; it&#8217;ll just work!</p>
<p><span id="more-587"></span>To register the RTSP protocol with Internet Explorer you need to register it with the operating system. This is easily achieved thru a registry edit, however this article explains it all <a title="http://msdn.microsoft.com/en-us/library/Aa767914.aspx" href="http://msdn.microsoft.com/en-us/library/Aa767914.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/Aa767914.aspx</a>. So once you register the RTSP with the .reg file below just close Internet Explorer and open it back up. VLC will prompt you with a warning, if at this point it doesn&#8217;t show video; open TCP port 554 in your firewall outbound. If you do not have outbound restrictions, like in the case of 99% of home users; it either a bad feed or upgrade your VLC to the latest version.</p>
<p>Firefox will also see the registry change and when a user clicks the link; Firefox will prompt them with an application dialog box then open it in VLC Player. Just check the box to always open without prompting and it&#8217;ll work every time!</p>
<p>This fix will be valid for all users of the computer. I&#8217;m pretty sure you can register it under HKEY_CURRENT_USER on XP and above; to make the change for only that users.</p>
<p>RTSP registry edit file:</p>
<pre>Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\RTSP]
@="URL:Real Time Streaming Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\RTSP\shell]

[HKEY_CLASSES_ROOT\RTSP\shell\open]

[HKEY_CLASSES_ROOT\RTSP\shell\open\command]
@="C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe -vvv %1"</pre>
<p>Copy the text above into a file of RTSP.reg and double click it to merge it into the registry.</p>
<p><strong>Note: You may have to change the path where your VLC lives.</strong></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/11/how-to-use-vlc-and-register-rtsp-realmedia-for-internet-explorer/' addthis:title='How To Use VLC and Register RTSP (RealMedia) for Internet Explorer ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2011/11/how-to-use-vlc-and-register-rtsp-realmedia-for-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change The Label For CD or DVD Drives Under My Computer</title>
		<link>http://www.bohack.com/2011/07/change-the-label-for-cd-or-dvd-drives-under-my-computer/</link>
		<comments>http://www.bohack.com/2011/07/change-the-label-for-cd-or-dvd-drives-under-my-computer/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 20:15:43 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=552</guid>
		<description><![CDATA[The problem is that you can’t right click and go to properties to change the CDROM/DVD-RW label, like you can on a local disk.To change the label of a fixed drive with removable storage (CDROM/DVDROM/DVD-RW), you need to perform a registry edit.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/07/change-the-label-for-cd-or-dvd-drives-under-my-computer/' addthis:title='Change The Label For CD or DVD Drives Under My Computer ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>On most of my Windows boxes I have multiple DVD-RW or CDROM drives. Telling them apart by the letter is always an issue, because I always put the blank CD or DVD in to the wrong drive. The problem is that you can’t right click and go to properties to change the CDROM/DVD-RW label, like you can on a local disk.<br />
<span id="more-552"></span><br />
<a href="http://www.bohack.com/wp-content/uploads/2011/07/computer-cdrom-label.jpg"  rel="lightbox[552]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/computer-cdrom-label-300x300-0-img555.jpg" alt="Changing the DVD or CD Label under my computer" title="my computer cdrom label" width="300" height="287" class="alignnone size-medium wp-image-555" /></a></p>
<p>To change the label of a fixed drive with removable storage (CDROM/DVDROM/DVD-RW), you need to perform a registry edit. Follow the steps below to create custom label so when you open “My Computer” or “Computer” (depending on OS version) you see the custom label. The steps below are for Windows 7, but should also work for Windows Vista, Windows XP and Windows 2000.</p>
<ol>
<li>In the run/search box type “regedit”. Find the icon for regedit.exe above and right click on it and choose “Run as administrator”. Answer the UAC prompt and click OK.</li>
<li>Find the registry key of “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons”.</li>
<li>Right click on the “DriveIcons” key and select “New -&gt; Key” then name the key the drive letter you want to label (i.e. Drive F create the key as F).</li>
<li>Right click on the drive letter and select “New -&gt; Key” then name the key “DefaultLabel” (case sensitive).</li>
<li>To the right on the result pane of the registry editor, double click the “(Default)” REG_SZ and change the “Value data:” to the label you want to show under My Computer.</li>
<li>Logoff and/or reboot.</li>
</ol>
<a href="http://www.bohack.com/wp-content/uploads/2011/07/registry-drive-icons.jpg"  rel="lightbox[552]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/registry-drive-icons-300x300-0-img557.jpg" alt="Registry entry for drive labels" title="registry drive icons" width="300" height="176" class="alignnone size-medium wp-image-557" /></a>
<p>Note: You can also do the same last three steps to change the Icon that shows in My Computer, create a “DefaultIcon” key. Change the “(Default)” key to the path of the icon to change the icon.</p>
<p>&nbsp;</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/07/change-the-label-for-cd-or-dvd-drives-under-my-computer/' addthis:title='Change The Label For CD or DVD Drives Under My Computer ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2011/07/change-the-label-for-cd-or-dvd-drives-under-my-computer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Create A MicroStation V8i Preference Seed File</title>
		<link>http://www.bohack.com/2011/07/how-to-create-a-microstation-v8i-preference-seed-file/</link>
		<comments>http://www.bohack.com/2011/07/how-to-create-a-microstation-v8i-preference-seed-file/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 15:34:36 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[CAD]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=548</guid>
		<description><![CDATA[The next user that logs on without a “Bentley” folder in AppData\Local will inherit all preferences from the default.spf file since the standards.cfg file is now pointing to it.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/07/how-to-create-a-microstation-v8i-preference-seed-file/' addthis:title='How To Create A MicroStation V8i Preference Seed File ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Recently I had to work with Bentley Microstation V8i from a network admin aspect. I needed to adjust certain preferences of the software. Microstation is a CAD application for 2D and 3D work, so this is not a normal blog post for me.</p>
<p><span id="more-548"></span>I work for a school that requires all users that start Microstation up for the first time to have the same preferences. Coupled with a Mandatory profile; all students have a “first run” experience and class goes easier. So when I called into Bentley I found out that everything is classified into “Configuration” and “Preferences”. Configuration can be changed, but preferences are a lot tougher.</p>
<p>In short: anything in the GUI is a preference and therefore cannot be set in the configuration files call UCF files of CFG files. The preferences are stored in a UPF file that is created in “AppData\Local” on a Windows 7 (Local Settings on Windows XP). This file is created from an installer that Microstation runs upon first run by the user. To make it worse the folder is created with a unique string that is different every time and the UPF is not text editable like the CFG files.</p>
<p>However you can make all users receive a seed of preferences, so that you can achieve the desired effect.</p>
<p>To make all first time users receive the same preferences you can:</p>
<p><span style="text-decoration: underline;">Part 1 &#8211; Create the preference file</span></p>
<ol>
<li>Delete your %userprofile%\AppData\Local\Bentley. Make sure you do not have Microstation running.</li>
<li>Start Microstation and create a brand new file using the seed file you want to change preferences for.</li>
<li>Make all of the GUI changes in the menus. My users wanted “enable fence create” and a few others.</li>
<li>Close Microstation.</li>
</ol>
<p><span style="text-decoration: underline;">Part 2 &#8211; Set the preference file as the seed</span></p>
<ol>
<li>Go to “%userprofile%\AppData\Local\Bentley\MicroStation\8.11\y5211223adfsdasfsafa\prefs and copy the untitled.upf to C:\ProgramData\Bentley Multi-Install\MicroStation\WorkSpace\Standards\seed”</li>
<li>Rename the file to “default.spf”</li>
<li>Go to “C:\ProgramData\Bentley Multi-Install\MicroStation\WorkSpace\Standards” basically up a directory and open the “standards.cfg” file in notepad.</li>
<li>Put this line into the file under the MS_SYMBRSRC line “MS_USERPREFSEED     = $(_USTN_SITE)seed/default.spf”</li>
<li>Save it and test.</li>
</ol>
<p>The next user that logs on without a “Bentley” folder in AppData\Local will inherit all preferences from the default.spf file since the standards.cfg file is now pointing to it. It is all possible to point that variable of MS_USERPREFSEED to a network share, so all new users pull the preferences from a network location; so that global changes are easier. I have not tested that, so please comment if it works.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/07/how-to-create-a-microstation-v8i-preference-seed-file/' addthis:title='How To Create A MicroStation V8i Preference Seed File ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2011/07/how-to-create-a-microstation-v8i-preference-seed-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allowing Non-Administrators To Install Fonts In Windows 7</title>
		<link>http://www.bohack.com/2011/04/allowing-non-administrators-to-install-fonts-in-windows-7/</link>
		<comments>http://www.bohack.com/2011/04/allowing-non-administrators-to-install-fonts-in-windows-7/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 22:15:08 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=537</guid>
		<description><![CDATA[I will explain how to allow normal non-administrative users access to install their own fonts without the UAC prompt.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/04/allowing-non-administrators-to-install-fonts-in-windows-7/' addthis:title='Allowing Non-Administrators To Install Fonts In Windows 7 ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Window 7 is far more secure than prior Windows operating systems. The Windows directory is secured down with permissions so even an Administrator cannot circumvent security. Some security features are good other not so much, the security on fonts is a good example. I will explain how to allow normal non-privileged users access to install their own fonts without the UAC prompt.</p>
<p><span id="more-537"></span>The Fonts directory is located in the Windows directory and if a normal user wants to install Fonts; they cannot. If a normal users tries to install a font they are prompted with the UAC (User Account Control) dialog box and Administrator credentials are required. If you work for a school or a print shop and do not want to give out Administrator credentials to install fonts read on.</p>
<p>The following steps will loosen up security in your operating system, so that normal users can install fonts without administrative credentials and the UAC prompt. This modification has been tested on Windows 7; however it should also work on Windows Vista as well. Please be careful when making changes that could open security holes. As of the writing of this article there are no security holes, but be vigilant and read Microsoft Security Bulletins in the future.</p>
<p><strong>Log on as an administrator to make the following changes!</strong></p>
<p>First we need to make the folder writable and make it a non-system folder.</p>
<pre>attrib -r -s c:\Windows\Fonts</pre>
<p>Next we need to take ownership. The /f directs it to the folder of c:\Windows\Fonts the /r directs it to recurse and the /d n is default answer is no or skip.</p>
<pre>takeown /f c:\Windows\Fonts /r /d n</pre>
<p>Now let’s give the users permission.</p>
<pre>cacls c:\Windows\Fonts /e /t /g users:c</pre>
<p>There is also a font cache that allows programs to display a preview of the fonts; this needs softened up as well for the user.</p>
<pre>cacls c:\Windows\System32\FNTCACHE.DAT /e /t /g users:c

Note: you will receive an Access is denied message, this is normal; just make sure users have change security permissions.</pre>
<p>The last thing to do is give users permissions to register fonts with Windows 7 in the registry. Use regedit and give users modify permissions to the following key in the registry.</p>
<pre>HKLM\Software\Microsoft\Windows NT\Current Version\Fonts</pre>
<p>See diagram:</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/04/HKLM-Fonts-Permissions.jpg"  rel="lightbox[537]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/HKLM-Fonts-Permissions-300x300-0-img540.jpg" alt="HKLMSoftwareMicrosoftWindows NTCurrent VersionFonts" title="HKLM-Fonts-Permissions" width="300" height="275" class="alignnone size-medium wp-image-540" /></a>
<p>That&#8217;s it you done&#8230; Log out and test as a normal / non-administrator by right clicking the font and selecting &#8220;Install&#8221; from the context menu.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/04/allowing-non-administrators-to-install-fonts-in-windows-7/' addthis:title='Allowing Non-Administrators To Install Fonts In Windows 7 ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2011/04/allowing-non-administrators-to-install-fonts-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Windows 2008 Firewall and Remote Administration</title>
		<link>http://www.bohack.com/2011/02/windows-2008-firewall-and-remote-administration/</link>
		<comments>http://www.bohack.com/2011/02/windows-2008-firewall-and-remote-administration/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 20:47:40 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=532</guid>
		<description><![CDATA[Windows Advanced Firewall and Security is an excellent “feature add” to the Windows Operating System. In Windows XP Service Pack 2 the Firewall was introduced and was only able to block inbound and was just annoying outbound. In Windows Vista and Windows Server 2008 it was revamped to be bidirectional and included IPSEC and Connection [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/02/windows-2008-firewall-and-remote-administration/' addthis:title='Windows 2008 Firewall and Remote Administration ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Windows Advanced Firewall and Security is an excellent “feature add” to the Windows Operating System. In Windows XP Service Pack 2 the Firewall was introduced and was only able to block inbound and was just annoying outbound. In Windows Vista and Windows Server 2008 it was revamped to be bidirectional and included IPSEC and Connection Rules. Windows 7 also inherited the revamped and improved firewall as well as Windows Server 2008 R2.</p>
<p><span id="more-532"></span>Strictly speaking of the Windows 2008 / R2 operating system; the firewall is on by default and until you add a role, it is blocking everything inbound. By default it does not block any outbound traffic, but can be configured to do so. Since the server blocks everything inbound by default including PING, people often turn off the firewall in hopes to gain some control. This is not something you want to do, the firewall helps to lower your surface area of attack. In production environments I have network DVRs, domain controllers and file servers with the firewall on and all are working fine.</p>
<p>However if you try to connect to the server remotely with you computer management tools like event viewer, device manager, services or local users and groups: you’ll receive and error stating the RPC service is unavailable. One such error I received was “Event Viewer cannot connect to computer &#8216;server&#8217;. The Error reported is: The RPC server is unavailable.” Even after a role is configured the RPC server is blocking inbound requests to management interfaces in the Windows Server 2008 OS; this is normal and expected behavior. The inbound requests are to something called an end-point mapper, which is run within an svchost process.</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/02/RPC-Server-Unavailable.jpg"  rel="lightbox[532]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/RPC-Server-Unavailable-300x300-0-img533.jpg" alt="Event Viewer cannot connect to computer &#039;server&#039;. The Error reported is: The RPC server is unavailable." title="RPC-Service-is-Unavailable" width="300" height="217" class="alignnone size-medium wp-image-533" /></a>
<p>To fix the problem:</p>
<p>1.       Open “Windows Firewall with Advanced Security” from the run/search box.</p>
<p>2.       Click on “Inbound Rules” in the tree.</p>
<p>3.       In the results panel find “Remote Administration (RPC)”, right click on it and select “Enable Rule”.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/02/windows-2008-firewall-and-remote-administration/' addthis:title='Windows 2008 Firewall and Remote Administration ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2011/02/windows-2008-firewall-and-remote-administration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008 R2 Breaks WPAD</title>
		<link>http://www.bohack.com/2011/02/windows-server-2008-r2-breaks-wpad/</link>
		<comments>http://www.bohack.com/2011/02/windows-server-2008-r2-breaks-wpad/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 02:35:03 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=515</guid>
		<description><![CDATA[I had just completed a successful upgrade of my domain controllers at work to Windows Server 2008 R2. After the upgrade we found that anyone that used the proxy and relied in automatic settings could no longer receive the proxy address. This is in “Automatically detect settings” in the “LAN settings” of Internet Explorer options. [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/02/windows-server-2008-r2-breaks-wpad/' addthis:title='Windows Server 2008 R2 Breaks WPAD ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>I had just completed a successful upgrade of my domain controllers at work to Windows Server 2008 R2. After the upgrade we found that anyone that used the proxy and relied in automatic settings could no longer receive the proxy address. This is in “Automatically detect settings” in the “LAN settings” of Internet Explorer options.</p>
<p><span id="more-515"></span>After some research I found a TechNet Article http://technet.microsoft.com/en-us/library/cc794902%28WS.10%29.aspx that explained the motivation behind this. Basically when Internet Explorer starts up, it starts with the default of “Automatically detect settings” checked in the “Local Area Network (LAN) Settings” dialog box in Internet Explorer Options. So every time it starts it queries for wpad.FQDN and if it resolves it then grabs the wpad.dat. When your client boots up and the DHCP will configure option 15 for the domain name it appends this to the wpad. An example: if you machine boots up and retrieves option 15 as contoso.com. Then IE will try to retrieve http://wpad.contoso.com/wpad.dat.</p>
<p>Now let me explain why: Microsoft uses dynamic updates in DNS. Since most people do not use wpad entries; it introduces an attack vector. A malicious user would name their client “wpad” and serve a wpad.dat file from the host of their web server. When their client boots up it will try to register itself as “wpad.contoso.com” and now potentially all of your clients are proxy-ed thru a malicious host.</p>
<p>Microsoft closed the hole by automatically denying resolution of wpad.FQDN entries in the “Global Query Block List”. Which regardless of which zones you host on Microsoft DNS servers it will deny resolution of the wpad.</p>
<p>To fix this you will need to run the commands below against each of your DNS servers:</p>
<p>To see the “Global Query Block List”</p>
<pre>dnscmd [&lt;ServerName&gt;] /info /globalqueryblocklist

example:
dnscmd 192.168.1.1 /info /globalqueryblocklist
</pre>
<p>To fix the problem in the “Global Query Block List”</p>
<pre>dnscmd [&lt;ServerName&gt;] /config /globalqueryblocklist [&lt;name&gt; [&lt;name&gt;]...]

example:
dnscmd 192.168.1.1 /config /globalqueryblocklist isatap
</pre>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/02/windows-server-2008-r2-breaks-wpad/' addthis:title='Windows Server 2008 R2 Breaks WPAD ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2011/02/windows-server-2008-r2-breaks-wpad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008 R2 DC DNS Client Settings</title>
		<link>http://www.bohack.com/2011/02/windows-server-2008-r2-dc-dns-client-settings/</link>
		<comments>http://www.bohack.com/2011/02/windows-server-2008-r2-dc-dns-client-settings/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 22:03:54 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Server 2008]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=513</guid>
		<description><![CDATA[One such problem was called “DNS Islanding” detailed in Microsoft Knowledge Base article KB275278.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/02/windows-server-2008-r2-dc-dns-client-settings/' addthis:title='Windows Server 2008 R2 DC DNS Client Settings ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>As I finish up my migration from Windows 2003 to Windows 2008 R2 for my companie’s domain controllers; I run thru my check list of settings. The migration from 2003 to 2008 R2 was flawless, however many of the pain points from when I upgraded to 2000 were revisited.</p>
<p><span id="more-513"></span>One such problem was called “DNS Islanding” detailed in Microsoft Knowledge Base article KB275278. The problem exists if you point a Windows 2000 DC/DNS or Windows 2003 DC/DNS to itself and change it’s IP address. It will update the DNS zone it is in, however other DC/DNS unit will not update because the IP has changed and they don’t know where to contact it at; thus islanding the DC/DNS unit.</p>
<p>After spending much time on Microsoft’s TechNet Site I found the answer and best practice. Although the problem existed in Windows 2000 and Windows 2003; it has been corrected in Windows 2003 R2. Windows 2003 R2, Windows 2008, Windows 2008 R2 will change it’s host record on a sufficient number of DNS servers before it changes it’s own DNS server’s host record for itself. This fixes the DNS islanding problem that existed in earlier version of Windows Server. This was found in a blog post on Microsoft’s site by “jdphilli” on March 25<sup>th</sup> 2008, however no KB article or TechNet article was found.</p>
<p>I also found the best practice for Domain Controller DNS client settings in Windows 2008 / R2. It is best practice to point the client settings for the primary DNS to itself. The secondary DNS server should be pointed to another DC/DNS server (preferably the PDC emulator) and then any other DC/DNS servers in the site.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/02/windows-server-2008-r2-dc-dns-client-settings/' addthis:title='Windows Server 2008 R2 DC DNS Client Settings ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2011/02/windows-server-2008-r2-dc-dns-client-settings/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Make An Unattend.xml Sysprep File</title>
		<link>http://www.bohack.com/2011/01/how-to-make-an-unattend-xml-sysprep-file/</link>
		<comments>http://www.bohack.com/2011/01/how-to-make-an-unattend-xml-sysprep-file/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 21:17:28 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Sysprep]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=485</guid>
		<description><![CDATA[When you are cloning/imaging machines in mass it is extremely handy to automate as much as possible. Using the Windows AIK (Automated Installation Kit) specifically a tool called Windows SIM (System Image Manager) you can automate the entire process. The unattend.xml file is used along with sysprep to automate the image specialization and OOBE after it is cloned and rebooted.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/01/how-to-make-an-unattend-xml-sysprep-file/' addthis:title='How To Make An Unattend.xml Sysprep File ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Sysprep is very useful in preparing an image for cloning / imaging by stripping all specialization from the installation like: drives, SID, PNP enumeration, name and more. During the next reboot PNP is initiated and the Out Of Box Experience is run; this is similar to a preloaded laptop or computer from the factory starting up for the first time.<br />
<span id="more-485"></span><br />
When you are cloning/imaging machines in mass it is extremely handy to automate as much as possible. Using the Windows AIK (Automated Installation Kit) specifically a tool called Windows SIM (System Image Manager) you can automate the entire process. The unattend.xml file is used along with sysprep to automate the image specialization and OOBE after it is cloned and rebooted.</p>
<p>The following process will automate the sysprep so next reboot it will only ask for computer name. Some assumptions during this article are: you are creating an English/US install, you are using a KMS server and your timezone is EDT.</p>
<p>Step 1. &#8211; Download and install the latest WAIK from http://downloads.microsoft.com, the WAIK should support Windows 7 and 2008 R2 (check the date).</p>
<p>Step 2. &#8211; Get your media that you have installed with and mount it in the DVD-ROM or via and ISO mounting utility; if it is only and ISO. You will need to allow Windows SIM to access the install.wim in the next step.</p>
<p>Step 3. &#8211; Start Windows SIM and right click on “Select a Windows Image or Catalog” and find the “install.wim” in the sources directory on the media. In this tutorial I used x64 (amd64) media, this also works for x86 media; using the same steps.</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/Select-Windows-Image-SIM.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/Select-Windows-Image-SIM-300x300-0-img487.jpg" alt="Select Windows Image" title="Select Windows Image - SIM" width="300" height="240" class="alignnone size-medium wp-image-487" /></a>
<p>Step 4. &#8211; Now we need an answer file, so right click on “Create or open an answer file” and select “New Answer File”</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/New-Answer-File-SIM.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/New-Answer-File-SIM-300x300-0-img488.jpg" alt="New Answer File" title="New Answer File SIM" width="300" height="240" class="alignnone size-medium wp-image-488" /></a>
<p>Step 5. &#8211; On the left hand side open the “Components” folder and find “Microsoft-Windows-International-Core”, right click and select “Add Settings to Pass 7 oobeSystem”. It will be added to the answer file in the center.</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/Microsoft-Windows-International-Core-SIM.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/Microsoft-Windows-International-Core-SIM-300x300-0-img489.jpg" alt="Microsoft-Windows-International-Core" title="Microsoft-Windows-International-Core SIM" width="300" height="240" class="alignnone size-medium wp-image-489" /></a>
<p>Step 6. &#8211; Fill in the settings for InputLocale thru UserLocale in the properties pane; I used en-US for English language and United States locale. The “en-US” is defined in the RFC4646 actually two standards put together: the ISO 639-1 code for known languages and the ISO 3166-1 code for assigned country codes. Microsoft has an article of supported RFC4646 locales called the LCID reference http://msdn.microsoft.com/en-us/library/cc233965%28v=PROT.10%29.aspx</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/RFC4646-LCID-Locale.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/RFC4646-LCID-Locale-300x300-0-img490.jpg" alt="RFC4646 LCID Locale" title="RFC4646 LCID Locale" width="300" height="240" class="alignnone size-medium wp-image-490" /></a>
<p>Step 7. &#8211; On the left hand side under the “Components” folder and find “Microsoft-Windows-Shell-Setup_6.1.xxxxx”, right click and select “Add Settings to Pass 7 oobeSystem”. It will be added to the answer file in the center. Click on the Shell-Setup in the answer file section and fill in the TimeZone under properties. A list of these time zones can be found here http://technet.microsoft.com/en-us/library/cc749073%28WS.10%29.aspx.</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/Shell-Setup-Timezone-SIM.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/Shell-Setup-Timezone-SIM-300x300-0-img498.jpg" alt="Shell Setup Timezone" title="Shell Setup Timezone SIM" width="300" height="240" class="alignnone size-medium wp-image-498" /></a>
<p>Step 8. &#8211; Open the “Microsoft-Windows-Shell-Setup” folder in the answer file and find OOBE and click on it. In the properties page set “HideEULAPage” to true and Network Location to Work, Public or Home. The “ProtectYourPC” property can be set to: 1 for recommended protection, 2 for updates only and 3 for automatic protection to be disabled. These all related to the Windows Update protection. http://technet.microsoft.com/en-us/library/cc749278%28WS.10%29.aspx</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/OOBE-Settings-SIM.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/OOBE-Settings-SIM-300x300-0-img491.jpg" alt="OOBE Settings" title="OOBE Settings SIM" width="300" height="240" class="alignnone size-medium wp-image-491" /></a>
<p>Step 9. &#8211; We need to setup the first administrator account since Windows 7’s administrator account is disabled by default. Further down under “Microsoft-Windows-Shell-Setup” click on “UserAccounts” then right click on “LocalAccounts” and select “Insert New LocalAccount”.</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/Insert-New-LocalAccount.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/Insert-New-LocalAccount-300x300-0-img492.jpg" alt="Insert New LocalAccount" title="Insert New LocalAccount" width="300" height="240" class="alignnone size-medium wp-image-492" /></a>
<p>Step 10. &#8211; In the properties of the local account on the right side; fill out Description, DisplayName and Name. The Group must be “administrators”, so that you can locally administrate the computer (i.e. login local).</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/LocalAccount-Poperties-SIM.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/LocalAccount-Poperties-SIM-300x300-0-img493.jpg" alt="LocalAccount Poperties" title="LocalAccount Poperties SIM" width="300" height="240" class="alignnone size-medium wp-image-493" /></a>
<p>Step 11. &#8211; Click on “Password” under the “LocalAccount[Name=”username”] and in the properties pane set the password for the account. The password will be saved in the XML file however it will be encrypted (the encryption used is unspecified in Microsoft’s documentation).</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/LocalAccount-Password-SIM.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/LocalAccount-Password-SIM-300x300-0-img494.jpg" alt="LocalAccount Password" title="LocalAccount Password SIM" width="300" height="240" class="alignnone size-medium wp-image-494" /></a>
<p>Step 12. &#8211; On the left hand side under the “Components” folder and find “Microsoft-Windows-Shell-Setup_6.1.xxxxx”, right click and select “Add Settings to Pass 4 specialize”. It will be added to the answer file in the center; respectively under “4 Specialize”. Click on the Shell-Setup in the answer file section and fill in the “ProductKey” with the default KMS key found here http://technet.microsoft.com/en-us/library/ff793406.aspx. These product keys will not activate via Microsoft (retail), instead they are dummy keys for a Key Management Server to activate. The product key I used was for Windows 7 Enterprise “33PXH-7Y6KF-2VJC9-XBBR8-HVTHH”. Setting this will skip the activation question during setup, but make sure you have a KMS server running. Also make sure you have met the 25 client threshold or the KMS will not activate any of the clients. http://technet.microsoft.com/en-us/library/ff793434.aspx</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/KMS-Serial-Number-SIM.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/KMS-Serial-Number-SIM-300x300-0-img495.jpg" alt="KMS Serial Number" title="KMS Serial Number SIM" width="300" height="240" class="alignnone size-medium wp-image-495" /></a>
<p>Step 13. &#8211; Right click on the answer file and choose “Close Answer File” when prompted save it as “unattend.xml”.</p>
<a href="http://www.bohack.com/wp-content/uploads/2011/01/Save-Unattend.xml-SIM.jpg"  rel="lightbox[485]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/photojar/cache/Save-Unattend.xml-SIM-300x300-0-img496.jpg" alt="Save Unattend.xml" title="Save Unattend.xml SIM" width="300" height="240" class="alignnone size-medium wp-image-496" /></a>
<p>Step 14. &#8211; Copy the unattend.xml into “C:\windows\system32\sysprep” folder and create a startprep.cmd file containing the code below. The startprep.cmd file is not totally necessary, however I find it is best consistency; so the next time you do this you have the command at hand. You could just type the command into a CMD prompt.</p>
<pre>startprep.cmd

@echo off
cd c:\windows\system32\sysprep sysprep /oobe /generalize /unattend:c:\windows\system32\sysprep\unattend.xml
</pre>
<p>Step 15. &#8211; Run the startprep.cmd and the system will sysprep revert its specialized settings and drivers and shutdown. Create an image of the workstation using your favorite image software and distribute the image to other workstations. When they restart the unattend.xml file will be run along with sysprep and you will only be prompted for computer name.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/TkatLdaWQ7A?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1&amp;color1=0x006699&amp;color2=0x54abd6" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/TkatLdaWQ7A?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1&amp;color1=0x006699&amp;color2=0x54abd6" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<pre>
example unattend.xml

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;unattend xmlns="urn:schemas-microsoft-com:unattend"&gt;
&lt;settings pass="oobeSystem"&gt;
&lt;component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;InputLocale&gt;en-US&lt;/InputLocale&gt;
&lt;SystemLocale&gt;en-US&lt;/SystemLocale&gt;
&lt;UILanguage&gt;en-US&lt;/UILanguage&gt;
&lt;UILanguageFallback&gt;en-US&lt;/UILanguageFallback&gt;
&lt;UserLocale&gt;en-US&lt;/UserLocale&gt;
&lt;/component&gt;
&lt;component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;OOBE&gt;
&lt;HideEULAPage&gt;true&lt;/HideEULAPage&gt;
&lt;NetworkLocation&gt;Work&lt;/NetworkLocation&gt;
&lt;ProtectYourPC&gt;1&lt;/ProtectYourPC&gt;
&lt;/OOBE&gt;
&lt;UserAccounts&gt;
&lt;LocalAccounts&gt;
&lt;LocalAccount wcm:action="add"&gt;
&lt;Password&gt;
&lt;Value&gt;cABhAHMAcwB3AG8AcgBkAFAAYQBzAHMAdwBvAHIAZAA=&lt;/Value&gt;
&lt;PlainText&gt;false&lt;/PlainText&gt;
&lt;/Password&gt;
&lt;Description&gt;First Admin User&lt;/Description&gt;
&lt;DisplayName&gt;User&lt;/DisplayName&gt;
&lt;Group&gt;administrators&lt;/Group&gt;
&lt;Name&gt;User&lt;/Name&gt;
&lt;/LocalAccount&gt;
&lt;/LocalAccounts&gt;
&lt;/UserAccounts&gt;
&lt;TimeZone&gt;Eastern Standard Time&lt;/TimeZone&gt;
&lt;/component&gt;
&lt;/settings&gt;
&lt;settings pass="specialize"&gt;
&lt;component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;ProductKey&gt;33PXH-7Y6KF-2VJC9-XBBR8-HVTHH&lt;/ProductKey&gt;
&lt;/component&gt;
&lt;/settings&gt;
&lt;cpi:offlineImage cpi:source="wim:h:/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /&gt;
&lt;/unattend&gt;
</pre>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2011/01/how-to-make-an-unattend-xml-sysprep-file/' addthis:title='How To Make An Unattend.xml Sysprep File ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2011/01/how-to-make-an-unattend-xml-sysprep-file/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008 Replacement of ProxyCfg.exe</title>
		<link>http://www.bohack.com/2010/08/windows-server-2008-replacement-of-proxycfg-exe/</link>
		<comments>http://www.bohack.com/2010/08/windows-server-2008-replacement-of-proxycfg-exe/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 00:39:20 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[CMD]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=416</guid>
		<description><![CDATA[When setting up a secure server farm you always want to filter egress traffic. This means that all outbound traffic is blocked by default, including the web traffic from the servers. When surfing is required for drivers and downloads, this is usually handled by setting the proxy in the Internet Explorer options.  However if you want certain processes / services like Windows Update to automatically retrieve updates and wait for manual approval, the next time you login. You need to set a proxy server up and force the Local Machine to use it. The setting in the IE properties page is for the Current User only.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2010/08/windows-server-2008-replacement-of-proxycfg-exe/' addthis:title='Windows Server 2008 Replacement of ProxyCfg.exe ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>When setting up a secure server farm you always want to filter egress traffic. This means that all outbound traffic is blocked by default, including the web traffic from the servers. When surfing is required for drivers and downloads, this is usually handled by setting the proxy in the Internet Explorer options.  However if you want certain processes / services like Windows Update to automatically retrieve updates and wait for manual approval, the next time you login. You need to set a proxy server up and force the Local Machine to use it. The setting in the IE properties page is for the Current User only.</p>
<p><span id="more-416"></span>In Windows XP and Windows 2003 this was done via the command proxycfg.exe. You would simply set and unset the &#8220;Local Machine&#8221; proxy with the commands:</p>
<pre>The old way to set the "Local Machine" proxy:

Proxycfg –p {proxy address:port} {bypass list}

Proxycfg -p "proxy.bohack.com:8180" "&lt;local&gt;;*.bohack.com"

The old way to unset it:

Proxycfg –d
</pre>
<p>It basically sets the registry value below, to the values you specify in with the proxycfg command.</p>
<pre>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings</pre>
<p>So what happened to the &#8220;proxycfg.exe&#8221; command? Starting in Vista, Windows Server 2008 and Windows 7 you will no longer find the proxycfg command. It has now been replaced with the &#8220;netsh&#8221; command. This command can be used either interactively by tying &#8220;netsh&#8221; and navigating the tree of commands or used in a one line command sequence, like shown below.</p>
<pre>The new way to set the "Local Machine" Proxy:

netsh winhttp set proxy {proxy address:port} {bypass list}

netsh winhttp set proxy "proxy.bohack.com:8180" "&lt;local&gt;;*.bohack.com"

The new way to unset it:

netsh winhttp reset proxy

Check the settings with:

netsh winhttp show proxy
</pre>
<p>The new commands change the same registry value above, the only thing that changed it the command to set and unset the Local Machine proxy. Theoretically you could export out the registry setting and import it onto another machine.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2010/08/windows-server-2008-replacement-of-proxycfg-exe/' addthis:title='Windows Server 2008 Replacement of ProxyCfg.exe ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2010/08/windows-server-2008-replacement-of-proxycfg-exe/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dell OpenManage Problem &#8211; Hangs at Precopy Preparation</title>
		<link>http://www.bohack.com/2010/01/dell-openmanage-problem-hangs-at-precopy-preparation/</link>
		<comments>http://www.bohack.com/2010/01/dell-openmanage-problem-hangs-at-precopy-preparation/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 21:39:11 +0000</pubDate>
		<dc:creator>Bohack</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.bohack.com/?p=375</guid>
		<description><![CDATA[The Dell OpenManage DVD will hang at Precopy Preparation if burnt improperly to a DVD.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2010/01/dell-openmanage-problem-hangs-at-precopy-preparation/' addthis:title='Dell OpenManage Problem &#8211; Hangs at Precopy Preparation ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>When you purchase a Dell server you can purchase the Open Manage software, so they ship you media. OpenManage is the software that installs the maintenance partition and the automated install of the operating system as well as firmware updates. However if you did not get media with your server or want the latest version of software; you might run into a problem if you download the software with Internet Explorer and never read the instructions.</p>
<p><span id="more-375"></span>If you are looking for the latest OpenManage software for you servers, the first step is to go to http://support.dell.com and click on “Drivers and Downloads”. Next you will be prompted for the service tag or model of you unit you need to download Open Manage for. You will want to select “Systems Management” and search for “DVD ISO &#8211; Dell Systems Management Tools and Documentation”. You will want to select &#8220;More Download Options” from the right hand side. This selection might prompt you for the service tag since the OpenManage is model specific; so have the service tag handy.</p>
<p>Here you will find DVD ISO Image files; OM_6.2.0_SMTD_A00.iso.001 and OM_6.2.0_SMTD_A00.iso.002. These files are not ISO files they are actually half of the ISO file. So if you burn the first file you will boot up and be functional until you get to the “Precopy Preparation” where you will hang around 15% or 17%.</p>
<a href="http://www.bohack.com/wp-content/uploads/2010/01/dell-precopy-hang.jpg"  rel="lightbox[375]"  class="lightbox"><img src="http://www.bohack.com/wp-content/uploads/2010/01/dell-precopy-hang.jpg" alt="Dell Precopy Preparation Hang" title="dell-precopy-hang" width="400" height="293" class="aligncenter size-full wp-image-379" /></a>
<p>In order to fix the problem of OpenManage hanging at the “Precopy Preparation” stage: download both the files 001 and 002. Place them in a folder where you will concatenate them into one file. This process you will find under the instructions, however it is not documented anywhere else on the download page. So you think there are two separate ISO files and burn them only to find the first boots and hangs.</p>
<p>Dell does this to address a browser limitation around downloading large files (see Microsoft KB article 298618: You cannot download files that are 2 GB or larger &#8211; <a href="http://support.microsoft.com/kb/298618" target="_blank">http://support.microsoft.com/kb/298618</a>). Dell Systems Management Tools and Documentation DVD is no longer available as a single ISO for web download.</p>
<p><strong>Process:</strong></p>
<p>1. Download the two ISO file segments to an empty folder.<br />
2. Run the command to concatenate them into one file.</p>
<pre>copy /b OM_6.2.0_SMTD_A00.iso.001+OM_6.2.0_SMTD_A00.iso.002 OM_620_SMTD_A00.iso</pre>
<p>3. Burn the OM_620_SMTD_A00.iso file to DVD.</p>
<p>If you are running Linux the command is:</p>
<pre>Linux: cat OM* &gt; OM_620_SMTD_A00.iso</pre>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.bohack.com/2010/01/dell-openmanage-problem-hangs-at-precopy-preparation/' addthis:title='Dell OpenManage Problem &#8211; Hangs at Precopy Preparation ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.bohack.com/2010/01/dell-openmanage-problem-hangs-at-precopy-preparation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

