<?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>Teh Tech &#187; Registry</title>
	<atom:link href="http://tehtech.com/category/registry/feed/" rel="self" type="application/rss+xml" />
	<link>http://tehtech.com</link>
	<description>Being an Admin is Hard Enough</description>
	<lastBuildDate>Wed, 14 Jul 2010 16:14:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Trend Micro Client/Server Agent Uninstall Without Password</title>
		<link>http://tehtech.com/trend-micro-clientserver-agent-uninstall-without-password/</link>
		<comments>http://tehtech.com/trend-micro-clientserver-agent-uninstall-without-password/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 13:49:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Trend Micro]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=320</guid>
		<description><![CDATA[I am posting this because I have had this issue a few times and it seems to be happening more and more often to me.  The idea is that when you go to unload office scan, or the trend agent it prompts you for a password, you enter it and away you go.   The [...]]]></description>
			<content:encoded><![CDATA[<p>I am posting this because I have had this issue a few times and it seems to be happening more and more often to me.  The idea is that when you go to unload office scan, or the trend agent it prompts you for a password, you enter it and away you go.   The issue is when you have a client computer that is not communicating with the server as it should be, it cannot authenticate the password.  Here is the fix; in the registry key below change the DWORD value to a &#8217;1&#8242; instead of a &#8217;0&#8242;.   This change will allow for the uninstallation of the software without entering the password.</p>
<div class="box">[HKEY_LOCAL_MACHINESOFTWARETrendMicroPC-cillinNTCorpCurrentVersionMisc.]<br />
&#8220;Allow Uninstall&#8221;=dword:00000000</div>
<p>
[ad]</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/trend-micro-clientserver-agent-uninstall-without-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The 333 Event ID In The Application Event Log</title>
		<link>http://tehtech.com/the-333-event-id-in-the-application-event-log/</link>
		<comments>http://tehtech.com/the-333-event-id-in-the-application-event-log/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 02:52:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Event Log]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Application Error]]></category>
		<category><![CDATA[Event ID 333]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=294</guid>
		<description><![CDATA[I am writing this because I had a server doing this for a very long time before I pinned down the cause. This will include a lot of what I found on the internet and my own personal fix that worked for me. Example Event: Event Type: Error Event Source: Application Popup Event Category: None [...]]]></description>
			<content:encoded><![CDATA[<p>I am writing this because I had a server doing this for a very long time before I pinned down the cause. This will include a lot of what I found on the internet and my own personal fix that worked for me.</p>
<p>Example Event:</p>
<div class="box">Event Type: Error<br />
Event Source: Application Popup<br />
Event Category: None<br />
Event ID: 333<br />
Date: 3/23/2009<br />
Time: 2:44:53 PM<br />
User: N/A<br />
<a href="http://forums.techguy.org/networking/534339-event-id-333-windows-server.html#">Computer</a>: SERVER1<br />
Description:<br />
An I/O operation initiated by the Registry failed unrecoverably. The Registry could not read in, or write out, or flush, one of the files that contain the system&#8217;s image of the Registry. </p>
<p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.<br />
Data:<br />
0000: 00 00 00 00 01 00 6c 00 &#8230;&#8230;l.<br />
0008: 00 00 00 00 4d 01 00 c0 &#8230;.M..À<br />
0010: 00 00 00 00 4d 01 00 c0 &#8230;.M..À<br />
0018: 00 00 00 00 00 00 00 00 &#8230;&#8230;..<br />
0020: 00 00 00 00 00 00 00 00 &#8230;&#8230;..</div>
<p>Symptoms: Every third of a second or so there was an event id 333 error logged in the application event log on the server. This would start after the server has been up for a few hours to days and will stop for a period after the server was rebooted. The error occurred so often I was reaching 30,000 instances of the error in 24 hours. About 36 hours after the event started occurring no one was able to login active directory, and to get the server back up it required a manual hard reboot.</p>
<p> <span id="more-294"></span></p>
<p>Things I found on the internet: This error is often caused by lack of resources on the server. Either there is not enough addressable memory, your disk speed it too low, or something is functioning very sub optimally. Everything I found on the internet pointed to checking these:</p>
<p> <br />
[ad]</p>
<ul class="unIndentedList">
<li> /3GB  /PAE   and /USERVA switches in the boot ini.  It it worth evaluating if you have these set up right.  More often than not they are not needed at all.  <a href="http://blogs.technet.com/askperf/archive/2007/03/23/memory-management-demystifying-3gb.aspx">This</a> post on /3gb and /PAE and<a href="http://support.microsoft.com/?id=316739">this</a> article on /userva</li>
</ul>
<p></p>
<ul>
<li> Check performance. Use <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx">process explorer</a> to see if there is something creating a excessive number of threads, or handles.  Use it to monitor tasks and make sure no process is being greedy with CPU time or memory usage.</li>
<p></p>
<li> Disable Hot add Memory.  This has been useful to me on terminal servers before, though it did not fix my issue I have found a significant number of posts where it did.  Check out this <a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;913568">article</a>.</li>
<p></p>
<li> Out of date firmware and drivers.  This especially goes for RAID controllers and hard disks.  This can often times be really hard to upgrade without breaking the data on your disks.  If you are using a RAID controller with 6 year old firmware, chances are that it is not preforming optimally on your 2 TB RAID 5 configuration.  I would start by upgrading in this path: 1. RAID controller driver     2. Motherboard BIOS    3. Motherboard chipset drivers   4. RAID controller firmware    5.  Hard disk firmware.  Be very careful to check with the vendors before changing firmware on your disks or controller that it is not data destructive.</li>
<p></p>
<li> Update SQL.  If you are running SQL make sure you have all the updates, and that your memory usage in SQL is not set higher than 1/2 of your total available memory unless it is a detected SQL server.  </li>
<p></p>
<li> Disk Quotas.  Turn them off, i really don&#8217;t think anyone uses them anyways.  If you do make sure you don&#8217;t have any service running under a account that is subject to disk quotas.  for example if you have a 500 mb disk quota for all users, and your print spooler is running under a service account.  If a few people print big things, its not going to work and you will get 333 errors among other errors.</li>
<p></p>
<li> Page File.  Your page file should be 1.5 times your total system RAM.  On a server with 1 gb of RAM you would set this to 1.5 gb, do not allow for system managed pagefile.</li>
<p></p>
<li>Ntbackup.exe.  This can cause strange system hangs if you are having a issue with VSS, are running SQL, or exchange, or any other application that is very did write intensive.  I found several posts that pointed to nightly systemstate backups as the culprit.  You can disable this temporarily for troubleshooting.  </li>
<p></p>
<li>Old Antivirus.  Make sure you have the latest scan engine on your antivirus.  There were some examples of people that updated their antivirus and the issue was resolved like magic. </li>
<p></p>
<li>Virus/spyware.  This goes with out saying in most cases, but make sure there is nothing sketchy running on your server.</li>
<p>
</ul>
<p> </p>
<p>My solution:  For me the the solution was pagefile and disk quota.  The page file was system managed and moved to a disk off the primary partition.  This disk had disk quota limitations on it.  When things got intense and the server wanted more disk space for the page file quota management would slap its hand and make it put it back.  This was decreasing my performance and using causing a ton of errors.  I was effectively able to use 1.5gb of my pagefile on a server that was running exchange and SQL.  I turned off disk Quotas and change the pagefile to a set size, since doing this I have had no issues at all.<br />
[ad]</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/the-333-event-id-in-the-application-event-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change The Default Internet Explorer Homepage</title>
		<link>http://tehtech.com/change-the-default-internet-explorer-homepage/</link>
		<comments>http://tehtech.com/change-the-default-internet-explorer-homepage/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 01:34:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Kaseya]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Homepage]]></category>
		<category><![CDATA[Internet Explorer 7]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=290</guid>
		<description><![CDATA[I have a chunk of registry tweaks I run on new computers, this is one of them. It changes the internet explorer homepage to www.google.com, though you can use anything you like in place of google, perhaps a intranet page? Windows Registry Editor Version 5.00  [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMain] &#8220;Start Page&#8221;=&#8221;www.google.com&#8220; Simple but powerful, and can be [...]]]></description>
			<content:encoded><![CDATA[<p>I have a chunk of registry tweaks I run on new computers, this is one of them.  It changes the internet explorer homepage to www.google.com, though you can use anything you like in place of google, perhaps a intranet page?</p>
<div class="box">Windows Registry Editor Version 5.00 </p>
<p>[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMain]<br />
&#8220;Start Page&#8221;=&#8221;<span style="color: #ff0000;">www.google.com</span>&#8220;</div>
<p>Simple but powerful, and can be merged to the registry silently using regedit /s, or added to a list of registry hacks.</p>
<p>To use this with kaseya import the below script, change the <span style="color: #ff0000;">red</span> to your best practice and away you go.</p>
<div class="box">Script Name: Default IE Page &#8211; google<br />
Script Description: Set Default Page on Iternet Explorer.  </p>
<p>IF User Is Logged In<br />
Parameter 1 :<br />
THEN<br />
Set Registry Value<br />
Parameter 1 : HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainStart Page<br />
Parameter 2 : <span style="color: #ff0000;">http://www.google.com</span><br />
Parameter 3 : REG_SZ<br />
OS Type : 0<br />
ELSE</div>
<p>[ad]</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/change-the-default-internet-explorer-homepage/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 7 Search Provider Import/Export</title>
		<link>http://tehtech.com/internet-explorer-7-search-provider-import-export/</link>
		<comments>http://tehtech.com/internet-explorer-7-search-provider-import-export/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 00:47:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Kaseya]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Internet Explorer 7]]></category>
		<category><![CDATA[Search Provider]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=282</guid>
		<description><![CDATA[I recently came across a computer that for no good reason would seem to allow me to change or add a search provider.  When I would attempt to add a provider to the search bar (since google is tons better than the default; windows live) it would cause a fatal exception and close Internet Explorer.  After a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across a computer that for no good reason would seem to allow me to change or add a search provider.  When I would attempt to add a provider to the search bar (since google is tons better than the default; windows live) it would cause a fatal exception and close Internet Explorer.  After a ton of  searching, I could not find this anywhere on the internets so i think it is worth posting here.  <br />
<span id="more-282"></span><br />
I found the registry location of the search provider, and exported it from my computer.  Then i exported it into the mean computer and voila the new search provider was installed.  The below registry key can be added to the registry of a computer to add Google Search as a search provider and set it as defult.  If you want a different search provider just set it up on your computer and export the below key, note that you can also export more than one search provider with this method.  I have added these keys to the script of registry tweeks I run when installing a new OS.  hope this helps!</p>
<div class="box">Windows Registry Editor Version 5.00 </p>
<p>[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchScopes]<br />
&#8220;DefaultScope&#8221;=&#8221;{10C02F5B-9658-4FF2-944B-2C40A61E2F89}&#8221;<br />
&#8220;Version&#8221;=dword:00000001</p>
<p>[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchScopes{10C02F5B-9658-4FF2-944B-2C40A61E2F89}]<br />
&#8220;DisplayName&#8221;=&#8221;Google&#8221;<br />
&#8220;URL&#8221;=&#8221;http://www.google.com/search?q={searchTerms}&amp;rls=com.microsoft:{language}&amp;ie={inputEncoding}&amp;oe={outputEncoding}&amp;startIndex={startIndex?}&amp;startPage={startPage}&#8221;</p></div>
<p>To do this silently through Kaseya you can save the above as search.reg and upload it to your kserver. Make sure you change the <span style="color: #ff0000;">red</span> to match the path of your reg file.</p>
<div class="box">Script Name: Defult Search Provider Google<br />
Script Description: Add Google as search provider in IE 7 and Make it Default </p>
<p>IF True<br />
THEN<br />
Write File<br />
Parameter 1 : c:tempsearch.reg<br />
Parameter 2 : <span style="color: #ff0000;">adminRegsearch.reg</span><br />
OS Type : 0<br />
Execute Shell Command<br />
Parameter 1 : regedit /s c:tempsearch.reg<br />
Parameter 2 : 0<br />
OS Type : 0<br />
ELSE</div>
<p>[ad]</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/internet-explorer-7-search-provider-import-export/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieving Lost Product Keys with Magic Jelly Bean</title>
		<link>http://tehtech.com/retrieving-lost-product-keys-with-magic-jelly-bean/</link>
		<comments>http://tehtech.com/retrieving-lost-product-keys-with-magic-jelly-bean/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 02:20:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Magic Jelly Bean]]></category>
		<category><![CDATA[Product Key]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=249</guid>
		<description><![CDATA[A magic jelly bean; just in time for Easter.  I recently had to reinstall windows on a few computers at one of my clients. Unfortunately they are horribly disorganized and literally lost all the licenses information for office. I did a little digging around and happened to find this nifty little tool. It locates the [...]]]></description>
			<content:encoded><![CDATA[<p>A<a title="Magic Jelly Bean Keyfinder" href="http://www.magicaljellybean.com/keyfinder/"> </a><em><a title="Magic Jelly Bean Keyfinder" href="http://www.magicaljellybean.com/keyfinder/">magic</a></em><a title="Magic Jelly Bean Keyfinder" href="http://www.magicaljellybean.com/keyfinder/"> jelly bean</a>; just in time for Easter.  I recently had to reinstall windows on a few computers at one of my clients.  Unfortunately they are horribly disorganized and literally lost all the licenses information for office.  I did a little digging around and happened to find this nifty little tool.  It locates the registry key where the product keys are kept, decrypts it and plops it in plane text for your viewing pleasure.  Really helpful for reinstalling office when someone lost a product key.  Or for reinstalling windows when someone killed the COA on the computer case.</p>
<p>http://www.magicaljellybean.com/keyfinder/</p>
<p>[ad]</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/retrieving-lost-product-keys-with-magic-jelly-bean/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
