<?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>ASP.NET MSSQL Webhosting Blog &#187; Windows 2003</title>
	<atom:link href="http://www.mywebhostingblog.net/tag/windows-2003/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mywebhostingblog.net</link>
	<description>ASP.NET, MSSQL and Windows dedicated server articles</description>
	<lastBuildDate>Thu, 16 Sep 2010 19:53:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Windows Clustering and Load Balancing, Explained</title>
		<link>http://www.mywebhostingblog.net/mssql-server-hosting/windows-clustering-and-load-balancing-explained/</link>
		<comments>http://www.mywebhostingblog.net/mssql-server-hosting/windows-clustering-and-load-balancing-explained/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 10:44:23 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Network Load Balancing]]></category>
		<category><![CDATA[NLB]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=380</guid>
		<description><![CDATA[Clustering in Windows 2003 Dedicated or Shared hosting is a means of providing High Availability to your applications and websites. Clustering is a group of machines acting as a single entity to provide resources and services to the network. In time of failure, a fail over will occur to a system in that group that [...]]]></description>
			<content:encoded><![CDATA[<p>Clustering in <strong>Windows 2003 Dedicated or Shared hosting</strong> is a means of providing High Availability to your applications and websites. Clustering is a group of machines acting as a single entity to provide resources and services to the network. In time of failure, a fail over will occur to a system in that group that will maintain availability of those resources to the network. You can be alerted to the failure, repair the system failure, and bring the system back online to participate as a provider of services once more. You learn about many forms of Windows clustering. <strong>Clustering </strong>in <strong>Windows </strong>2003 <strong>hosting </strong>can allow for <strong>failover </strong>to other systems and it can also allow for load balancing between systems. <strong>Load balancing</strong> in Windows 2003 <strong>hosting </strong>is using a device, which can be a server or an appliance, to balance the load of traffic across multiple <strong>servers </strong>waiting to receive that traffic. The device sends incoming <strong>traffic </strong>based on an algorithm to the most underused machine or spreads the traffic out evenly among all machines that are on at the time. A good example of using this <strong>technology</strong> would be if you had a web site that received 2,000 hits per day. If, in the months of November and December, your <strong>hit</strong> <strong>count </strong>tripled, you might be unable to sustain that type of increased load. Your customers might experience time outs,<br />
<span id="more-380"></span><br />
slow response times, or worse, they might be unable to get to the site at all. With that picture fresh in your mind, consider two <strong>servers </strong>providing the same web site. Now you have an alternative to slow response time and, by adding a second or a third server, the response time would improve for the customer. High Availability is provided because, with this technology, you can always have your web site or services available to the visiting <strong>Internet community</strong>. You have also systematically removed the single point of failure from the equation. A single point of <strong>failure </strong>is removed because you now have a form of redundancy added in.</p>
<p><strong>Pros and Cons to Windows 2003 Clustering and Load Balancing:</strong></p>
<p>You could now be asking yourself, which is better to implement, Windows clustering or load balancing hosting? To give you a quick rundown of the high-level pros and cons to each technology, consider the following. With <strong>Windows</strong> <strong>cluster hosting</strong>, you depend on the actual clustered nodes to make a decision about the state of the network and what to do in a failure. If <strong>Node </strong>A in a cluster senses a problem with Node B (<strong>Node </strong>B is down), then Node A comes online. This is done with heartbeat <strong>traffic</strong>, which is a way for Node A to know that Node B is no longer available and it must come online to take over the traffic. With load <strong>balancing</strong>, a single device (a network client) sends traffic to any available node in the <strong>load-balanced group</strong> of nodes. <strong>Load balancing</strong> uses heartbeat traffic as well but, in this case, when a node comes offline, the &#8220;load&#8221; is recalculated among the remaining nodes in the group. Also, with <strong>clustering </strong>(not <strong>load balancing</strong>), you&#8217;re normally tied down or restricted to a small number of participating nodes. For example, if you want to implement a <strong>clustered </strong>solution with <strong>Windows 2003 Advanced Server</strong>, you might use a two-node cluster. With load balancing, you can implement up to 32 nodes and, if you use a third-party utility, you can scale way beyond that number. You can even mix up the operating system (OS) platforms, if needed, to include <strong>Sun Solaris</strong> or any other system you might be running your services on. Finally, you have the option to set up tiered access to services and to mix both architectures (<strong>clustering </strong>and <strong>load balancing hosting</strong>) together. You can set up the first tier of access to your web servers as load balanced and the last tier of access as your clustered SQL databases.</p>
<p>With eukhost we have expertise for any feature as per your hosting requirement. We can also setup<strong> Windows Dedicated Cluster hosting</strong> along with<strong> Plesk control panel</strong>, this is something that only eUKhost can provide.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/mssql-server-hosting/windows-clustering-and-load-balancing-explained/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Fix for MSDTC Service errors in Windows Cluster</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/fix-for-msdtc-service-errors-in-windows-cluster/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/fix-for-msdtc-service-errors-in-windows-cluster/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 10:57:50 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[MSDTC]]></category>
		<category><![CDATA[MSDTC configuration]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=318</guid>
		<description><![CDATA[Some times Configuring MSDTC and their error can ruin your Windows Cluster service and your time as well. You may get one of the following error when you failover the MSDTC service from one Dedicated node to another. This would only happen if the Cluster services has been installed before installing and configuring MSDTC Service. [...]]]></description>
			<content:encoded><![CDATA[<p>Some times Configuring <strong>MSDTC</strong> and their error can ruin your <strong>Windows Cluster service</strong> and your time as well. You may get one of the following error when you failover the <strong>MSDTC </strong>service from one <strong>Dedicated </strong>node to another.</p>
<p>This would only happen if the <strong>Cluster services</strong> has been installed before installing and configuring MSDTC Service. Hence it is highly recommended that you first install and configure MSDTC and then configure the Windows Cluster Service.</p>
<p><code>Event ID: 4097<br />
Description:<br />
MS DTC started with the following settings: Security Configuration (OFF = 0 and ON = 1): Network Administration of Transactions = 1, Network Clients = 0, Distributed Transactions using Native MSDTC Protocol = 1, Transaction Internet Protocol (TIP) = 0, XA Transactions = 1.</code></p>
<p>OR</p>
<p><code>Event ID: 4395<br />
Description:<br />
MSDTC detected that MSDTC related information in the local registry is different from that in the shared cluster registry. Error Specifics: d:ntcomcom1xdtcsharedmtxclumtxclusetuphelper.cpp:541, CmdLine: C:WINNTSystem32msdtc.exe, Pid: 796<br />
Data:<br />
0000: 05 40 00 80 .@.?</code></p>
<p>OR</p>
<p><code>Event ID:	4384<br />
Description:<br />
MS DTC was unable to start because the installation was not configured to run on a cluster. Please run comclust.exe and restart MS DTC. Error Specifics: d:ntcomcom1xdtcsharedmtxclumtxclusetuphelper.cpp:668, CmdLine: C:WINNTSystem32msdtc.exe, Pid: 796</code></p>
<p>OR</p>
<p><code>Event ID : 7024<br />
Source : Service Control Manager<br />
Description: The MSDTC service terminated with service specific error 3221229584.</code></p>
<p>Initially you should try and run the command below and check if it solves the problem:</p>
<p><code>msdtc -resetlog</code></p>
<p>If that does not help then follow the fix below:</p>
<p><span id="more-318"></span></p>
<p>1. Delete the DTC resource<br />
2. Delete MSDTC folder from the quorum disk.</p>
<p><strong>On Node 1:</strong></p>
<p><strong>&#8211; Stop the Cluster Service</strong></p>
<p><strong>&#8211; Remove Enable network DTC  Service with the command below:</strong></p>
<p><code>msdtc -uninstall</code></p>
<p>Make sure to check the Success in the Event logs.</p>
<p><strong>&#8211; Verify that the following registry key has been removed as well.. if not then remove it manually.</strong></p>
<p><code>HKEY_CLASSES_ROOTCID<br />
HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSDTC<br />
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSDTC</code></p>
<p><strong>&#8211; Reboot the Server</strong></p>
<p><strong>&#8211; After the Server is back online reinstall Enable network DTC Service with the command below:</strong></p>
<p><code>msdtc -install</code></p>
<p>Now create the DTC resource on <strong>Node 1</strong> and it should come online.</p>
<p><strong>Now on Node 2</strong></p>
<p><strong>&#8211; Stop the Cluster Services.</strong></p>
<p><strong>&#8211; Evict Node 2 from the Cluster</strong></p>
<p><strong>&#8211; Remove Enable network DTC  Service with the command below:</strong></p>
<p><code>msdtc -uninstall</code></p>
<p>Make sure to check the Success in the Event logs.</p>
<p><strong>&#8211; Verify that the registry key has been removed as well.. if not then remove it manually.</strong></p>
<p><strong>&#8211; Reboot<br />
</strong></p>
<p><strong>&#8211; </strong><strong>Reinstall Enable network DTC Service with the command below:</strong></p>
<p><code>msdtc -install</code></p>
<p><strong>&#8211; Verify that the Service has now Started and also registry keys created.</strong></p>
<p><strong>&#8211; Rejoin the node back into the cluster.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/fix-for-msdtc-service-errors-in-windows-cluster/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Checklists for Windows Cluster:</title>
		<link>http://www.mywebhostingblog.net/hosting-security/checklists-for-windows-cluster/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/checklists-for-windows-cluster/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 23:38:27 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[cluster node configuration]]></category>
		<category><![CDATA[Cluster Prerequisite]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=333</guid>
		<description><![CDATA[This checklist helps you prepare for installation. It is very important to go through all of them else it make it very difficult to restart if either one of them is missed or not configured: Software Requirements •    Microsoft Windows Server 2003 Enterprise Edition or Windows Server 2003 Datacenter Edition installed on all dedicated servers [...]]]></description>
			<content:encoded><![CDATA[<p>This checklist helps you prepare for installation. It is very important to go through all of them else it make it very difficult to restart if either one of them is missed or not configured:</p>
<p><strong>Software Requirements</strong></p>
<p>•    Microsoft <strong>Windows Server 2003</strong> Enterprise Edition or <strong>Windows Server 2003</strong> Datacenter Edition installed on all <strong>dedicated servers</strong> in the cluster.<br />
•    A name resolution method such as Domain Name System (<strong>DNS</strong>), <strong>DNS </strong>dynamic update protocol, Windows Internet Name Service (WINS), HOSTS, and so on.</p>
<p><span id="more-333"></span>•    An existing domain model.<br />
•    All nodes must be members of the same domain.<br />
•    A domain-level account that is a member of the local administrators group on each node. A dedicated account is recommended.</p>
<p><strong>Hardware Requirements</strong></p>
<p>•    Clustering hardware must be on the cluster service<strong> Hardware Compatibility List</strong> (HCL). To find the latest version of the cluster service HCL, go to the Windows Hardware Compatibility List at<strong> http://www.microsoft.com/hcl/</strong>, and then search for cluster. The entire solution must be certified on the HCL, not just the individual components.</p>
<p>•    Two mass storage device controllers—Small Computer System Interface (<strong>SCSI</strong>) or Fibre Channel. A local system disk for the operating system (<strong>OS</strong>) to be installed on one controller. A separate peripheral component interconnect (PCI) storage controller for the shared disks.<br />
•    Two <strong>PCI </strong>network adapters on each node in the cluster.<br />
•    Storage cables to attach the shared storage device to all computers. Refer to the manufacturers instructions for configuring storage devices..<br />
•    All hardware should be identical, slot for slot, card for card, <strong>BIOS</strong>, firmware revisions, and so on, for all nodes. This makes configuration easier and eliminates compatibility problems.</p>
<p><strong>Network Requirements</strong></p>
<p>•    A unique <strong>NetBIOS </strong>name.<br />
•    Static IP addresses for all network interfaces on each node.<br />
•    Access to a domain controller. If the cluster service is unable to authenticate the user account used to start the service, it could cause the cluster to fail. It is recommended that you have a<strong> domain controller</strong> on the same local area network (<strong>LAN</strong>) as the cluster is on to ensure availability.<br />
•    Each node must have at least two network adapters—one for connection to the client public network and the other for the node-to-node private cluster network. A dedicated private network adapter is required for <strong>HCL </strong>certification.<br />
•    All nodes must have two physically independent LANs or virtual <strong>LANs </strong>for public and private communication.<br />
•    If you are using fault-tolerant network cards or network adapter teaming, verify that you are using the most recent firmware and drivers. Check with your network adapter manufacturer for cluster compatibility.</p>
<p><strong>Shared Disk Requirements:</strong></p>
<p>•    An <strong>HCL-approved</strong> external disk storage unit connected to all computers. This will be used as the clustered shared disk. Some type of a hardware redundant array of independent disks (<strong>RAID</strong>) is recommended.<br />
•    All shared disks, including the quorum disk, must be physically attached to a shared bus.<br />
•    Shared disks must be on a different controller then the one used by the system drive.<br />
•    Creating multiple logical drives at the hardware level in the <strong>RAID </strong>configuration is recommended rather than using a single logical disk that is then divided into multiple partitions at the operating system level. This is different from the configuration commonly used for stand-alone servers. However, it enables you to have multiple disk resources and to do Active/Active configurations and manual load balancing across the nodes in the cluster.<br />
•    A dedicated disk with a minimum size of 50 megabytes (MB) to use as the quorum device. A partition of at least 500 MB is recommended for optimal <strong>NTFS </strong>file system performance.<br />
•    Verify that disks attached to the shared bus can be seen from all nodes. This can be checked at the host adapter setup level. Refer to the manufacturer’s documentation for adapter-specific instructions.<br />
•    SCSI devices must be assigned unique <strong>SCSI </strong>identification numbers and properly terminated according to the manufacturer’s instructions.<br />
•    All shared disks must be configured as basic disks.<br />
•    Software fault tolerance is not natively supported on cluster shared disks.<br />
•    All shared disks must be configured as master boot record (<strong>MBR</strong>) disks on systems running the 64-bit versions of <strong>Windows Server 2003</strong>.<br />
•    All partitions on the clustered disks must be formatted as <strong>NTFS</strong>.<br />
•    Hardware fault-tolerant <strong>RAID </strong>configurations are recommended for all disks.<br />
•    A minimum of two logical shared drives is recommended.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/checklists-for-windows-cluster/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Check list for Remote Desktop not Working</title>
		<link>http://www.mywebhostingblog.net/hosting-security/check-list-for-remote-desktop-not-working/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/check-list-for-remote-desktop-not-working/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 07:32:24 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Terminal Services]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows firewall]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=371</guid>
		<description><![CDATA[Remote Desktop [RDP] not Working..? This applies to all versions of Windows 2003 and Windows 2008 and also to Vista and XP Professional. This problem normally occurs to our client with Dedicated Server hosting. So I thought I will create a check list to make their hosting service a bit easy. Yes, you will need [...]]]></description>
			<content:encoded><![CDATA[<p>Remote Desktop [<strong>RDP</strong>] not Working..?</p>
<p>This applies to all versions <strong>of Windows 2003</strong> and <strong>Windows 2008</strong> and also to <strong>Vista </strong>and <strong>XP Professional</strong>. This problem normally occurs to our client with <strong>Dedicated Server hosting</strong>. So I thought I will create a check list to make their hosting service a bit easy.<br />
Yes, you will need physical access to the machine to check this, it is obvious that you will not be able to check this problem unless you have remote access to the server. These steps can only be performed if you have physical access to the dedicated server or through a Keyboard-Video-Mouse [<strong>KVM</strong>]. So there we go:</p>
<p>* First thing that you need to check is whether the <strong>Remote Desktop Console</strong> [RDC] is enabled on your server.<br />
Go to Desktop &gt;&gt; My Computer &gt;&gt; Properties &gt;&gt; Remote Tab<br />
Check the box for &#8220;<strong>Enable Remote Desktop on this computer</strong>&#8221; and click OK.</p>
<p><img class="aligncenter size-medium wp-image-372" title="windows-dedicated-hosting-enable-remote-desktop-1" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-enable-remote-desktop-1-262x300.png" alt="windows-dedicated-hosting-enable-remote-desktop-1" width="262" height="300" /></p>
<p><span id="more-371"></span></p>
<p>* If the above option is enabled then make sure that the user which you are using to connect the server remotely is added in the &#8220;<strong>Remote Desktop users&#8221;</strong> group. Administrators are normally added in the group. This can be confirmed from with the steps below:<br />
Go to Desktop &gt;&gt; My Computer &gt;&gt; Mange<br />
Expand Local Users and Group &gt;&gt; Select Group.<br />
Double click on &#8220;<strong>Remote Desktop Users</strong>&#8221; Group and make sure that the user is added in here.</p>
<p><img class="aligncenter size-medium wp-image-373" title="windows-dedicated-hosting-rdp-group" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-rdp-group-270x300.png" alt="windows-dedicated-hosting-rdp-group" width="270" height="300" /></p>
<p>* If both the above settings are correct then you need to make sure that TCP port 3389, which is the default port for RDC is enabled in the firewall of the machine that is used to RDP the server. Vise a verse make sure that the server firewall also has this port added in the exception. The best way to check this is:</p>
<p>First make sure that the server listens to telnet, try telnet of any other port which you are sure is working on the server like port 80 or 25. The command would be:</p>
<p><code>TELNET ip_address 25</code></p>
<p>If this works then try telnet on port 3389.</p>
<p><code>TELNET ip_address 3389</code></p>
<p>* If the telnet is not working then there are several possibilities, it can be the firewall on your machine or the firewall on the server tha is blocking the port. It can also be the case that <strong>Terminal Server Service</strong> did not start for some reasons. Or in a very rare situation it could be that the RDP port has been changed by some one. We will rectify all the possibilities one by one:</p>
<p>* Check the firewall on your machine or just shut the firewall down and then try the telnet again.</p>
<p>* If you have <strong>Windows Firewall</strong> then make sure that <strong>Remote Desktop</strong> is added in Exception.<br />
Goto Start &gt;&gt; All Programs &gt;&gt; Control Panel &gt;&gt; Windows Firewall<br />
If you have a third party firewall your dedicated server then just disable it and try the telnel option.</p>
<p><img class="aligncenter size-medium wp-image-374" title="windows-dedicated-hosting-firewall" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-firewall-256x300.png" alt="windows-dedicated-hosting-firewall" width="256" height="300" /></p>
<p>* If that is not the firewall issue make sure that <strong>Terminal Server Service</strong> is set to Automatic and is running. This server depends on <strong>Remote Procedure Call</strong> Service and you get errors while starting the server and you will need to trouble shoot the problem. If the server is terminating unexpectedly then make sure that the Hardware profile of the server is set to &#8220;Enable&#8221;:</p>
<p><img class="aligncenter size-medium wp-image-375" title="windows-dedicated-hosting-terminal-service" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-terminal-service-266x300.png" alt="windows-dedicated-hosting-terminal-service" width="266" height="300" /></p>
<p>* Sometimes client with <strong>Windows Dedicated Hosting</strong> package change the RDP port of their server and forget it, the steps below can be used for checking the RDP port as well as changing it as well, these steps will require to make changes in Registry hence it is recommended to backup the registry before following these steps:</p>
<p>Goto Start &gt;&gt; Run<br />
Type: regedit to open the registry editor MMC<br />
Expand to the Key:<br />
<code>[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp]</code><br />
Modify the value for Key &#8220;PortNumber&#8221;<br />
Change Base to Decimal</p>
<p><img class="aligncenter size-medium wp-image-376" title="windows-dedicated-hosting-rdp-port" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-rdp-port-300x177.png" alt="windows-dedicated-hosting-rdp-port" width="300" height="177" /><br />
Change Value data to the port your desire for your Dedicated Server<br />
Click OK<br />
Reboot the Machine.</p>
<p>Once the machine is online you will have to define your the port to connect your Dedicated Server remotrly<br />
<code>ip_address:port_number<br />
10.10.10.52:3362</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/check-list-for-remote-desktop-not-working/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to Block IP on Windows.</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/how-to-block-ip-on-windows/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/how-to-block-ip-on-windows/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 09:49:22 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Block]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[IPSec]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=285</guid>
		<description><![CDATA[It is very easy to block a single IP address on a Linux server but Windows Default firewall doesn&#8217;t allow us to block a single IP address on the server or for particular ports. However Microsoft released this and introduced IP Security Polices in their Local Security Polices option in the release of their SP2. [...]]]></description>
			<content:encoded><![CDATA[<p>It is very easy to block a single IP address on a <strong>Linux </strong>server but <strong>Windows </strong>Default <strong>firewall </strong>doesn&#8217;t allow us to block a single IP address on the server or for particular ports. However <strong>Microsoft </strong>released this and introduced <strong>IP Security Polices</strong> in their <strong>Local Security Polices</strong> option in the release of their SP2. But most of us are not aware of this option and we mostly adopted third party firewall and pay for their heavy license. However Firewall onl Windows 2008 Server is far more advanced than that on Windows 2003.</p>
<p>It would not be the case now as I have listed detailed steps along with the images on how to block IP using the IP security policy in Windows. This option is also available in <strong>XP </strong>as well as <strong>Windows 2003</strong> Server edition.</p>
<p><strong>How to BLock IP Using Windows:</strong></p>
<p>You can either open MMC from START &gt;&gt; RUN &gt;&gt; MMC and add a new Snapin for IP Security policy with steps below:</p>
<p><span id="more-285"></span></p>
<p>Click &#8216;Start&#8217; &gt; &#8216;Run&#8217; &gt;type &#8216;MMC&#8217; press ok.<br />
In the console click &gt; &#8216;File&#8217; &gt; &#8216;Add/Remove Snap in&#8217;<br />
In the &#8216;Standalone Tab&#8217; click The &#8216;add&#8217; button<br />
Seclect &#8216;IP Security Policy Managment&#8217; &gt; &#8216;ADD&#8217; &gt; &#8216;Local Computer&#8217; &gt; &#8216;finish&#8217;  &gt; &#8216;close&#8217; &gt; &#8216;ok&#8217;<br />
You should now be back to the Management console.</p>
<p>OR</p>
<p>Just goto START &gt;&gt; PROGRAMS &gt;&gt; ADMINISTRATIVE TOOLS &gt;&gt; LOCAL SECURITY POLICIES ON LOCAL COMPUTER to open the IP Security Management Console.</p>
<p>1. Select IP Security Policy and Right Click on the right pane to select new Policy. The screen will like an image below:</p>
<div id="attachment_288" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-1.png"><img class="size-medium wp-image-288" title="block-ip-in-windows-1" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-1-300x179.png" alt="Windows IPSecurity Policies" width="300" height="179" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>2. This will open the IP Security Policy Wizard, Just click on Next button.</p>
<div id="attachment_289" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-2.png"><img class="size-medium wp-image-289" title="block-ip-in-windows-2" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-2-300x238.png" alt="Figure 2" width="300" height="238" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>3. On the Next screen you have to define the name of your IP Security policy and its description and then click Next Button.</p>
<div id="attachment_290" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-3.png"><img class="size-medium wp-image-290" title="block-ip-in-windows-3" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-3-300x240.png" alt="Figure 3" width="300" height="240" /></a><p class="wp-caption-text">Figure 3</p></div>
<p>4. Plesk uncheck the box for &#8220;<strong>Activate the default Response Rule</strong>&#8221; and then click Next Button..</p>
<div id="attachment_291" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-4.png"><img class="size-medium wp-image-291" title="block-ip-in-windows-4" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-4-300x238.png" alt="Figure 4" width="300" height="238" /></a><p class="wp-caption-text">Figure 4</p></div>
<p>5. On the Next screen remove the check for <strong>Edit Properties</strong> and Click Finish.</p>
<div id="attachment_292" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-5.png"><img class="size-medium wp-image-292" title="block-ip-in-windows-5" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-5-300x237.png" alt="Figure 5" width="300" height="237" /></a><p class="wp-caption-text">Figure 5</p></div>
<p>6. Once you click on the Finish Button you will see the screen below along with your rule being added to the list. Now we will create an <strong>IP filter list </strong>to block IPs.</p>
<div id="attachment_293" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-6.png"><img class="size-medium wp-image-293" title="block-ip-in-windows-6" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-6-300x177.png" alt="Figure 6" width="300" height="177" /></a><p class="wp-caption-text">Figure 6</p></div>
<p>7. Double click on the rule you have just create to open the properties window:</p>
<div id="attachment_294" class="wp-caption aligncenter" style="width: 277px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-7.png"><img class="size-medium wp-image-294" title="block-ip-in-windows-7" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-7-267x300.png" alt="Figure 7" width="267" height="300" /></a><p class="wp-caption-text">Figure 7</p></div>
<p>8. Since we have chosen to uncheck <strong>&#8220;Activate the default Response Rule&#8221; </strong>in Step 4 the Dynamic rule in not applied. Click on Add button to open <strong>Security Rule Wizard</strong> and Click again on Add button to open <strong>IP Filter List Wizard.</strong></p>
<div id="attachment_295" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-8.png"><img class="size-medium wp-image-295" title="block-ip-in-windows-8" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-8-300x239.png" alt="" width="300" height="239" /></a><p class="wp-caption-text">Figure 8</p></div>
<p>9. You will have a screen some what in Figure 9. Put in the name of your list and Click on the Add button.</p>
<div id="attachment_296" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-9.png"><img class="size-medium wp-image-296" title="block-ip-in-windows-9" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-9-300x238.png" alt="Figure 9" width="300" height="238" /></a><p class="wp-caption-text">Figure 9</p></div>
<p>10. This will open another window for you to add IP and ports in the IP Filter list. In the Description box just put in the IP address that you want to block and make sure that you keep the check on the box for <strong>&#8220;Mirrored. Match packets with the exact appropriate source and destination addresses&#8221;</strong> and click on the Next button.</p>
<div id="attachment_297" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-10.png"><img class="size-medium wp-image-297" title="block-ip-in-windows-10" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-10-300x233.png" alt="Figure 10" width="300" height="233" /></a><p class="wp-caption-text">Figure 10</p></div>
<p>11. Select <strong>My IP address</strong> in the <strong>Sources Address</strong> from the drop down list.</p>
<div id="attachment_298" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-11.png"><img class="size-medium wp-image-298" title="block-ip-in-windows-11" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-11-300x233.png" alt="Figure 11" width="300" height="233" /></a><p class="wp-caption-text">Figure 11</p></div>
<p>12. You have many more options to select from the list for both in Sources and Destination Address. You will need some advanced knowledge to work with those option. We will select My IP address for now and click on Next button.</p>
<div id="attachment_299" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-12.png"><img class="size-medium wp-image-299" title="block-ip-in-windows-12" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-12-300x233.png" alt="Figure 12" width="300" height="233" /></a><p class="wp-caption-text">Figure 12</p></div>
<p>13. In the IP Traffic Destination, select <strong>&#8220;A specific IP Address&#8221;</strong> and enter the IP address that you want to block on your machine. Here you can also select a sub net from the drop down and block the entire subnet. Once you finish entering an IP/Subnet, click on Next button.</p>
<div id="attachment_300" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-13.png"><img class="size-medium wp-image-300" title="block-ip-in-windows-13" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-13-300x233.png" alt="Figure 13" width="300" height="233" /></a><p class="wp-caption-text">Figure 13</p></div>
<p>14. Here in <strong>IP Protocol Type</strong> you can define the protocol that you want to block, it can be any one from the list for example <strong>TCP, UDP, ICMP etc.</strong> We will select <strong>ANY</strong> which mean all connect from a specific IP address. If you select a protocol from the list andclick Next it will ask you to enter the port address that you want to block, example 80 (See Figure 14.2). But since we want to block all ports we will select Any and click Next (Figure 14.1) and then Finish.</p>
<div id="attachment_301" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-14.png"><img class="size-medium wp-image-301" title="block-ip-in-windows-14" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-14-300x233.png" alt="Figure 14" width="300" height="233" /></a><p class="wp-caption-text">Figure 14.1</p></div>
<div id="attachment_312" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-142.png"><img class="size-medium wp-image-312" title="block-ip-in-windows-142" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-142-300x233.png" alt="Figure 14.2" width="300" height="233" /></a><p class="wp-caption-text">Figure 14.2</p></div>
<p>15.  After you click on Finish button you will see that the rule has been added in the IP filter list. If you want to add more IP and subnets then click on the Add button to add another rule or block 2nd IP. Once you finish with it you will have rules as in Figure 15.2.</p>
<div id="attachment_302" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-15.png"><img class="size-medium wp-image-302" title="block-ip-in-windows-15" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-15-300x238.png" alt="Figure 15" width="300" height="238" /></a><p class="wp-caption-text">Figure 15.1</p></div>
<div id="attachment_313" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-152.png"><img class="size-medium wp-image-313" title="block-ip-in-windows-152" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-152-300x238.png" alt="Figure 15.2" width="300" height="238" /></a><p class="wp-caption-text">Figure 15.2</p></div>
<p>16. Once your <strong>IP Filter List</strong> is complete click on the <strong>OK</strong> button to get back <strong>Security Rule Wizard.</strong> Select the IP filter list which you have created by clicking on the radio button and click Next.</p>
<div id="attachment_303" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-16.png"><img class="size-medium wp-image-303" title="block-ip-in-windows-16" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-16-300x239.png" alt="Figure 16" width="300" height="239" /></a><p class="wp-caption-text">Figure 16</p></div>
<p>17. In the Next screen of Security Rule Wizard you will not see any Filter Action as Block as by default it is not created. We will create a Filter action to block connect by click on Add button.</p>
<div id="attachment_304" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-17.png"><img class="size-medium wp-image-304" title="block-ip-in-windows-17" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-17-300x239.png" alt="Figure 17" width="300" height="239" /></a><p class="wp-caption-text">Figure 17</p></div>
<p>18. In the Name type <strong>&#8220;Block&#8221;</strong> and any discryption you like and click on Next.</p>
<div id="attachment_305" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-18.png"><img class="size-medium wp-image-305" title="block-ip-in-windows-18" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-18-300x229.png" alt="Figure 18" width="300" height="229" /></a><p class="wp-caption-text">Figure 18</p></div>
<p>19. In Filter Action General options select Block and click Next.</p>
<div id="attachment_306" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-19.png"><img class="size-medium wp-image-306" title="block-ip-in-windows-19" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-19-300x229.png" alt="Figure 19" width="300" height="229" /></a><p class="wp-caption-text">Figure 19</p></div>
<p>20. And then on Finish to get back to Security Rule Wizard.</p>
<div id="attachment_307" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-20.png"><img class="size-medium wp-image-307" title="block-ip-in-windows-20" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-20-300x229.png" alt="Figure 20" width="300" height="229" /></a><p class="wp-caption-text">Figure 20</p></div>
<p>21. This will add the Filter option as Block in the list, just click on radio button to select it and click Next.</p>
<div id="attachment_308" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-21.png"><img class="size-medium wp-image-308" title="block-ip-in-windows-21" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-21-300x239.png" alt="Figure 21" width="300" height="239" /></a><p class="wp-caption-text">Figure 21</p></div>
<p>22. Click Finish to complete the security Rule Wizard.</p>
<div id="attachment_309" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-22.png"><img class="size-medium wp-image-309" title="block-ip-in-windows-22" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-22-300x239.png" alt="Figure 22" width="300" height="239" /></a><p class="wp-caption-text">Figure 22</p></div>
<p>23. You will see the rule added in the list, you can add more rule with the same steps. Now just click OK to finish with the rules.</p>
<div id="attachment_310" class="wp-caption aligncenter" style="width: 280px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-23.png"><img class="size-medium wp-image-310" title="block-ip-in-windows-23" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-23-270x300.png" alt="" width="270" height="300" /></a><p class="wp-caption-text">Figure 23</p></div>
<p>24. Now since we have already created the rules to block desired IP address just right click on the IP Security Policy and select Assign to apply the rule on the server.</p>
<div id="attachment_311" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-24.png"><img class="size-medium wp-image-311" title="block-ip-in-windows-24" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/block-ip-in-windows-24-300x179.png" alt="Figure 24" width="300" height="179" /></a><p class="wp-caption-text">Figure 24</p></div>
<p>There are allot many option to secure your entire server with IP security policy. You can create more rules to block every one on RDP port TCP 3389 and allow only select IPs. IP Security is IP and port based application and not Services based and you can create the rule as per your need.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/how-to-block-ip-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Group Policies Overview for SQL Server</title>
		<link>http://www.mywebhostingblog.net/hosting-security/group-policies-overview-for-sql-server/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/group-policies-overview-for-sql-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 08:08:14 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=368</guid>
		<description><![CDATA[Group Policy is a core part of Microsoft’s IntelliMirror technology.You can use Group Policy to manage all aspects of the Server environment for Windows Server, including Registry settings, software installation, scripts, security settings, and so on.The possibilities of what can be done with Group Policy are almost limitless.With VBScript or Jscript, you can write entire [...]]]></description>
			<content:encoded><![CDATA[<p>Group Policy is a core part of <strong>Microsoft’s IntelliMirror technology</strong>.You can use Group Policy to manage all aspects of the Server environment for <strong>Windows Server</strong>, including Registry settings, software installation, scripts, security settings, and so on.The possibilities of what can be done with Group Policy are almost limitless.With <strong>VBScript</strong> or Jscript, you can write entire applications to execute via Group Policy.You can install software automatically across the network and apply patches to applications. When deciding on the <strong>Group Policies</strong> you plan to enforce on your network, you should keep in mind that the more policies applied, the more network traffic, and hence the longer it could take for users to log onto the network. Group policies are stored in Active Directory as Group Policy Objects (<strong>GPO</strong>).These objects are the instructions for the management task to perform. Group Policy is implemented in four ways:</p>
<p><span id="more-368"></span><strong>Local Group Policy: </strong><br />
Using local Group Policy involves setting up Group Policy on the local machine.This is not very useful for managing computers on a network. Local Group Policy is configured on the local computer.</p>
<p><strong>Site Group Policy:</strong></p>
<p>Site Group Policy is when the Group Policy object is linked to the site. Site Group Policies can generate unwanted network traffic, so use these only when absolutely necessary.</p>
<p><strong>Domain Group Policy:</strong><br />
Domain Group Policy is when the Group Policy object is linked to the domain.This will apply the Group Policy object to all computers and users within a domain.This is especially useful for enforcing company-wide settings.This is one of the two most commonly used applications of Group Policy.</p>
<p><strong>Organizational Unit:</strong><br />
Group Policy When the Group Policy object is linked to the organizational unit (OU). Organizational unit Group Policy is especially useful for applying a Group Policy object to a logical grouping (organizational unit) of users or computers.</p>
<p>When a <strong>Windows Server</strong> machine logs on to a Windows AD, any legacy Windows 2000<strong> Group Policies </strong>will be applied to and work on Windows Server. The new Windows Group Policy snap-in will work on a <strong>Windows 2000 </strong>AD as well as <strong>Windows 2003</strong>.You can use the Windows Group Policy snap-in to connect to any Group Policy object in the Active Directory.You can also create a new Group Policy object using this snap-in. When you connect to a <strong>GPO</strong> using this snap-in, the <strong>ADM </strong>files are automatically updated using the newer versions of these files found on Windows XP.</p>
<p>Windows has over 200 policies.These policies are reflected in the new <strong>ADM </strong>files that are updated on the domain.The Windows admin snap-in shows what policies work on which clients. Best practice in a mixed environment: Use the Latest Windows Group Policy snap-in to administer Group Policy because it will display what policies are supported on what clients.</p>
<p><strong>Group Policy Order</strong></p>
<p>When Group Policies are applied in Windows Server, they are applied in a specific order.This is important to note because the order applied can affect the resulting policy. Group Policy is applied in the following order:</p>
<p>■ Windows NT 4 Policies (if any exist)<br />
■ Windows 2000 Policies<br />
■ Local Group Policies<br />
■ Site Group Policies<br />
■ Domain Group Policies<br />
■ Organizational Group Policy Objects (going from Highest Parent in the chain to lowest)</p>
<p>Additionally, the result of all of the applied policies can be determined by using the Resultant Set of Policy (RSOP) snap-in. More information on this topic is covered later in the “Resultant Set of Policy (RSOP)” section. Figure A.1 shows how Group Policy is applied by different organizational units along with the domain Group Policy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/group-policies-overview-for-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install phpMyAdmin on Windows</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/how-to-install-phpmyadmin-on-windows/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/how-to-install-phpmyadmin-on-windows/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 01:19:44 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[MySQL Hosting]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows NT]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=210</guid>
		<description><![CDATA[These steps can be followed on Windows 2000, Windows NT servers, Windows 2003, Windows 2008 and Windows XP. For steps on Linux refer the link below: How to install PHPMyAdmin on Linux How to install phpMyAdmin 2.11 on Windows Desktop and Server Here are steps that will help you installed PHPMyAdmin on a Windows server. [...]]]></description>
			<content:encoded><![CDATA[<p>These steps can be followed on Windows 2000, Windows NT servers, Windows 2003, Windows 2008 and Windows XP.</p>
<p>For steps on Linux refer the link below:</p>
<p><strong><a title="Install PHPMyAdmin on Linux" href="http://www.eukhost.com/forums/f15/how-install-phpmyadmin-pma-linux-vps-dedicated-server-4234/" target="_blank">How to install PHPMyAdmin on Linux</a></strong></p>
<p><strong>How to install phpMyAdmin 2.11 on Windows Desktop and Server</strong></p>
<p>Here are steps that will help you installed <strong>PHPMyAdmin</strong> on a Windows server.</p>
<p><strong>REQUIREMENTS:</strong></p>
<p>&gt;&gt; PHP <strong>4.3/4.4/5.1</strong><br />
&gt;&gt; MySQL <strong>4.0/4.1/5.0</strong></p>
<p><strong>DOWNLOAD</strong>:</p>
<p>This installation was tested on phpMyAdmin-2.11.1<br />
You can select the file from <a title="PHPMyAdmin Downloads" href="http://www.phpmyadmin.net/home_page/downloads.php" target="_blank">PHPMyAdmin Downloads</a></p>
<p><span id="more-210"></span></p>
<p><strong>CONFIGURATION</strong>:</p>
<p>Configuration that needs to be noted, the one below are the one we have chozen. They might be different on your server:</p>
<p>Installation path: C:\www\<strong>phpMyAdmin </strong>(If you have Apache on your server then place out side of webroot of Apache)<br />
Apache webroot : C:\www\webroot<br />
My-SQL path : C:\www\mysql\bin<br />
Access phpMyAdmin as : http://192.168.1.52/<strong>phpMyAdmin</strong>/</p>
<p><strong>INSTALLING PHPMyAdmin:</strong></p>
<p>1. Unpack the downloaded file <strong>phpMyAdmin</strong>-2.11.1.zip under the directory C:\www<br />
2. Rename directory C:\www\<strong>phpMyAdmin</strong>-2.11.1 to C:\www\phpMyAdmin<br />
3. Make a copy of C:\www\<strong>phpMyAdmin</strong>\libraries\config.default.php<br />
4. Open the default configuration file of <strong>PHPMyAdmin </strong>C:\www\<strong>phpMyAdmin</strong>\libraries\config.default.php and make following changes:</p>
<p>a. Find:</p>
<p><code>$cfg['PmaAbsoluteUri'] = '';</code></p>
<p>Put the full URL of PHPMyAdmin in the quotes, you can replace the IP address with the IP address of your server or your domain name:</p>
<p><code>$cfg['PmaAbsoluteUri'] = 'http://192.168.1.52/phpMyAdmin/';</code></p>
<p>b. PHPMyAdmin can also try to auto-detect the proper value for the above directive if it is left as it is [BLANK] and the below line is changed to &#8216;TRUE&#8217;:</p>
<p><code>$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;</code></p>
<p>c. Authentication Method:</p>
<p>&#8211; For single-user (root or trusted) environment:</p>
<p>&#8211; Method 1 would be to prompt client for MySQL user/password, this option will only work if your database is not accessed by other users:</p>
<p><code>$cfg['Servers'][$i]['auth_type'] = 'http';</code></p>
<p>&#8211; Method 2 is to store MySQL user/password under config.ini.php file.</p>
<p><code>$cfg['Servers'][$i]['auth_type'] = 'config';</code><br />
<code>$cfg['Servers'][$i]['user'] = 'root';</code><br />
<code>$cfg['Servers'][$i]['password'] = 'root-password';</code></p>
<p>Please replace the user and password with the <strong>administrator </strong>user and password of your<strong> MySQL server</strong>.</p>
<p>d. Authentication Method &#8212; for multi-user (untrusted) environment, this will allow to give access to your developers or clients if it is a shared server in hosting environment.<br />
This step is also required to for enabling phpMyAdmin&#8217;s relational features</p>
<p><code>$cfg['Servers'][$i]['auth_type'] = 'http';</code><br />
<code>$cfg['Servers'][$i]['user'] = '';</code><br />
<code>$cfg['Servers'][$i]['password'] = '';</code><br />
<code>$cfg['Servers'][$i]['controluser'] = 'pma';</code><br />
<code>$cfg['Servers'][$i]['controlpass'] = 'pmapass';</code></p>
<p>Save the password: pmapass</p>
<p>e. Now we will have tp create MySQL controluser user &#8216;pma@localhost&#8217; with password &#8216;pmapass&#8217;, and with the proper permissions to the user:</p>
<p><code>C:\www\mysql\bin&gt; mysql -u root -p</code><br />
<code>mysql&gt; GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';</code><br />
Note the SQL password</p>
<p><code>mysql&gt; GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, Execute_priv, Repl_slave_priv, Repl_client_priv) ON mysql.user TO 'pma'@'localhost';</code><br />
<code>mysql&gt; GRANT SELECT ON mysql.db TO 'pma'@'localhost';</code><br />
<code>mysql&gt; GRANT SELECT ON mysql.host TO 'pma'@'localhost';</code><br />
<code>mysql&gt; GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv) ON mysql.tables_priv TO 'pma'@'localhost';</code><br />
<code>mysql&gt; quit</code></p>
<p><strong>CONFIGURING APACHE 2.0</strong></p>
<p>a. If you run Apache as the webserver then you will follow the steps below:</p>
<p>Open file C:\www\Apache2\conf\httpd.conf to edit it and uncomment line (remove the beginning character &#8216;#&#8217;)<br />
I would suggest you to backup the http.conf file incase you have messed it up.</p>
<p><code>LoadModule alias_module modules/mod_alias.so</code></p>
<p>b. Make sure directive &#8216;DirectoryIndex&#8217; contains &#8216;index.php&#8217; http.conf</p>
<p><code>DirectoryIndex index.html index.html.var index.php</code></p>
<p>c. Then add the following lines:</p>
<p><code><br />
Alias /phpMyAdmin "C:/www/phpMyAdmin"<br />
</code></p>
<p><code><br />
Options None<br />
AllowOverride None<br />
order deny,allow<br />
deny from all<br />
allow from 127.0.0.1<br />
</code></p>
<p>Do not forget to restart Apache once you have made the above changes and have saved the http.conf file.</p>
<p><strong>CONFIGURING IIS6.0</strong></p>
<p>a. Open IIS Webserver from START &gt;&gt; RUN: inetmgr<br />
b. In IIS manager expand SERVER_NAME &gt;&gt; Web Sites and select Default WebSite.<br />
c. In the Right pane right click in white soace and select New &gt;&gt; Virtual Directory.<br />
d. In the Virtual Directory creation Wizard, click Next.<br />
e. Give directory Alias (Name) as PHPMyadmin and click Next.<br />
f. Click on Browse button and navigate to &#8220;C:\www\phpMyAdmin&#8221;<br />
e. Select &#8220;Read&#8221;, &#8220;Run Script&#8221; &amp; &#8220;Execute&#8221; and click Next.<br />
g. Now Right click on the PHPMyAdmin Virtual directory and select permissions.<br />
h. Give &#8220;Read &amp; Execute&#8221; permissions to IUSR_ and inherit the permissions.<br />
i. Right click on the PHPMyAdmin Virtual directory &gt;&gt; Properties &gt;&gt; Virtual Directory &gt;&gt; Configuration and map .php extention to PHP executable.</p>
<p><strong>OPTIONAL CONFIGURATIONS:</strong></p>
<p>Configuration for PHP v5:</p>
<p>These steps are only required if you want to use PHP5 for PHPMyAdmin, in PHP4 PHP extension php_mysql.dll is build in and extension php_mysqli is not supported.:</p>
<p>a. Edit file %SYSTEMROOT%\php.ini, under the &#8216;Dynamic Extensions&#8217; Section:</p>
<p>Uncomment line:<br />
<code>;extension=php_mbstring.dll</code></p>
<p>If using MySQL v4.0 : Uncomment line<br />
<code>;extension=php_mysql.dll</code></p>
<p>If using MySQL v4.1 : Insert line<br />
<code>extension=php_mysqli.dll</code></p>
<p>Edit config.inc.php and update server extension line:<br />
<code>$cfg['Servers'][$i]['extension'] = 'mysqli';</code></p>
<p>Enable phpMyAdmin&#8217;s Relational Features:</p>
<p>Please make a note that these steps are required for &#8220;Authentication Method &#8212; for multi-user (untrusted) environment&#8221;</p>
<p>Edit phpMyAdmin&#8217;s configuration file C:\www\phpMyAdmin\config.inc.php:</p>
<p><code>$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';</code><br />
<code>$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';</code><br />
<code>$cfg['Servers'][$i]['relation'] = 'pma_relation';</code><br />
<code>$cfg['Servers'][$i]['table_info'] = 'pma_table_info';</code><br />
<code>$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';</code><br />
<code>$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';</code><br />
<code>$cfg['Servers'][$i]['column_info'] = 'pma_column_info';</code><br />
<code>$cfg['Servers'][$i]['history'] = 'pma_history';</code><br />
<code>$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';</code></p>
<p>Now Run phpMyAdmin&#8217;s sql script file &#8216;create_tables.sql&#8217;:</p>
<p><code>C:\www\mysql\bin&gt; mysql -u root -p</code><br />
<code>mysql&gt; source C:\www\phpMyAdmin\scripts\create_tables.sql</code><br />
<code>mysql&gt; quit</code></p>
<p>That is it, you should be done with PHPMyAdmin installation on Windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/how-to-install-phpmyadmin-on-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PROCEDURE TO MAKE CDONTS WORK ON A WINDOWS 2003 SERVER</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/procedure-to-make-cdonts-work-on-a-windows-2003-server/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/procedure-to-make-cdonts-work-on-a-windows-2003-server/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 17:14:25 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[CDO]]></category>
		<category><![CDATA[CDONTS]]></category>
		<category><![CDATA[CDONTS.DLL]]></category>
		<category><![CDATA[Collaboration Data Objects]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS SMTP service]]></category>
		<category><![CDATA[RELAY]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=85</guid>
		<description><![CDATA[Microsoft Windows Server 2003 does not install Collaboration Data Objects (CDO) for NTS (CDONTS). Therefore, applications that use   do not function on a Windows Server 2003-based computer. Windows Server 2003 provides improved alternatives to CDONTS. To make CDONTS functioning on a Windows Server 2003-based computer, use one of the following solution: 1. Obtain CDONTS.DLL [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Microsoft Windows Server 2003</strong> does not install Collaboration <strong>Data Objects (CDO)</strong> for<br />
<strong>NTS (CDONTS)</strong>. Therefore, applications that use   do not function on a Windows<br />
Server 2003-based computer.</p>
<p>Windows Server 2003 provides improved alternatives to <strong>CDONTS</strong>. To make <strong>CDONTS</strong><br />
functioning on a <strong>Windows Server 2003</strong>-based computer, use one of the following</p>
<p><strong>solution:</strong></p>
<p><span id="more-85"></span></p>
<p><strong>1</strong>. Obtain <strong>CDONTS.DLL</strong> and put it into %systemroot%\system32 folder<br />
(C:\Windows\system32 by default).</p>
<p><strong>2</strong>. <strong>Register </strong>the <strong>CDONTS.DLL</strong> component on your server using the following command:</p>
<p><strong>regsvr32 &#8220;%systemroot%\system32\cdonts.dll&#8221;</strong></p>
<p>For example:</p>
<p><strong>C:\WINDOWS\system32&gt;regsvr32.exe cdonts.dll </strong></p>
<p><strong>3</strong>. After you have registered your <strong>CDONTS.DLL</strong> component you need to check whether<br />
your <strong>SMTP </strong>service is running. Go to Administrative tools &gt; <strong>IIS</strong> and expand your local<br />
machine. If <strong>SMTP </strong>service is listed then it is installed, else  it&#8217;s necessary to<br />
install this service. To install <strong>SMTP </strong>perform the following operation:<br />
Go to <strong>Control Panel </strong>&gt; Add/Remove Programs &gt; Add/Remove Windows Components &gt;<br />
Application Server &gt; <strong>IIS </strong>&gt; Mark <strong>SMTP </strong>service &gt; Click OK.</p>
<p><strong>4</strong>. Change the port number for <strong>SMTP service</strong>. Default port is 25. Use 25 only if you<br />
don&#8217;t have another <strong>SMTP </strong>service running. If another <strong>SMTP </strong>service is already running<br />
on your server you should switch IIS SMTP port to another, for example to 26. You<br />
can do through IIS management console:<br />
Control Panel &gt; <strong>IIS </strong>&gt; expand `local computer` &gt; <strong>SMTP </strong>&gt; Properties &gt; General tab &gt;<br />
click on Advanced button &gt; Edit.</p>
<p><strong>5</strong>. Configure <strong>SMTP </strong>service. The main things are to set a valid <strong>full-qualified domain<br />
name</strong> for SMTP service:<br />
Control Panel &gt; <strong>IIS </strong>&gt; expand `local computer` &gt; <strong>SMTP </strong>&gt; Properties &gt; Delivery tab &gt;<br />
click on Advanced button</p>
<p><strong>6</strong>. Configure Security for <strong>SMTP </strong>service. It&#8217;s necessary to grant permissions to<br />
<strong>IIS_WPG</strong> standard <strong>IIS </strong>Worker Process Group.</p>
<p>Control Panel &gt; <strong>IIS </strong>&gt; expand `local computer` &gt; <strong>SMTP </strong>&gt; Properties &gt; Security tab &gt;<br />
click on Add button &gt; Cick Object types&#8230; button &gt; Mark Groups item &gt; click OK &gt;<br />
Add<strong> IIS_WPG</strong> as object name to add &gt; Click OK.</p>
<p><strong>7</strong>. Additional setting:</p>
<p>Choose Authentication and tick Anonymous Access and Integrated Windows<br />
Authentication. Click OK, then click <strong>CONNECTION</strong>. Configure <strong>RELAY </strong>settings as you<br />
wish. Click the <strong>DELIVERY </strong>tab then click ADVANCED.</p>
<p><strong>8</strong>. Stop <strong>SMTP </strong>service of IIS and start it again. Now <strong>IIS SMTP service</strong> as configured<br />
and ready to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/procedure-to-make-cdonts-work-on-a-windows-2003-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Difference between Remote Assistance and Remote Desktop ?</title>
		<link>http://www.mywebhostingblog.net/hosting-security/difference-between-remote-assistance-and-remote-desktop/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/difference-between-remote-assistance-and-remote-desktop/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 22:36:27 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Terminal Server]]></category>
		<category><![CDATA[Terminal Services]]></category>
		<category><![CDATA[Virtual Private Network]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=37</guid>
		<description><![CDATA[When you first learn about &#8216;Remote Desktop&#8216; and &#8216;Remote Assistance&#8216;, you might easily make it out that both services are the same. They allow you to remotely control a PC from any where, let it be on your local network or even over the Internet. Although there are some important differences that we need to [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span style="16pt;">When you first learn about &#8216;<strong>Remote Desktop</strong>&#8216; and &#8216;<strong>Remote Assistance</strong>&#8216;, you might easily make it out that both services are the same. They allow you to remotely control a PC from any where, let it be on your local network or even over the Internet. Although there are some important differences that we need to check between these two <strong>services</strong>.</span></p>
<p class="MsoNormal"><span style="16pt;">1] Remote Assistance uses <strong>Windows XP/2003 Terminal Services</strong> to share desktop and other resources between two PCs.</span></p>
<p class="MsoNormal"><span style="16pt;"><strong>Terminal Services </strong>- It is a way of using <strong>RDP </strong>(Remote Desktop Protocol), which allows users to connect to their <strong>Windows XP </strong>desktop or a <strong>dedicated server </strong>(<strong>Terminal Server</strong>) combining with <strong>VPN </strong>(<strong>Virtual Private Network</strong>) with the help of which users can connect to their office network remotely and work with their applications.</span></p>
<p class="MsoNormal"><span style="16pt;"><strong>Virtual Private Network </strong>– Creates a secure connection between private networks.</span></p>
<p class="MsoNormal"><span style="16pt;">In a *<strong>Remote Assistance Session</strong>* -</span></p>
<p class="MsoNormal"><span style="16pt;">Both users must be present at their respective PCs and must agree to establish a connection.</span></p>
<p class="MsoNormal"><span id="more-37"></span></p>
<p class="MsoNormal"><span style="16pt;"><strong>Remote Assistance</strong> is designed for peer-to-peer use by Windows users.</span></p>
<p class="MsoNormal"><span style="16pt;">In which a Novice (asking for help) from a Expert (<strong>technician, or friend, or helpdesk, or vendor</strong>). To have a successful <strong>Remote Assistance</strong> both users must have active Internet connections or be on the same local area network, and neither of them should be blocked by firewalls.<span> </span></span></p>
<p class="MsoNormal"><span style="16pt;"> </span></p>
<p class="MsoNormal"><span style="16pt;">2] The<strong> Remote Desktop service </strong>is available as part of <strong>Windows XP Professional Edition</strong>. This service allows you to take control of the remote <strong>computer </strong>without requesting for access. </span></p>
<p class="MsoNormal"><span style="16pt;">To do this you need to have administrator login details of the machine on which you will be doing Remote Desktop. Once logged in you will have complete control of the Remote computer. </span></p>
<p class="MsoNormal"><span style="16pt;">To enable <strong>Remote Desktop</strong> or <strong>Remote Assistance</strong> services:</span></p>
<p class="MsoNormal"><span style="16pt;">Right-click on My <strong>Computer </strong>and choose <span>Properties</span>. Click on the <span>Remote</span> tab &gt;&gt; Check both Remote Assistance and Remote Desktop<span> </span>&gt;&gt; Apply<span> </span>&gt;&gt; Ok</span></p>
<p class="MsoNormal">
<dl>
<dt><img src="http://img391.imageshack.us/img391/9339/systempropertiesut4.png" alt="//img391.imageshack.us/img391/9339/systempropertiesut4.th.png[/IMG][/URL]" width="436" height="442" /></dt>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/difference-between-remote-assistance-and-remote-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

