<?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>JJClements.co.uk &#187; Registry</title>
	<atom:link href="http://www.jjclements.co.uk/category/registry/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jjclements.co.uk</link>
	<description>Clem&#039;s Technical Blog</description>
	<lastBuildDate>Tue, 15 Nov 2011 00:16:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Windows 7 clean installation using upgrade disc 0xC004F061</title>
		<link>http://www.jjclements.co.uk/2010/04/15/windows-7-clean-installation-using-upgrade-disc-0xc004f061/</link>
		<comments>http://www.jjclements.co.uk/2010/04/15/windows-7-clean-installation-using-upgrade-disc-0xc004f061/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 14:40:07 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=862</guid>
		<description><![CDATA[When I received my Windows 7 upgrade media for a new HP laptop I wanted to perform a clean install of the OS. During the installation process, I was able to perform a clean install using the Custom (advanced) option when prompted for the 'type of installation' to proceed with. Selecting the Custom (advanced) option [...]]]></description>
			<content:encoded><![CDATA[<p>When I received my Windows 7 upgrade media for a new HP laptop I wanted to perform a clean install of the OS. During the installation process, I was able to perform a clean install using the Custom (advanced) option when prompted for the 'type of installation' to proceed with.</p>
<p><span id="more-862"></span></p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/04/win7installtype.png" alt="win7installtype.png" /></p>
<p>Selecting the Custom (advanced) option allowed me to remove existing partitions and install Windows 7 as I would have expected to out of the box, instead of having to perform a Vista to Windows 7 upgrade. After successful installation of the OS I installed the remaining drivers and then tried to activate. During the activation process I was prompted with an error.</p>
<blockquote><p>
The following failure occurred while trying to use the product key:</p>
<p>Code:<br />
0xC004F061</p>
<p>Description:<br />
The Software Licensing Service determined that this specified product key can only be used for upgrading, not for clean installations.
</p></blockquote>
<p>To activate Windows 7 after I used the upgrade disc to perform a clean installation I changed one registry key:</p>
<p>HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE</p>
<p>Value: <strong>MediaBootInstall</strong>= <strong>1</strong> changed to <strong>0</strong></p>
<p>After modifying the registry key I was able to activate successfully.</p>
<p>Download the regkey change - <a href="http://www.jjclements.co.uk/wp-content/uploads/2010/04/mediabootinstall.reg" target="_blank" rel="nofollow">HERE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/04/15/windows-7-clean-installation-using-upgrade-disc-0xc004f061/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server time synchronization</title>
		<link>http://www.jjclements.co.uk/2010/04/15/windows-server-time-synchronization/</link>
		<comments>http://www.jjclements.co.uk/2010/04/15/windows-server-time-synchronization/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 09:08:58 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[nt5ds]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[pdc]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[w32time]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=781</guid>
		<description><![CDATA[Something I have frequently seen implemented incorrectly on Windows Server domains is time synchronization. Many admins think that by creating a GPO with a modified policy setting for 'Configure Windows NTP Client' (and using it to address an NTP source) all Servers and Clients will synchronize their time with that source. This isn't entirely true [...]]]></description>
			<content:encoded><![CDATA[<p>Something I have frequently seen implemented incorrectly on Windows Server domains is time synchronization. Many admins think that by creating a GPO with a modified policy setting for 'Configure Windows NTP Client' (and using it to address an NTP source) all Servers and Clients will synchronize their time with that source. This isn't entirely true and there is actually a time hierarchy that should be considered when implementing time synchronization for each domain.</p>
<p><span id="more-781"></span></p>
<p>As far as W32Time (the Windows time service) is concerned, at the topmost level within the domain is the domain controller on which the <a rel="nofollow" href="http://en.wikipedia.org/wiki/Primary_Domain_Controller#Windows_2000:_PDC_emulation" target="_blank">PDC Emulator</a> Flexible Single Master Operation <a rel="nofollow" href="http://en.wikipedia.org/wiki/Flexible_single_master_operation" target="_blank">(FSMO)</a> role resides. This can be configured to synchronize it's time with a <a rel="nofollow" href="http://www.pool.ntp.org/en" target="_blank">reliable external time source</a>. By default all other domain controllers internally synchronize their time with the PDC Emulator. Similarly all domain member client computers synchronize their time with the domain controller that authenticates them.</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/04/timesync.png" alt="timesync.png" /></p>
<p>Configuring the domain controller where the PDC Emulator role resides should be the only computer in the domain that requires any manual intervention to have the precise time on all domain client computers.</p>
<p>To find out which server the PDC Emulator role resides on open the Active Directory Users and Computers (ADUC) snap-in. Then right click on your domain and select 'Operations Masters'. Browsing the PDC tab will show you where the PDC Emulator role currently resides.</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/04/pdcemulator.png" alt="pdcemulator.png" /></p>
<p>On the domain controller where the PDC Emulator resides you can configure it to synchronize its time with an external source by using the following command:</p>
<p><strong>net time /setsntp:&lt;ip/dns&gt;</strong></p>
<p>Use the following example to set multiple external time sources to sync with:</p>
<p><strong>net time /setsntp:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org"</strong></p>
<p>You can also configure this manually by modifying the following registry key:</p>
<p>HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters</p>
<p><strong>NtpServer=&lt;ip/dns&gt;</strong><br />
<strong>Type=NT5DS</strong> change this to <strong>Type=NTP</strong></p>
<p>After making the above changes restart the W32Time service by issuing the following commands at a command prompt:</p>
<p><strong>net stop w32time</strong><br />
<strong>net start w32time</strong></p>
<p>NOTE: If you don't configure the PDC Emulator to synchronize its time with an external source it will simply use its own (CMOS) clock. Doing so will occasionally cause an error to appear in the event log on the server that resembles the following:</p>
<blockquote><p>
Event Type: Error<br />
Event Source: W32Time<br />
Event Category: None<br />
Event ID: 12</p>
<p>Event description: Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the PDC emulator for the domain at the root of the forest, so there is no machine above it in the domain hierarchy to use as a time source.
</p></blockquote>
<p>NOTE: If you experience a client with time synchronization problems ensure that it has the correct time zone set. If needed, the time service can be reset using the following commands:</p>
<p><strong>net stop w32time</strong><br />
<strong>w32tm /unregister</strong><br />
<strong>w32tm /register</strong><br />
<strong>net start w32time</strong><br />
<strong>w32tm /resync</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/04/15/windows-server-time-synchronization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP cannot change computer name</title>
		<link>http://www.jjclements.co.uk/2010/02/15/windows-xp-cannot-change-computer-name/</link>
		<comments>http://www.jjclements.co.uk/2010/02/15/windows-xp-cannot-change-computer-name/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:07:01 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[tcp/ip]]></category>
		<category><![CDATA[winsock2]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=451</guid>
		<description><![CDATA[I was trying to deploy some software to a Windows XP SP3 client when I noticed that there seemed to be an issue with network connectivity. For some reason the client hadn't downloaded and installed any software hat had been pushed to it via SCCM. On the off chance, I happened to check the computer [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to deploy some software to a Windows XP SP3 client when I noticed that there seemed to be an issue with network connectivity. For some reason the client hadn't downloaded and installed any software hat had been pushed to it via SCCM. On the off chance, I happened to check the computer name in 'System Properties' (to see who the computer belonged to) and I noticed that the buttons for 'Network ID' and 'Change' were greyed out.</p>
<p><span id="more-451"></span></p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/02/systemproperties.png" alt="systemproperties.png" /></p>
<p>The machine had recently been re-imaged but as the organisation I work for requires that all users be local administrators on their own computer I suspected spyware/malware was to blame. Before I re-imaged the computer again (to be sure the machine was cleaned) I had a quick look at rectifying the connectivity issue. It seemed that Winsock2 (a Windows API that defines how Windows network software should access network services such as TCP/IP) had been corrupted. To manually reinstall TCP/IP and fix the Winsock2 issue I performed the following:</p>
<p>1. Browse Control Panel and then Network Connections<br />
2. Right-click on your network connection, and then click Properties<br />
3. Click the Install button<br />
4. Click Protocol and then click Add<br />
5. Click Have Disk when asked to Select a Network Protocol<br />
6. Browse to C:\Windows\inf (inf is hidden), then select Nettcpip.inf and click OK<br />
7. On the list of available protocols, click Internet Protocol (TCP/IP), and then click OK<br />
8. Restart computer</p>
<p>Following this process the buttons for 'Network ID' and 'Change' were no longer greyed out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/02/15/windows-xp-cannot-change-computer-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KiXtart script to enable Outlook Anywhere or RPC-HTTPS</title>
		<link>http://www.jjclements.co.uk/2009/08/07/kixtart-script-to-enable-outlook-anywhere-or-rpc-https/</link>
		<comments>http://www.jjclements.co.uk/2009/08/07/kixtart-script-to-enable-outlook-anywhere-or-rpc-https/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 16:43:27 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[outlook anywhere]]></category>
		<category><![CDATA[rpc-https]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=306</guid>
		<description><![CDATA[At work, people were using VPN to access their email out of the office, but I have always thought that logging into a corporate network via VPN for most users is an extra hassle that they could probably do without. I had considered setting up RPC over HTTPS for Exchange 2003 but during a meeting [...]]]></description>
			<content:encoded><![CDATA[<p>At work, people were using VPN to access their email out of the office, but I have always thought that logging into a corporate network via VPN for most users is an extra hassle that they could probably do without. I had considered setting up RPC over HTTPS for Exchange 2003 but during a meeting regarding disaster recovery it became evident it was actually now a necessity. So, after configuring the server for RPC-HTTPS I had the small problem of deploying the settings to Outlook clients en masse.</p>
<p><span id="more-306"></span></p>
<p>I had already used a <a href="http://www.kixtart.org" target="_blank" rel="nofollow">KiXtart</a> logon script to configure 'Cached Mode' for my Outlook 2003/7 clients by modifying some HKCU registry keys for users - <a href="http://www.jjclements.co.uk/index.php/2008/08/21/regkey-to-enable-disable-outlook-2003-cached-mode/" target="_blank" rel="nofollow">Regkey to enable &#038; disable Outlook 2003 cached mode</a>.</p>
<p>After setting up an Outlook client in VMware Workstation I configured RPC-HTTPS and exported the regkey from the post above (see below for the key.) A fresh install of Outlook with a clean profile and the above key imported revealed that the settings for RPC-HTTPS are stored in the same place as those in the post for enabling cached mode. A combination of changing the values in Outlook and using <a href="http://technet.microsoft.com/en-us/sysinternals/bb896652.aspx" target="_blank" rel="nofollow">Regmon</a> allowed me to narrow down exactly what each registry value is used for and the data that each value needs to contain (the data for each registry value is stored as type REG_BINARY which as hexadecimal is unreadable.)</p>
<p>Here is an outline of the registry key and each value with my own description:</p>
<p>HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\(profilename)\13dbb0c8aa05101a9bb000aa002fc45a</p>
<p>00036623 = Enables 'Connect to Microsoft Exchange using HTTP' as well as 'On fast/slow networks...'<br />
00036627 = Sets the proxy server authentication type (data: 01000000 -> Basic, 02000000 -> NTLM)<br />
001f6622 = Sets the 'proxy server for Exchange' (https://) text box<br />
001f6625 = Sets the 'this principle name' text box</p>
<p>One other registry key I had to set (as per <a href="http://support.microsoft.com/kb/820281" target="_blank" rel="nofollow">KB820281</a>) to stop clients being prompted for a username/password was:</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa</p>
<p>lmcompatibilitylevel = 3</p>
<p>I amended my <a href="http://www.kixtart.org" target="_blank" rel="nofollow">KiXtart</a> login script as follows with the new registry keys, values and their data. The next time users logged on they were connected using RPC over HTTPS:</p>
<p>WRITEVALUE("HKLM\SYSTEM\CurrentControlSet\Control\Lsa", "lmcompatibilitylevel", "3", "REG_DWORD")<br />
WRITEVALUE("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\13dbb0c8aa05101a9bb000aa002fc45a", "00036623", "2b000000", "REG_BINARY")<br />
WRITEVALUE("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\13dbb0c8aa05101a9bb000aa002fc45a", "00036627", "02000000", "REG_BINARY")<br />
WRITEVALUE("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\13dbb0c8aa05101a9bb000aa002fc45a", "001f6622", "xxxx", "REG_BINARY")<br />
WRITEVALUE("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\13dbb0c8aa05101a9bb000aa002fc45a", "001f6625", "xxxx", "REG_BINARY")</p>
<p>You can verify that users are connected using RPC over HTTPS by holding down CTRL and SHIFT on the keyboard and using the mouse to right-click the system tray icon. Click on the 'Connection Status...' option and you will see that the 'Conn' column displays multiple connections of type: HTTPS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2009/08/07/kixtart-script-to-enable-outlook-anywhere-or-rpc-https/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Black logon box and text fields on Windows Server 2003</title>
		<link>http://www.jjclements.co.uk/2009/07/08/black-logon-box-and-text-fields-on-windows-server-2003/</link>
		<comments>http://www.jjclements.co.uk/2009/07/08/black-logon-box-and-text-fields-on-windows-server-2003/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 11:16:53 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[logon]]></category>
		<category><![CDATA[msgina]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=279</guid>
		<description><![CDATA[I had a problem the other day when I went to logon to a server using RDP and the text fields where you enter your username and password were black! I typed in my credentials anyway and found that I could still logon to the server. After this there seemed to be no other issues. [...]]]></description>
			<content:encoded><![CDATA[<p>I had a problem the other day when I went to logon to a server using RDP and the text fields where you enter your username and password were black! I typed in my credentials anyway and found that I could still logon to the server. After this there seemed to be no other issues.</p>
<p><span id="more-279"></span></p>
<p>Here is what I was presented with when I tried to logon:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2009/07/blacklogon.png" alt="blacklogon.png" /></p>
<p>Around the time it happened I remember the OS volume running extremely low on space and figured it may be a corrupt user profile. So I renamed the profile and then tried to logon to the server again using Remote Desktop. I was again presented with the same logon screen with black text fields. After a quick search on the Microsoft knowledge base I came across an article that seemed to offer a workaround:</p>
<p><a href="http://support.microsoft.com/kb/906510" target="_blank" rel="nofollow">KB906510</a></p>
<p>I had a quick check of the HKEY_USERS\.Default\Control Panel\Colors registry key and surely enough lots of the colours were set to "0 0 0":</p>
<p>[HKEY_USERS\.DEFAULT\Control Panel\Colors]<br />
"ActiveBorder"="212 208 200"<br />
"ActiveTitle"="10 36 106"<br />
"AppWorkSpace"="128 128 128"<br />
"Background"="102 111 116"<br />
"ButtonAlternateFace"="181 181 181"<br />
"ButtonDkShadow"="64 64 64"<br />
"ButtonFace"="212 208 200"<br />
"ButtonHilight"="255 255 255"<br />
"ButtonLight"="212 208 200"<br />
"ButtonShadow"="128 128 128"<br />
"ButtonText"="0 0 0"<br />
"GradientActiveTitle"="166 202 240"<br />
"GradientInactiveTitle"="192 192 192"<br />
"GrayText"="128 128 128"<br />
"Hilight"="10 36 106"<br />
"HilightText"="255 255 255"<br />
"HotTrackingColor"="0 0 128"<br />
"InactiveBorder"="0 0 0"<br />
"InactiveTitle"="0 0 0"<br />
"InactiveTitleText"="0 0 0"<br />
"InfoText"="0 0 0"<br />
"InfoWindow"="0 0 0"<br />
"Menu"="0 0 0"<br />
"MenuText"="0 0 0"<br />
"Scrollbar"="0 0 0"<br />
"TitleText"="0 0 0"<br />
"Window"="0 0 0"<br />
"WindowFrame"="0 0 0"<br />
"WindowText"="0 0 0"<br />
"MenuHilight"="0 0 0"<br />
"MenuBar"="0 0 0"</p>
<p>I exported the same registry key from another server (that wasn't affected) and imported it into the registry of the server that was displaying the black logon screen. After logging off and back onto the server (no reboot necessary) the colours had returned to what they were previously:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2009/07/normallogon.png" alt="normallogon.png" /></p>
<p>The registry key values I exported came from a Server running Server 2003 Enterprise Edition but I have compared them to those of Server 2003 Standard Edition and they are the same. You can download the correct registry values from here:</p>
<p><a href="http://www.jjclements.co.uk/wp-content/uploads/2009/07/logoncolourfix.reg" target="_blank" rel="nofollow">Download registry values for KB906510</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2009/07/08/black-logon-box-and-text-fields-on-windows-server-2003/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>VMware VirtualCenter Server service VPXD fails to start</title>
		<link>http://www.jjclements.co.uk/2009/04/09/vmware-virtualcenter-server-service-vpxd-fails-to-start/</link>
		<comments>http://www.jjclements.co.uk/2009/04/09/vmware-virtualcenter-server-service-vpxd-fails-to-start/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 11:43:38 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=207</guid>
		<description><![CDATA[I have been using VMware ESX for quite a while now and while the technology is a brilliant concept every now and then I find a small problem or pitfall that always seems to bug me! I have a 3 node ESX cluster that I implemented in my work office and was working on configuring [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using VMware ESX for quite a while now and while the technology is a brilliant concept every now and then I find a small problem or pitfall that always seems to bug me! I have a 3 node ESX cluster that I implemented in my work office and was working on configuring a 5 node cluster when I noticed an issue with VCenter (formally Virtual Center) that had occurred in both environments. It seemed that for no apparent reason when I rebooted the server running VCenter the 'VMware VirtualCenter Server' (or 'vpxd' windows service name) service failed to start. This was kind of annoying, more so knowing that the new 5 node setup was going to a datacenter where people would be less likely to spot that it hadn't started after the reboot of the server running VCenter!</p>
<p><span id="more-207"></span></p>
<p>After a quick look in the application log on the server I could see that there was an error reported by the SQL instance (I use the SQL Server Express edition default installation for VCenter installations) just before the vpxd service had also logged an error. The first error appeared to be related to the vpxd service starting and establishing a connection to the SQL database. During the connection the authentication had failed and so the vpxd service had failed to start as per the second error.</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2009/04/vcenter-mssql-error.png" alt="vcenter-mssql-error.png" /></p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2009/04/vcenter-service-error.png" alt="vcenter-service-error.png" /></p>
<p>The immediate reason for this happening seemed to be because during boot up the vpxd service was attempting to start before the SQL service, except the vpxd service was almost relying on the SQL service having started before so that it could establish a connection to the SQL database. Without the SQL service starting prior to the vpxd service there was no way that the connection could be established.</p>
<p>I found that the workaround to this issue is to make the vpxd service dependent on the SQL Server service so that it waits for the SQL Server service to start before it attempts to start itself and a connection to the SQL database is established.</p>
<p>The easiest way to do this is:</p>
<p>1) Establish the service name of the SQL instance for VCenter. If you have installed VCenter using SQL Server Express edition then by default the name is 'MSSQL$SQLEXP_VIM'. If you have used a different version of SQL Server you will need to open the computer management console services snapin (start -> run -> services.msc) and find the service called SQL Server. Right click on the service and select properties to view the service name and make a note of it.</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2009/04/vcenter-service-name.png" alt="vcenter-service-name.png" /></p>
<p>2) Note: You can download the following regkey changes for SQL Server Express - <a href="http://www.jjclements.co.uk/wp-content/uploads/2009/04/vcenter-sql-dependency.reg" target="_blank" rel="nofollow">HERE</a></p>
<p>Open regedit (start -> run -> regedit) and navigate to the following key:</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpxd</p>
<p>Open the Multi String value for DependOnService by double clicking on the value. On a new line add the service name of your SQL instance. I added the following on a new line because I use SQL Server Express edition:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2009/04/vcenter-regkey.png" alt="vcenter-regkey.png" /></p>
<p>3) Close the registry editor, open services.msc again and check that the VMware VirtualCenter Server service is now dependent on the relevant the relevant SQL Server service.</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2009/04/vcenter-dependencies.png" alt="vcenter-dependencies.png" /></p>
<p>Since making the vpxd service dependent on the SQL Server service I have not had a problem rebooting a server running VCenter where the VMware VirtualCenter Server service fails to start.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2009/04/09/vmware-virtualcenter-server-service-vpxd-fails-to-start/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Regkey to disable XP dial-up connection logon</title>
		<link>http://www.jjclements.co.uk/2008/08/22/regkey-to-disable-xp-dial-up-connection-logon/</link>
		<comments>http://www.jjclements.co.uk/2008/08/22/regkey-to-disable-xp-dial-up-connection-logon/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 11:34:47 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[dun]]></category>
		<category><![CDATA[logon]]></category>
		<category><![CDATA[msgina]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=74</guid>
		<description><![CDATA[Here is a registry key I run from a startup script to disable the option that allows users to invoke a "Log on using dial-up connection". Having had experience of working in a school I know how kids will use any excuse to distract them from logging onto a computer and starting the lesson! Here [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a registry key I run from a startup script to disable the option that allows users to invoke a "Log on using dial-up connection". Having had experience of working in a school I know how kids will use any excuse to distract them from logging onto a computer and starting the lesson!</p>
<p><span id="more-74"></span></p>
<p>Here is the logon screen before the registry key has been added:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2008/08/beforedunregkey.png" alt="beforedunregkey.png" /></p>
<p>Here is what happens if a user selects the "Log on using dial-up connection" checkbox before logging on:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2008/08/duringdunlogon.png" alt="duringdunlogon.png" /></p>
<p>Setting the following registry key will disable the checkbox, disabling all users from using the dial-up connection feature:</p>
<p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</p>
<p>you will need to manually create a new string value (REG_SZ) called RasDisable. Set the value's data to 1.</p>
<p>Here is the final result:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2008/08/afterdunregkey.png" alt="afterdunregkey.png" /></p>
<p>And finally here is what I wrote to add the regkey to all computers using a <a href="http://www.kixtart.org" target="_blank" rel="nofollow">KiXtart</a> startup script through Group Policy:</p>
<p>;===============================================<br />
;===============================================<br />
;<br />
;       DISABLE LOGON USING DIAL-UP CONNECTION<br />
;<br />
;===============================================<br />
;===============================================</p>
<p>IF READVALUE("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "RasDisable") <>"1"<br />
	WRITEVALUE("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "RasDisable", "1", "REG_SZ")<br />
ENDIF</p>
<p>NOTE: I've noticed that the quote marks are not displayed properly on this page. Here is the <a href="http://www.kixtart.org" target="_blank" rel="nofollow">KiXtart</a> script in its intended form:</p>
<p><a href="http://www.jjclements.co.uk/wp-content/uploads/2008/08/kixtart-disable-logon-dun.txt" target="_blank" rel="nofollow">Download Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2008/08/22/regkey-to-disable-xp-dial-up-connection-logon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regkey to enable &amp; disable Outlook 2003 cached mode</title>
		<link>http://www.jjclements.co.uk/2008/08/21/regkey-to-enable-disable-outlook-2003-cached-mode/</link>
		<comments>http://www.jjclements.co.uk/2008/08/21/regkey-to-enable-disable-outlook-2003-cached-mode/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 08:38:20 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[outlook]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=70</guid>
		<description><![CDATA[Pre Microsoft office 2003 SP3, when creating a new MAPI email account in outlook 2003 the default setting was to "Use Cached Exchange Mode". I have noticed that after installing SP3 the default seems to now be disabled when creating an email account. The following registry key allows you to enable it again and can [...]]]></description>
			<content:encoded><![CDATA[<p>Pre Microsoft office 2003 SP3, when creating a new MAPI email account in outlook 2003 the default setting was to "Use Cached Exchange Mode". I have noticed that after installing SP3 the default seems to now be disabled when creating an email account. </p>
<p><span id="more-70"></span></p>
<p>The following registry key allows you to enable it again and can obviously be scripted to run for users at logon:</p>
<p>HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\(profilename)\13dbb0c8aa05101a9bb000aa002fc45a</p>
<p>Change the data stored within the 00036601 (REG_BINARY) value. These are the usable items of data that can be stored within the key value:</p>
<p>84 01 00 00 = cached mode enabled for email (the default setting pre SP3)<br />
84 05 00 00 = cached mode enabled for email, and public folders<br />
04 00 00 00 = cached mode disabled (default setting post SP3)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2008/08/21/regkey-to-enable-disable-outlook-2003-cached-mode/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Uninstall Symantec AV with an unknown password</title>
		<link>http://www.jjclements.co.uk/2007/11/15/uninstall-symantec-av-with-an-unknown-password/</link>
		<comments>http://www.jjclements.co.uk/2007/11/15/uninstall-symantec-av-with-an-unknown-password/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 13:04:12 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[pki]]></category>
		<category><![CDATA[UseVPUninstallPassword]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/index.php/2007/11/15/uninstall-symantec-av-with-an-unknown-password/</guid>
		<description><![CDATA[Here is a tip to uninstall Symantec Antivirus (I use the corporate edition) when the uninstall password has been forgotten (NOTE: the default password is symantec) OR you are using a Symantec Antivirus Server to manage clients and the server has been reinstalled or corrupted thus losing the server group root certificate (stored in the [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a tip to uninstall <a href="http://www.symantec.com" target="_blank" rel="nofollow">Symantec Antivirus</a> (I use the corporate edition) when the uninstall password has been forgotten (NOTE: the default password is symantec) OR you are using a Symantec Antivirus Server to manage clients and the server has been reinstalled or corrupted thus losing the server group root certificate (stored in the 'pki' folder located in C:\Program Files\Symantec AntiVirus, this should always be backed up!).</p>
<p><span id="more-55"></span></p>
<p>1. Open the registry editor on the client (regedit)</p>
<p>2. Find the following registry key:</p>
<p>HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\AdministratorOnly\Security</p>
<p>3. Change the data stored within the UseVPUninstallPassword value from 1 to 0</p>
<p>4. Clost regedit and try uninstalling Symantec Antivirus from the client. It should now uninstall without prompting for the password.</p>
<p>You can alternatively make the Registry key change (I.e. perform all of the above steps) by saving the following file to your computer, double clicking the file and merging the contents with your registry:</p>
<p><a href="http://www.jjclements.co.uk/wp-content/uploads/2007/11/SAV-No-Pasword.reg" target="_blank" rel="nofollow">Download Here</a> (you may need to right click this link and use "save as" to save it)</p>
<p>In a situation where you are running a Symantec Antivirus Server managing clients you will probably want to script the registry key change through a start-up script.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2007/11/15/uninstall-symantec-av-with-an-unknown-password/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

