Skip to main content

not able to open microsoft website/microsoft website blocked/Microsoft website not opening

Not able to access any antivirus websites or even microsoft website, Most of the people have problem in opening the website of microsoft or any other antivirus vendors website.

Generally people think that this is a virus attack or a  misconfiguration in browser/System which block the Microsoft website

I will suggest a simple workaround for this,

I have tried this in windows XP not sure about other operating systems, Please check it and let me know

Click on Start >> Administrative tools>>Services


Select services from the listing 
  
Select DNS client service, If it is started Right Click on it and select Stop.
To Stop the Service.

Next open a browser and type http://www.microsoft.com
This will open the open microsoft website.







Note: this is just a work around.Please scan your system for virus or any other threats. This blog is not responsible for any effects after the steps, Please do it at your own risk.











Comments

Popular posts from this blog

Static Keyword in C#, unleashing Static keyword in C#

What is Static keyword in C# “Static” keyword can be used for declaring a static member . The keyword Static can be applied to the Classes, field, method, properties, operator, event and constructors. Methods and variable  which we use as static doesn't need an instance to be created of a class. Example of static keyword class testclass {     public static int statint;     public static void squareroot(); } we can call the above static method and variable without creating the instance of the class How to call a static method  testclass.squareroot(); apart from this the static method can use only the static variables of same class.

string is null or empty(String.IsNullOrEmpty)

You can check for the strings in the code, There are many things which  you have to consider before you use a string. Declare the string variable and assign it if (String.IsNullOrEmpty(StringVariable)) {   return "is null or empty" ; else return String.Format( "(\"{0}\") is neither null nor empty" , s); } This will check if the string is null or empty and will return a boolean response.

Usage of Ternary Operator

You can optimize the code by using the ternary operator, pass a parameter to this function it will compare the salary with the given value and if the condition satisfied It will print the value before the colon and if not satisfied it will print the value after colon. Ternary Operator (?:) condition ? condition satisfied : Condition not satisfied string TernaryOperatorUsage(int Salary) {     return salary >= 5000 ? "Congratulations! You are eligible for a pay hike." :                        "Sorry! You're not eligible for a pay hike."; } The above example illustrates the use of ternary operator in your code.