Home > Networking Tips > Network Engineering > Vista's Network Diagnostics Framework: Good idea, less-than-stellar results
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK ENGINEERING

Vista's Network Diagnostics Framework: Good idea, less-than-stellar results


Brien M. Posey
02.20.2007
Rating: -3.62- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Connectivity problems can be frustrating for both the user and the help desk staff. The user can't do his job until the problem is fixed, and the already overburdened help desk staff must take time out from whatever they are doing to help the user. In order to help expedite the diagnostic and repair process, Microsoft has created a new component called the Network Diagnostics Framework and included it in Windows Vista. In this article, I explain what the Network Diagnostics Framework is and what it does -- as well as addressing its shortcomings.

Before showing you Vista's Network Diagnostics Framework, I want to point out that Windows XP also had some self-help features that users could employ when network problems occurred. To access the self-help features, a user simply had to right-click on the malfunctioning network connection, then select the "Repair" command from the resulting shortcut menu, as shown in Figure A.

Figure A

You can repair a network connection in Windows XP by right-clicking on the connection and choosing the "Repair" command from the resulting shortcut menu.

Although this technique looks simple, there are two main problems with it. The first is that the "Repair" command is geared toward end users. I have yet to see a seasoned IT professional use this command. There is nothing wrong with creating a self-help feature for the users, but they may never even know this option is available to them. After all, how many of your users know how to get to the "Network Connection" screen?

The other problem that I have with the Windows XP repair feature is that it is so simplistic. If you choose the repair option, Windows presumably performs a few tasks in the background, but it never actually tells you what it is doing or gives you a chance to interact with the operating system. Instead, when the process completes, you simply see a message similar to the one shown in Figure B.

Figure B

Windows XP displays this message after supposedly repairing the network connection.

When creating Windows Vista, Microsoft decided to do things a little bit differently. The new approach involved creating something called the Network Diagnostics Framework. The basic idea behind the Network Diagnostics Framework is that the troubleshooting process can be context-sensitive. By looking at the situation in which the problem occurred, Windows can provide information about the circumstances that led to the problem. From there, Windows can run the appropriate tests and display information that helps users help themselves.

For example, suppose a network problem is preventing a user from browsing the Internet. In Windows XP, Internet Explorer would simply display an error message stating that "the page cannot be displayed," or something similar. In Windows Vista, Internet Explorer will display the error message, but it will also ask users whether they want to diagnose the problem, as shown in Figure C.

Figure C

Internet Explorer asks users whether they would like to diagnose the problem.

In this particular example, I just happened to be using Internet Explorer. The Network Diagnostics Framework is designed to function across the entire operating system. Users may therefore receive diagnostic prompts in any number of situations, not just when using Internet Explorer.

In this case, I simply unplugged my computer's network cable to simulate a connectivity problem. I then told Internet Explorer I wanted to diagnose a problem. Upon doing so, Windows spent a couple of minutes analyzing the system and then displayed the dialog box shown in Figure D. As you can see in the figure, the Network Diagnostics Framework produced a prompt telling me that I needed to plug a cable into the network adapter.

Figure D

The Network Diagnostics Framework produces a prompt telling me that I need to plug a cable into the network adapter.

At first glance, it seems that the Network Diagnostics Framework is an answer to prayers. Unfortunately, it simply does not work as well as it initially appears to do. In researching this article, I spent a considerable amount of time simulating various types of network problems in an effort to see whether the Network Diagnostics Framework would diagnose the problems correctly. Although I halfway expected to have problems with the more difficult problems, I was stunned by the fact that the Network Diagnostics Framework often misdiagnosed even simple problems.

One example of this is that I changed my computer's TCP/IP configuration so that the preferred DNS server setting was pointing to a nonexistent server. Rather than telling me that my DNS settings were incorrect or that there was a communications problem with the DNS server, Network Diagnostics Framework sent an error message telling me that my firewall settings were incorrect, as shown in Figure E.

Figure E

The Network Diagnostics Framework incorrectly diagnosed a DNS issue as being a firewall problem.

At first, I thought that Windows perhaps assumed a firewall problem was to blame because I had pointed the operating system toward a nonexistent server. That being the case, I changed my TCP/IP configuration so that the settings for my preferred DNS server pointed to a server on my network that was configured correctly but was not running DNS services. After doing so, I continued to receive the same error message.

Conclusion

In my opinion, the Network Diagnostics Framework is a step in the right direction for Microsoft. For the most part, I find it irrelevant for IT professionals because conventional network troubleshooting techniques tend to yield superior results. Although users lacking networking knowledge may in some cases benefit from the Network Diagnostics Framework, I would tend not to recommend its use for the simple reason that it often produces an incorrect diagnosis.

About the author:
Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. Brien has served as CIO for a nationwide chain of hospitals and was once in charge of IT security for Fort Knox. As a freelance technical writer, he has written for Microsoft, CNET, ZDNet, TechTarget, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at www.brienposey.com.

Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Working With Servers and Desktops
What network loss testing tools/methods calculate dropped packets from a PC?
Do I have to disable DHCP on my router to create a DHCP server?
How can I replicate the services of Active Directory (AD) in ADC?
Top 10 reasons why computers do not have network access to each other
Troubleshooting -- 'Network Know-How' Chapter 17
Windows Server 2008 IP routing configuration: Static and dynamic RIPv2
Understand Windows tracert output to troubleshoot network connectivity
Test your TCP/IP protocol stack to troubleshoot network connectivity
Checking IP configuration to troubleshoot Windows network connectivity
Physical network security key to fighting low-tech threats

LANs (Local Area Networks)
3Com acquisition confirms HP-Cisco battle for China
Integrated wireless and wired LAN: Brocade-Motorola deal ups the ante
Enterprise passive optical networks: a spanning-tree LAN alternative
10 Gigabit Ethernet tutorial: Connecting data centers, storage, LAN and beyond
Intelligent edge switches: Complexity is driving a smarter LAN
Q&A: Jim Metzler previews the networking track at Interop
Extreme's port extender can replace consumer devices at network edge
VLANs versus IP subnets: Why use a VLAN over IP subnetting?
Troubleshooting VLANs: How to monitor 802.1q tagged traffic
Top 10 networking advice of 2008

Network Engineering
Desktop virtualization network requirements
Preventing hacker attacks with network behavior analysis IPS
Internal cloud computing on the cheap: Free automated provisioning?
Improved storage performance without adding more disk
Troubleshooting -- 'Network Know-How' Chapter 17
Windows Server 2008 IP routing configuration: Static and dynamic RIPv2
Understand Windows tracert output to troubleshoot network connectivity
Using tracert and TTL to troubleshoot network connectivity problems
10 Gigabit Ethernet interconnect solutions: Investigate carefully before choosing
Optimization of the data center with 10 Gigabit Ethernet

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
four-way server  (SearchNetworking.com)
mail user agent  (SearchNetworking.com)
netstat  (SearchNetworking.com)
Technical Office Protocol  (SearchNetworking.com)
Telnet  (SearchNetworking.com)
two-way server  (SearchNetworking.com)
virtual network adapter  (SearchNetworking.com)
virtual network computing  (SearchNetworking.com)
virtual systems management  (SearchNetworking.com)
VxWorks  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts