CMD - DOS command for obtaining system errors


  1. Posts : 7
    Windows 7 premium 64bit
       #1

    CMD - DOS command for obtaining system errors


    Hi Everybody,
    I am from Pakistan and i have been working in Tech support since 3 years but today i came across a question from a interviewer that " what is the syntax or command to run diagnostic test or to obtain the errors details of a PC/Laptop from DOS/CMD.

    Please let me know ASAP.
      My Computer


  2. Posts : 2,464
    Windows 7 Ultimate x64
       #2

    What kind of errors are you looking for? What tools have at your disposal? And most important, why must it be though command line? Certainly a handy tool to have, but if you know better options don't be affraid to use them.
    Without any specific symptoms or even a vague idea of what are you tracing that's just a useless question, there is no way to give a reasonable answer, one normally looks at the problem then begins some evaluation of the situation, not just running some canned commands and hope they diagnose or fix everything.
      My Computer


  3. Posts : 7
    Windows 7 premium 64bit
    Thread Starter
       #3

    Errors such as registry , cause of crash like even viewer, autoexe viruses and lots of other errors which results in slow down of the system or taking long time to copy a folder of 1 mb to another folder or drive.
    If there is no such command , could you please suggest some other windows builtin tool to find those errors and kind of errors i have missed
      My Computer


  4. Posts : 7
    Windows 7 premium 64bit
    Thread Starter
       #4

    One thing more my interviewer told me that there is a command line syntax which is use to diagnose the errors found in the system.
    Its like once we entered that command it start analysing the system (start scanning )and gives bundle of details about the system errors currently present in the workstation.
      My Computer


  5. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #5

    Here is a long list of cmd. Of course their are more.

    Take a look at this tutorial by Brink.

    Run Commands for Windows 7

    I personally have never heard of a command that check everything in a system.

    Such a command sure could be very handy.
      My Computer


  6. Posts : 1,049
    Windows 7 Pro 32
       #6

    I use wevtutil (Windows Events Command Line Utility) every day to easier check errors and warnings from the event logs. Here's how I use it: Windows Error Reporting - Some General Questions from a Newbie
      My Computer


  7. Posts : 7
    Windows 7 premium 64bit
    Thread Starter
       #7

    Thanks everybody but in few days il let you know the alternative way of doing so
      My Computer


  8. Posts : 6,285
    Windows 10 Pro X64
       #8

    Maybe this?

    Control Panel
    Performance Information and Tools
    Advanced Tools
    Generate a system health report

    Not Command Line but interesting.
      My Computer


  9. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #9

    Ztruker said:
    Maybe this?

    Control Panel
    Performance Information and Tools
    Advanced Tools
    Generate a system health report

    Not Command Line but interesting.
    And the shortcut for that being —

    perfmon /report

    Still not a real command line though.

    Nouman said:
    my interviewer told me that there is a command line syntax which is use to diagnose the errors found in the system.
    I’d be interested in knowing what command line this Interviewer of yours knows, Nouman. Before reading Ztruker’s post, I didn’t know vanilla Windows even had a diagnostic tool accessible through the GUI. One existing for the command line would not be likely—it wouldn’t make any sense—given the absence of Click as an input method, the diagnostic tool'd be very limited in functionality. Simply not worth it to use or even make in the first place.

    Do return for the Interviewer’s answer, Nouman. Thanks.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:51.
Find Us