http://favbulous.com
Showing posts with label Website. Show all posts
Showing posts with label Website. Show all posts
Friday, 13 January 2012
Friday, 23 December 2011
Facebook loads Web Pages Faster using BigPipe Technology
What is the motivation for this technology?
For an SNS such as Facebook, the major contents must be processed based on personalized data. This means that there is always an inevitable limit to any improvement in performance that is achieved only by improving the speed of the server, such as the cache application and system structure. Facebook found the solution to this limit on performance in a new transfer format, and parallel processing between the server and the client. The solution is particularly focused on reducing the delay in showing the page that is requested.
Problems related to the existing dynamic Web service system
When the Web server is overloaded while generating a page, in most cases the browser becomes idle and does nothing. When the server finishes generating the page and sends it to the browser at once, it cause a bottleneck effect, both in traffic and in performance. Therefore, the server that has already completed transfer cannot be helpful any more. By overlapping the time taken for the server to generate pages and for the browser to render, you can not only reduce the end-to-end latency but also the initial response time for the Web page, consequently reducing overall loading time. The problem in which a single slow query holds back the entire loading process can be addressed as well.
Why BigPipe?
As mentioned earlier, BigPipe is a technology that combines existing Web technologies to allow the parallel processing to generate Web pages and render browsers simultaneously (just as AJAX did). It is named because its mechanism is similar to Pipelining which is common for microprocessors. For this reason, Facebook calls BigPipe technology a Web page pipeline for better performance.
Something you need to know first
In order to understand the BigPipe technology, it is necessary to understand Chunked Encoding, which is supported in version 1.1 of HTTP protocol, and the Script Flush method which is based on Chunked Encoding.
Chunked Encoding
Chunked Encoding is an encoding method of transfer supported in HTTP 1.1 and higher, which allows the server to ignore the header value and divide the response result from HTTP into a series of chunks, and then transfer each chunk of the result. The size of each chunk is transferred along with the content. With this feature, the server can send a response to the Web browser in the middle of a process (Flush transfer) so that the user can see at least partial content.
The figure below shows an example of HTTP responses with a Chunked Encoding format which named Transfer-Encoding from header values as chunked. The sizes of individual chunked text which are transferred sequentially are expressed in hexadecimal instead of the Content-Length header value. You can also see it is ended with 0.
Thursday, 15 December 2011
XAMPP Access to the requested directory is only available from the local network.
I searched a lot about this issue and found the simplest solution:
Mark the like "Deny from all" as a comment at the <LocationMatch attribute present at the end of the file (C:\XAMPP\apache\conf\extra\httpd-xampp.conf)
Subsequently i added into my verified list of solutions at http://itswadesh.wordpress.com
Mark the like "Deny from all" as a comment at the <LocationMatch attribute present at the end of the file (C:\XAMPP\apache\conf\extra\httpd-xampp.conf)
Subsequently i added into my verified list of solutions at http://itswadesh.wordpress.com
Tuesday, 29 November 2011
Hack an Website ? SQL Injection ? Very simple
Are you looking for some useful tips to improve your web projects security? In this post I suggest you some interesting points about this topic.
Hacking is very interesting topic you can improve programming skill.
SQL Injection
SQL Injection like this
Login Java Code
String userid = request.getParameter("userid");
String password = request.getParameter("password");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
connection = DriverManager.getConnection("jdbc:odbc:projectDB");query = "SELECT * FROM Users WHERE user_id ='" + userid + "' AND password ='" + password +"'";
PreparedStatement ps = connection.prepareStatement(query);
ResultSet users = ps.executeQuery();
if(users.next()){
//some thing here
}
else{
}
String password = request.getParameter("password");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
connection = DriverManager.getConnection("jdbc:odbc:projectDB");query = "SELECT * FROM Users WHERE user_id ='" + userid + "' AND password ='" + password +"'";
PreparedStatement ps = connection.prepareStatement(query);
ResultSet users = ps.executeQuery();
if(users.next()){
//some thing here
}
else{
}
Injection Works like this
query = "SELECT * FROM Users WHERE user_id ='' OR 1=1; /* AND password ='*/--'";
Login PHP Code;
Username = ' OR 1=1;//
Password = ....
$myusername=$_POST['usr'];
$mypassword=$_POST['pwd'];$sql="SELECT * FROM users WHERE user='$myusername' and password='$mypassword'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
if($count==1){
//some code
}
else {
}
$mypassword=$_POST['pwd'];$sql="SELECT * FROM users WHERE user='$myusername' and password='$mypassword'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
if($count==1){
//some code
}
else {
}
Injection Works like this
$sql="SELECT * FROM users WHERE user=''OR 1 = 1;//' and password='....'";
How to avoid these mistakes Use addSlashes() function adding slashes(/) to the string in java and php
//Java Code
addSlashes(String userid);// PHP Code
$myusername=addslashes($_POST['usr'];);
addSlashes(String userid);// PHP Code
$myusername=addslashes($_POST['usr'];);
Hacker is intelligent than programmer. So always hide the file extension (eg: *.jsp,*.php,*.asp).
http://xyz.com/login.php to http://xyz.com/login
http://xyz.com/login to http://xyz.com/signin.do
In Java redirect this URL links using Web.xml file and inn php write .htaccess file in root directory.
My Best Hacking Training Site Hackthissite.org

Hacker's Game full control with Unix based commands. Play and learn many more hacking things

http://itswadesh.wordpress.com/2011/11/29/prepared-statements-in-php-and-mysqli/
Thursday, 21 July 2011
Some useful things about Web Hosting you probably don’t know!
The biggest challenge faced by any individual starting a small business, organization, developers or someone who wants to showcase their work is to reach the maximum number of people. The World Wide Web has been such a boon as it gives the individuals and the organizations a platform to publicize their work. Now how can one do that? How can they reach millions of unknown people and tell them what they intend to do? Well the answer is simple by making a website. A website is a web page which will have the entire details, ideas, pictures, videos of the kind of work they are doing so that anyone and anybody can just view it and understand it.
But the question arises as to how does one get an access to the World Wide Web? Is it so easy to create a website? Is it as simple it sounds? Well the answer is yes it is! Here comes the role of web hosting service which would help the individual to make their own website and will also give you a safe and a secure place to keep your information. These safe havens are called as Servers which are provided by a web host company. These servers are kept in a secure place called data centers which are connected to high speed internet facility. These Servers store all your data in form of web pages, graphic files, java scripts etc.
The different types of hosting available are as follows:
- Shared Hosting-where lot of websites sit in a common server. These are equipped with high speed powerful computers that have the capacity of taking the burden without slowing it down.
- Dedicated Hosting-is like asking for a dedicated servant, just to serve your needs. An entire server is just committed for your website/websites.
- Co-Location Hosting-This is equivalent to owning your own house where you have then access to the server 24/7.
- Re-Seller Hosting-where the web hosting company can provide its services to a third party at a nominal fee and who in turn can also re-sell the Server to many more customers.
Advantages of Web-hosting
- A web site is perhaps the first door introduction of the company to its viewers. It has its place in terms of brand value, conveying the right company image, advertise products and services, showcase its capabilities.
- Feedback is the breakfast of champions. A website is also a feedback gatherers which could be enabled such that it could track what kind of web traffic is viewing the hosted content. The crucial information of how many people are interested to know about your company and how much time did they spend on your website, what features and sections of the web content got more attention from viewers.
- The benefit of being able to create several e-mail accounts on your website with which you gain the attention and trust of the customer as you will be communicating through email from your own website.
- The dependability of web community. When a web content gets higher page hits and moves up the web search such as Google search it reflects the uniqueness of the website, the name, the brand that holds the web content and reflects confidence for the users to engage with the website.
Adding user-names to facebook profile

Facebook rolled out this new feature last year… But still people seems to be un-aware of this cool feature. Still I can see many long, un-user friendly, ugly URLS in Facebook! So, I thought of writing about it again with some added content! Last time I didn’t talked about adding user-names for your fan page! But today, you’ll learn it!
How to add user-names to our Profile?
- Go to : http://www.facebook.com/username/
- Now, in the box provided enter the user-name you want and click on “Check availability” to check whether the user name is taken by another person!
- If your User-Name is available click on “Confirm” to add it
Reasons Why Customers Ignore Your Website
1. Brochure Like Website
Many business owners make the mistake of designing their website like a sales brochure. The website has terrific graphs and pictures of cool looking people. But the site seriously lack quality content. Websites that fall under this category often has a couple of pages of information about the business along with contact information. Because your website lacks quality textual information, search engines are not going to bring you any organic traffic. Gone are the days when a user judged a website based on the quality of graphics. Nowadays more and more users are looking for quality content. Customers are looking for advice and information to solve their problems. Therefore it is very important to focus on writing good content.
2. Outdated
Clients love websites that are regularly updated. By updating your website periodically, you are telling your customers that you are very active in your industry. If the last update date on your web pages are few years old, people will assume that you are not active in your industry.
3. Broken Website
Make sure that your website loads and displays properly on all major browsers. You have to make sure that your website works well in Internet Explorer, FireFox, Chrome, Opera and Safari.
4. Too Slow to Load
If your website takes a long time to load then people are more likely to leave your site without checking it. Slow loading website can also harm your SEO rankings. Select a good webhost. It is worth the investment.
5. Not User Friendly
Your website should be user-friendly in terms of navigation, accessibility and readability. It is important that you put yourself in your customers shoe and look at the website for their needs and requirements. Spend sometime with your website developer in nailing out the exact requirements for your site. Avoid technical jargon and pay close attention to the language used in your website. Do not leave these important decisions to the web developer.
Conclusion
It is extremely important that you give your website a soul. You do not have to spend thousands of dollars to build a quality website. But you need to give your time and closely work with your developers to make sure that the website truly reflects the nature of your business. Your developer might be an expert in web design, but she may not necessarily be an expert in your industry.
Choosing a Web Host for your Small Business Website
First of all you need to determine your web hosting requirements. For example, the hosting requirements for a law firm will be different to that of an online store selling handmade jewelry. The law firm would not need support for an ecommerce site where as the online jewelry store will definitely need support for an electronic store front. The online jewelry store also needs more space and bandwidth because users of such a website will be browsing through a lot of pictures of jewelry and ornaments.
The following are some questions that you need to ask to choose the right web hosting plan for your small business:
In the following section we’ll look at the main features that you need to look for in a web hosting package.
Web Hosting companies provide customers with different hosting options. The most common hosting solution for a small business website is either Shared Hosting or Virtual Private Server Hosting. In Shared Hosing your website will reside on a computer that host many other websites. Your website will share the same IP address as other websites in that computer. In a Virtual Private Server setup, your website will share the computer with few other websites. While your website shares the same physical computer with other websites, your website will have its own operating system and IP address.
For many small businesses Shared Hosting works just fine. In case Shared Hosting is not adequate for the traffic you receive, you could move to a Virtual Private Server setup. If the traffic volume is really high, then you may have to consider a Dedicated Server for your website. For information on different types of hosting, read my post titled Types of Web Hosting Solutions.
Your web hosting provider should provide you with guaranteed uptimes. Uptimes are usually indicated in percentages, for example, 99.5% or 99.9%. Web hosting companies have different ways to calculate the uptimes. Many hosting companies calculate this number for their advantage. For example, a hosting company might exclude scheduled maintenance from the downtime. The information on how uptimes are calculated is usually buried in the fine print. Therefore the uptime % is not a great indicator of the service provided. But still it is important that you find a hosting company that provides some form of commitments to maintain uptimes. Instead of relying on the uptime information provided by the web hosting company, you should check uptime information published by independent review sites. The best way to find the reliability of a web host is to ask people who use it. TechThinker.com is hosted at HostGator and I am very happy with HostGator’s uptime. According to the site WebHostingStuff.com, HostGator has an uptime percentage of 99.99%.
Nowadays almost all web hosting companies provide ample bandwidth and disk storage space. Bandwidth refers to the total amount of data that can be downloaded from your website on a monthly basis. Disk space refers to the amount of hard disk storage that is allocated to your website on the server computer. In order to exceed a bandwidth of 20GB a typical website should attract around 200,000 visitors per month!
Support is a very essential component of a good web hosting package. Make sure your web host provides 24/7 support 365 days of the year. Ensure that the web hosting company you choose provides phone support manned by actual people (instead of automated systems). Many times you can resolve an issue if there is proper documentation. Make sure your web hosting company has good support information and FAQs on their website. Some companies also provide customer support using Internet chat services. A chat based support system is very handy when you want to share a lot of information. For example, you can easily cut and paste the error message. But, reading out the error via the phone might be frustrating and time consuming.
Most web host packages come preinstalled with a Graphical Administration Tool that can be used to perform various tasks. cPanel is the most common and popular admin tool. With cPanel you can do a number of tasks with ease. Example of such tasks include installing a WordPress blog, backing up your website data, displaying web statistics and logs etc. Therefore it is important that you choose a web hosting package that comes preinstalled with cPanel. Another benefit of cPanel is that it allows you to easily transfer your website from one web hosting company to another web hosting company (provided both companies support cPanel).
Some hosting packages only allow you to use one single domain name. If the package does not allow multiple domain names then you can only host a single website on that domain. For example, the HostGator’s Hatchling Package does not support multiple domain names where as HostGator’s Baby Package does support multiple domains. If you plan to create new websites in the future under a sub domain, make sure that the package provides support for sub domains as well. For example, a sub domain will look like the following: smallbusiness.techthinker.com.
Unless your website is built using Microsoft software technologies (such as Active Server Pages) it is highly recommended that you choose a Linux operating system based web hosting package. Linux servers are generally more faster and secured than Microsoft Windows servers. They also have other benefits such as the ability to to create .htaccess file to give custom instructions to your web site.
If you want a Shared Hosting package you should be able to get a good plan for about $10 a month. For a Virtual Private Server Hosting expect to spend anywhere from $25 to $50 monthly. If the price offered by the web hosting company is really cheap beware about the quality of the service they provide. Having said that it does not always mean a cheap price means poor quality.
Look for a web host who is willing to provide you with flexible payment options. Make sure that you are not locked into a contract. While by locking into a contract you may be able to get some discount, it will be hard to leave the web hosting company if you are not satisfied with the level of service provided.
Resellers buy hosting packages in bulk from a large web hosting company and then provide you a web hosting service. Resellers usually do not have direct access to all computer systems. Therefore in case of an issue they might have to contact the actual hosting company to get it resolved. Sometimes a reseller is able to provide you a better price than the actual web hosting company. Resellers are able to provide you a better price by stacking many websites into a single machine. Doing this might slow down the performance of your website.
It is best that you choose a web host that has the data center closer to your audience. For example, if you are from Australia and majority of your customers are from the United States, it makes sense to choose a web host from the US, instead of choosing an Australian based web hosting company.
Do you have any other tips for choosing a web host? Please feel free to share them in the comments section.
The following are some questions that you need to ask to choose the right web hosting plan for your small business:
- Are you launching a brand new website?
- How much traffic are you expecting for your website?
- Is your website content heavy? Do you have multimedia content such as Pictures and Videos?
- What kind of software tools will be used to build your website? WordPress Blog? Ecommerce Shopping Cart?
In the following section we’ll look at the main features that you need to look for in a web hosting package.
1. Hosting Type
Web Hosting companies provide customers with different hosting options. The most common hosting solution for a small business website is either Shared Hosting or Virtual Private Server Hosting. In Shared Hosing your website will reside on a computer that host many other websites. Your website will share the same IP address as other websites in that computer. In a Virtual Private Server setup, your website will share the computer with few other websites. While your website shares the same physical computer with other websites, your website will have its own operating system and IP address.
For many small businesses Shared Hosting works just fine. In case Shared Hosting is not adequate for the traffic you receive, you could move to a Virtual Private Server setup. If the traffic volume is really high, then you may have to consider a Dedicated Server for your website. For information on different types of hosting, read my post titled Types of Web Hosting Solutions.
2. Guaranteed Uptimes
Your web hosting provider should provide you with guaranteed uptimes. Uptimes are usually indicated in percentages, for example, 99.5% or 99.9%. Web hosting companies have different ways to calculate the uptimes. Many hosting companies calculate this number for their advantage. For example, a hosting company might exclude scheduled maintenance from the downtime. The information on how uptimes are calculated is usually buried in the fine print. Therefore the uptime % is not a great indicator of the service provided. But still it is important that you find a hosting company that provides some form of commitments to maintain uptimes. Instead of relying on the uptime information provided by the web hosting company, you should check uptime information published by independent review sites. The best way to find the reliability of a web host is to ask people who use it. TechThinker.com is hosted at HostGator and I am very happy with HostGator’s uptime. According to the site WebHostingStuff.com, HostGator has an uptime percentage of 99.99%.
3. Disk Space and Bandwidth
Nowadays almost all web hosting companies provide ample bandwidth and disk storage space. Bandwidth refers to the total amount of data that can be downloaded from your website on a monthly basis. Disk space refers to the amount of hard disk storage that is allocated to your website on the server computer. In order to exceed a bandwidth of 20GB a typical website should attract around 200,000 visitors per month!
4. Level of Technical Support Provided
Support is a very essential component of a good web hosting package. Make sure your web host provides 24/7 support 365 days of the year. Ensure that the web hosting company you choose provides phone support manned by actual people (instead of automated systems). Many times you can resolve an issue if there is proper documentation. Make sure your web hosting company has good support information and FAQs on their website. Some companies also provide customer support using Internet chat services. A chat based support system is very handy when you want to share a lot of information. For example, you can easily cut and paste the error message. But, reading out the error via the phone might be frustrating and time consuming.
5. cPanel Support
Most web host packages come preinstalled with a Graphical Administration Tool that can be used to perform various tasks. cPanel is the most common and popular admin tool. With cPanel you can do a number of tasks with ease. Example of such tasks include installing a WordPress blog, backing up your website data, displaying web statistics and logs etc. Therefore it is important that you choose a web hosting package that comes preinstalled with cPanel. Another benefit of cPanel is that it allows you to easily transfer your website from one web hosting company to another web hosting company (provided both companies support cPanel).
6.Total Number of Domains Supported
Some hosting packages only allow you to use one single domain name. If the package does not allow multiple domain names then you can only host a single website on that domain. For example, the HostGator’s Hatchling Package does not support multiple domain names where as HostGator’s Baby Package does support multiple domains. If you plan to create new websites in the future under a sub domain, make sure that the package provides support for sub domains as well. For example, a sub domain will look like the following: smallbusiness.techthinker.com.
7. Linux vs. Windows Hosting
Unless your website is built using Microsoft software technologies (such as Active Server Pages) it is highly recommended that you choose a Linux operating system based web hosting package. Linux servers are generally more faster and secured than Microsoft Windows servers. They also have other benefits such as the ability to to create .htaccess file to give custom instructions to your web site.
8. Price & Payment Options
If you want a Shared Hosting package you should be able to get a good plan for about $10 a month. For a Virtual Private Server Hosting expect to spend anywhere from $25 to $50 monthly. If the price offered by the web hosting company is really cheap beware about the quality of the service they provide. Having said that it does not always mean a cheap price means poor quality.
Look for a web host who is willing to provide you with flexible payment options. Make sure that you are not locked into a contract. While by locking into a contract you may be able to get some discount, it will be hard to leave the web hosting company if you are not satisfied with the level of service provided.
9. Reseller Hosting?
Resellers buy hosting packages in bulk from a large web hosting company and then provide you a web hosting service. Resellers usually do not have direct access to all computer systems. Therefore in case of an issue they might have to contact the actual hosting company to get it resolved. Sometimes a reseller is able to provide you a better price than the actual web hosting company. Resellers are able to provide you a better price by stacking many websites into a single machine. Doing this might slow down the performance of your website.
10. Datacenter Close to Your Audience
It is best that you choose a web host that has the data center closer to your audience. For example, if you are from Australia and majority of your customers are from the United States, it makes sense to choose a web host from the US, instead of choosing an Australian based web hosting company.
Do you have any other tips for choosing a web host? Please feel free to share them in the comments section.
New aditions to iPad 2

The iPad 2 has the following new features:
- Faster, new dual core A5 processor.
- 33% less thinner.
- Lighter than the first generation iPad (1.33 lbs vs 1.5 lbs).
- Has a front facing camera for video chats.
- Has a rear facing camera to shoot HD videos.
- Has HDMI connectivity at 1080 using a special Apple HDMI adapter (no standard HDMI port is present in iPad 2). The adapter will cost you $39. Please note that this adapter could be used with the first generation iPad as well, but the resolution in this instance will be capped at 720.
Innovative group communication over sms

Real-time Interaction and Collaboration has become the latest buzz in the world of social media. If you have used Twitter or FaceBook you’ll know that they can easily sink your time. It’s hard to keep up with your 300+ friends on FaceBook and your 3000+ followers on Twitter. The noise created by today’s social media is a big challenge for businesses to overcome.
While FaceBook and Twitter are great platforms to promote your business they do not give you the best experience when it comes to managing more intimate collaboration and communication with your employees. This is where GroupMe comes into play.
GroupMe is a free service that allows you to simultaneously communicate with a number of mobile devices using either text messaging or conference calling. The best part of GroupMe is that it can work on any mobile device that has support for SMS.
With GroupMe you can create private groups. For example, you can create a group for all your field workers who are on the go. When you create a group, you are given a unique number, that you can use to communicate and collaborate with the whole group.
Currently GroupMe supports a maximum of 25 people per group. This should be more than enough for most small businesses to keep in touch with their employees. While GroupMe is free, the standard SMS rates from your mobile carrier will still apply. GroupMe is currently only available in the United States.
Do you find GroupMe an attractive Social Media tool for your small business? In what other ways can you use GroupMe for your Small Business.
For more information on GroupMe, please visit GroupMe.com
Has Google’s search quality gone down the drain?
Lately, there has been a lot of discussion on how Google has ranked low quality content farms and websites filled with ads over websites that contain higher quality content. People who own these content farms and ad sites have got sophisticated with their SEO methods and techniques allowing them to consistently rank their websites higher than genuine authoritative websites. Google has said that it will get tough with these content farms that are setup primarily to make money via pay per click ads.
But, it looks like things haven’t improved much. For example, search for the text “cricket world cup 2011” and look at the sites that are listed first on the search engine result page. The very first website is a site fully loaded with Adsense ads and other affiliate links. The fact that this website’s domain name matches the exact search phrase could have boosted its rankings to claim the number one spot. This is absurd!
The official website of the ICC Cricket World Cup is listed on a distant seventh place!

Many of you have heard about the new search engine Blekko that has made headlines in the recent past. Blekko promises better quality searches using slash tags. In a nutshell a slash tag allows one to refine and narrow their search. For example, instead of just searching for the term “ipad 2”, you could search it with a slash tag. For example, “ipad 2 /techblogs”. In this example, we have narrowed the search to only technology blogs.
So, I decided to use the slash tag ‘”cricket” in my blekko search and performed the following search: “cricket world cup 2011 /cricket”.
The results returned by blekko were much better in quality than the Google search results. Blekko gave importance to high profile websites such as cricinfo in the search results. But, Blekko too listed the official website at the exact seventh spot as Google.
So what do you think? Has Google’s search quality gone down the drain? Love to hear your thoughts.
Wednesday, 4 May 2011
Windows Server Hacks: Remotely Enable Remote Desktop
Remote Desktop is a cool feature of Windows Server 2003 that lets you remotely log on to and work at a machine as if you were seated at the local console (in Windows 2000 Advanced Server, this feature was called Terminal Services in Remote Administration Mode). Remote Desktop can be a lifesaver for fixing problems on servers at remote sites, but what if you forgot to enable the feature before you shipped the server out to Kalamazoo? Enabling Remote Desktop is easy if the server is in front of you: just log on as an administrator, open System in Control Panel, select the Remote tab, and under Remote Desktop select the checkbox labeled "Allow users to connect remotely to this computer." Unfortunately, you can't use the System utility to enable Remote Desktop on a remote machine, though you can access some properties pages of System using Computer Management by first connecting the console to a remote computer, then right-clicking on the root node and selecting Properties. Unfortunately, as you can see in Figure 1 below, the Remote tab is not available when you access System properties this way on a remote machine (here named SRV220).

Figure 1. System properties for a remote machine does not have Remote tab.
Fortunately, there's a workaround. Sit down at your desk and log on to your Windows XP workstation using your administrator credentials and start Registry Editor by Start --> Run --> regedit --> OK. Then select the Connect Network Registry option under the File menu (Figure 2).

Figure 2. Connecting to the Registry on a remote machine.
This opens the Select Computer search box. Either browse Active Directory to locate the remote server, or type its name in the textbox (Figure 3).

Figure 3. Connecting to the Registry on a remote server named SRV220.
Click OK and a node will be displayed in Registry Editor for the remote machine (Figure 4).

Figure 4. HKLM and HKU hives on SRV220.
Now browse

Figure 5. Registry key for Terminal Server on remote machine.
Under the Terminal Server key, you'll find a

Figure 6. Set
The remote machine needs to be rebooted for the change to take effect, so open a command prompt and type the following command:
After the remote machine reboots, Remote Desktop should be enabled on it. To test this from your workstation, open Start --> All Programs --> Accessories --> Communications --> Remote Desktop Connection, enter the name of the remote server in the Remote Desktop Connection logon box, supply your administrator password when prompted, and you're in.

Figure 1. System properties for a remote machine does not have Remote tab.
Fortunately, there's a workaround. Sit down at your desk and log on to your Windows XP workstation using your administrator credentials and start Registry Editor by Start --> Run --> regedit --> OK. Then select the Connect Network Registry option under the File menu (Figure 2).

Figure 2. Connecting to the Registry on a remote machine.
This opens the Select Computer search box. Either browse Active Directory to locate the remote server, or type its name in the textbox (Figure 3).

Figure 3. Connecting to the Registry on a remote server named SRV220.
Click OK and a node will be displayed in Registry Editor for the remote machine (Figure 4).

Figure 4. HKLM and HKU hives on SRV220.
Now browse
HKLM
on SRV to find the following Registry key (Figure 5).HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

Figure 5. Registry key for Terminal Server on remote machine.
Under the Terminal Server key, you'll find a
REG_DWORD
value named fDenyTSConnection
. Double-click on that value to open the Edit DWORD
Value box and change the value data from 1 (Remote Desktop disabled) to 0 (Remote Desktop enabled), as in Figure 6 below.
Figure 6. Set
fDenyTSConnections
to 0 to enable Remote Desktop on SRV220.The remote machine needs to be rebooted for the change to take effect, so open a command prompt and type the following command:
shutdown -m \\srv220 -r
After the remote machine reboots, Remote Desktop should be enabled on it. To test this from your workstation, open Start --> All Programs --> Accessories --> Communications --> Remote Desktop Connection, enter the name of the remote server in the Remote Desktop Connection logon box, supply your administrator password when prompted, and you're in.
Subscribe to:
Posts (Atom)