IT Questions and Answers :)

Wednesday, May 29, 2019

Which of the following commands in the Windows command line launches a diagnostic tool for detecting display, sound, and input related problems?

Which of the following commands in the Windows command line launches a diagnostic tool for detecting display, sound, and input related problems?

  • BOOTREC
  • REGSVR32
  • MMC
  • DXDIAG 
Which of the following commands in the Windows command line launches a diagnostic tool for detecting display, sound, and input related problems?

EXPLANATION

DxDiag ("DirectX Diagnostic Tool ") is a diagnostics tool used to test DirectX functionality and troubleshoot video- or sound-related hardware problems. DirectX Diagnostic can save text files with the scan results. These files are often posted in tech forums or attached to support emails in order to give support personnel a better idea of the PC the requester is using in case the error is due to a hardware failure or incompatibility.
DxDiag is located in %SystemRoot%\System32.[1] Starting from Windows Vista, DxDiag only shows information; it is no longer possible to test the hardware and the various DirectX components.[2]

 

Functions

The System tab displays the current DirectX version, the computer's hostname, the operating system's version, information on the system BIOS, and other data. The DirectX Files tab displays information about the versions of specific DirectX system files, which are portable executables or dynamic-link libraries (DLLs).
DxDiag displays information about the current display settings and the video hardware on the Display tab. If the computer has more than one monitor, then DxDiag will display a separate tab for each monitor. This tab can disable DirectDraw, Direct3D, and/or AGP Texture Acceleration for troubleshooting purposes. If the installed display driver has passed Windows Hardware Quality Labs testing, DxDiag will display this result on the right side of the window.
The Music tab displays information about the computer's MIDI settings, and lists different music-related software and hardware on your computer. The Input tab, displays information about input devices installed in the computer such as keyboards and mice. It will also attempt to detect problems with these devices. DxDiag also displays information about the installed DirectPlay Service Provider.
It is possible to create chat rooms with DxDiag that can be accessed by other computers, as long as anyone attempting to join knows the IP address of the host computer.
In Windows XP Professional x64 edition, Windows Vista x64 edition, and Windows 7 x64 edition, two versions of DxDiag are included, a native 64-bit version and a 32-bit version.
Share:

What command do you use to shut down or restart local or remote hosts running Windows?

What command do you use to shut down or restart local or remote hosts running Windows?

  • shutdown
  • reboot
  • poweroff
  • exit 
What command do you use to shut down or restart local or remote hosts running Windows?

EXPLANATION

The shutdown command is a Command Prompt command that can be used to shut down, restart, log off, or hibernate your own computer.
The shutdown command can also be used to remotely shut down or restart a computer you have access to over a network.
The shutdown command is similar in some ways to the logoff command.

Shutdown Command Availability

The shutdown command is available from within the Command Prompt in Windows 10Windows 8Windows 7Windows Vista, and Windows XP operating systems.
The availability of certain shutdown command switches and other shutdown command syntax may differ from operating system to operating system.

Shutdown Command Syntax

shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/f] [/m \\computername] [/t xxx] [/d [p:|u:]xx:yy] [/c "comment"] [/?]
See How to Read Command Syntax if you're not sure how to read the shutdown command syntax shown above or described in the table below.

Shutdown Command Options
Item Description
/i This shutdown option shows the Remote Shutdown Dialog, a graphical version of the remote shutdown and restart features available in the shutdown command. The /i switch must be the first switch shown and all other options will be ignored.
/l This option will immediately log off the current user on the current machine. You can not use the /l option with the /m option to log off a remote computer. The /d, /t, and /c options are also not available with /l.
/s Use this option with the shutdown command to shut down the local or /m defined remote computer.
/r This option will shut down and then restart the local computer or the remote computer specified in /m.
/g This shutdown option functions the same as the /r option but will also restart any registered applications after the reboot.
/a Use this option to stop a pending shutdown or restart. Remember to use the /m option if you're planning on stopping a pending shutdown or restart that you executed for a remote computer.
/p This shutdown command option turns off the local computer completely. Using the /p option is similar to executing shutdown /s /f /t 0. You can not use this option with /t.
/h Executing the shutdown command with this option immediately puts the computer you're on into hibernation. You can not use the /h option with the /m option to put a remote computer into hibernation, nor can you use this option with /t, /d, or /c.
/e This option enables documentation for an unexpected shut down in the Shutdown Event Tracker.
/o Use this shutdown switch to end the current Windows session and open the Advanced Boot Options menu. This option must be used with /r. The /o switch is new beginning in Windows 8.
/hybrid This option performs a shutdown and prepares the computer for fast startup. The /hybrid switch is new beginning in Windows 8.
/f This option forces running programs to close without warning. Except with the /l, /p, and /h options, not using shutdown's /f option will present a warning about the pending shutdown or restart.
/m \\computername This shutdown command option specifies the remote computer that you want to execute a shutdown or restart on.
/t xxx This is the time, in seconds, between the execution of the shutdown command and the actual shutdown or restart. The time can be anywhere from 0 (immediately) to 315360000 (10 years). If you don't use the /t option then 30 seconds is assumed. The /t option is not available with either the /l, /h, or /p options.
/d [p:|u:]xx:yy This records a reason for the restart or shutdown. The p option indicates a planned restart or shutdown and the u a user defined one. The xx and yy options specify major and minor reasons for the shutdown or restart, respectively, a list of which you can view by executing the shutdown command without options. If neither p nor u are defined, the shutdown or restart will be recorded as unplanned.
/c "comment" This shutdown command option allows you to leave a comment describing the reason for the shutdown or restart. You must include quotes around the comment. The maximum length of the comment is 512 characters.
/? Use the help switch with the shutdown command to show detailed help about the command's several options. Executing shutdown without any options also displays the help for the command.


Each time Windows is shut down or restarted manually, including via the shutdown command, the reason, type of shutdown, and [when specified] comment are recorded in the System log in Event Viewer. Filter by the USER32 source to find the entries.
You can save the output of the shutdown command to a file using a redirection operator. See How to Redirect Command Output to a File for help doing that or see Command Prompt Tricks for more tips.

Shutdown Command Examples

shutdown /r /d p:0:0
In the above example, the shutdown command is used to restart the computer that's currently being used and records a reason of Other (Planned). The restart is designated by /r and the reason is specified with the /d option, with p representing that the restart is planned and the 0:0 indicating an "Other" reason.
Remember, major and minor reason codes on a computer can be displayed by executing shutdown without options and referencing the Reasons on this computer table that's displayed.
shutdown /l
Using the shutdown command as shown here, the current computer is immediately logged off. No warning message is displayed.
shutdown /s /m \\SERVER /d p:0:0 /c "Planned restart by Tim"
In the above shutdown command example, a remote computer named SERVER is being shut down with a recorded reason of Other (Planned). A comment is also recorded as Planned restart by Tim. Since no time is designated with the /t option, the shutdown will begin on SERVER 30 seconds after executing the shutdown command.
shutdown /s /t 0
This shutdown command is used to shut down the local computer immediately, since we designated a time of zero with the shutdown /t option.
The zero in this command could easily be changed 10 to delay the shutdown for several seconds, 60 to make the computer shut down in one minute, etc.
shutdown /a
Finally, in this last example, the shutdown command is cancelled before it can complete. This applies to any restart or shutdown command. You might use it to cancel something like a timed restart that's scheduled for, say, two minutes from now.

Shutdown Command & Windows 8

Microsoft made it more difficult to shut down Windows 8 than they did with previous versions of Windows, prompting many to search out a way of shutting down via a command.
You can certainly do that by executing shutdown /p, but there are several other, albeit easier, ways of doing so. See How to Shutdown Windows 8 for a complete list.
To avoid commands altogether, you can install a Start menu replacement for Windows 8 to make it easier to shut down and restart the computer.
With the return of the Start Menu in Windows 10, Microsoft again made shutting down your computer easy with the Power option.

 

Share:

Which of the following commands DOESN'T allow you to edit the Windows registry?

Which of the following commands DOESN'T allow you to edit the Windows registry?

  • REGEDT32
  • REGEDIT
  • REG
  • CHKDSK 
Which of the following commands DOESN'T allow you to edit the Windows registry?

EXPLANATION

 CHKDSK is a system tool in DOS, OS/2 and Windows. It verifies the file system integrity of a volume and fixes logical file system errors. It is similar to the fsck command in Unix.

CHKDSK can be run from DOS prompt, Windows Explorer, Windows Command Prompt, Windows PowerShell or Recovery Console.[3]
On Windows NT operating systems, CHKDSK can also check the disk surface for bad sectors and mark them (in MS-DOS 6.x and Windows 9x, this is a task done by Microsoft ScanDisk). The Windows Server version of CHKDSK is RAID-aware and can fully recover data in bad sectors of a disk in a RAID-1 or RAID-5 array if other disks in the set are intact.[4]
On Windows NT family, a standard CHKDSK scan consists of three phases of testing file metadata. It looks for errors but does not fix them unless it is explicitly ordered to do so. The same applies to surface scan—this test, which could be extremely time-consuming on large or low-performance disks, is not carried out unless explicitly requested. CHKDSK requires exclusive write access to the volume to perform repairs.[5][6]
Because of the exclusive access requirement and the time-consuming nature of CHKDSK operation, Windows Vista implemented a new file system health model in which the operating system fixes errors on the volumes as it encounters them. In the event that the problem is grave and a full scan is required, Action Center notifies the user to take the volume offline at the first convenience.[7]
Windows Vista and Windows Server 2008 added self-healing ability, turned on by default, in addition to providing the CHKDSK command. It detects physical file system errors and silently fixes them on the fly. Thus, many problems previously discovered on running CHKDSK never appear. It is administered by fsutil repair command.[8][9]

 

 

 

Share:

What's another name for Wi-Fi?

What's another name for Wi-Fi?

  • THX 1138
  • 801.12 networking
  • 801.22 networking
  • 802.11 networking 
What's another name for Wi-Fi?

EXPLANATION

 802.11 Standards Explained: 802.11ac, 802.11b/g/n, 802.11a
Home and business owners looking to buy networking gear face an array of choices. Many products conform to the 802.11a, 802.11b/g/n, and/or 802.11ac wireless standards collectively known as Wi-Fi technologies. Bluetooth and various other wireless (but not Wi-Fi) technologies also permeate the market, each designed for specific networking applications.
For quick reference, 801.11aj is the most recently approved standard. The protocol was approved in May 2018. Just because a standard is approved, however, does not mean it is available to you or that it is the standard you need for your particular situation. Standards are always being updated, much like the way software is updated in a smartphone or on your computer. 
Share:

Monday, May 27, 2019

Which of the following refers to wireless devices involved in connecting devices in close proximity to exchange data or resources?

Which of the following refers to wireless devices involved in connecting devices in close proximity to exchange data or resources?

  • CAN
  • MPLAN
  • WPAN
  • WAN 
Which of the following refers to wireless devices involved in connecting devices in close proximity to exchange data or resources?

EXPLANATION

A wireless personal area network (WPAN) is a type of personal network that uses wireless communication technologies to communicate and transfer data between the user's connected devices.

 A wireless network defined by personal operating space (POS), which simply is the area in the near vicinity of a device or individual. 802.15 is the IEEE specification for WPANs and 802.15.1 is the specification for Bluetooth.


Share:

An IP address of 130.3.3.3 falls into which class?

An IP address of 130.3.3.3 falls into which class?

  • Class C
  • Class A
  • Class D
  • Class B 

An IP address of 130.3.3.3 falls into which class?

EXPLANATION

 

Note: Class A addresses 127.0.0.0 to 127.255.255.255 cannot be used and is reserved for loopback and diagnostic functions.

Private IP Addresses

Class Private Networks Subnet Mask Address Range
A 10.0.0.0 255.0.0.0 10.0.0.0 - 10.255.255.255
B 172.16.0.0 - 172.31.0.0 255.240.0.0 172.16.0.0 - 172.31.255.255
C 192.168.0.0 255.255.0.0 192.168.0.0 - 192.168.255.255
Class 1st Octet Decimal Range 1st Octet High Order Bits Network/Host ID (N=Network, H=Host) Default Subnet Mask Number of Networks Hosts per Network (Usable Addresses)
A 1 – 126* 0 N.H.H.H 255.0.0.0 126 (27 – 2) 16,777,214 (224 – 2)
B 128 – 191 10 N.N.H.H 255.255.0.0 16,382 (214 – 2) 65,534 (216 – 2)
C 192 – 223 110 N.N.N.H 255.255.255.0 2,097,150 (221 – 2) 254 (28 – 2)
D 224 – 239 1110 Reserved for Multicasting
E 240 – 254 1111 Experimental; used for research

 


Share:

Which type of RAID implements disk striping with distributed parity?

Which type of RAID implements disk striping with distributed parity?

  • RAID 5
  • RAID 0
  • RAID 1
  • RAID 10 

 
Which type of RAID implements disk striping with distributed parity?

EXPLANATION

  Following are the key points to remember for RAID level 5.

  • Minimum 3 disks.
  • Good performance ( as blocks are striped ).
  • Good redundancy ( distributed parity ).
  • Best cost effective option providing both performance and redundancy. Use this for DB that is heavily read oriented. Write operations will be slow.

Share:

Popular Posts