CHKDSK Command Lines Quiz

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which command is used to scan the integrity of all protected system files and repair files with problems when possible?

  • /VERIFYONLY
  • /SCANNOW (correct)
  • /VERIFYFILE
  • /SCANFILE

Which command is used to scan the integrity of a specific file but does not repair it?

  • /VERIFYONLY
  • /SCANNOW
  • /SCANFILE
  • /VERIFYFILE (correct)

Which command is used to scan the integrity of a specific file and repair it if problems are detected?

  • /SCANNOW
  • /VERIFYONLY
  • /VERIFYFILE
  • /SCANFILE (correct)

Which command is used with '/SCANFILE' to define the offline Windows and boot directories?

<p>/OFFBOOTDIR (C)</p> Signup and view all the answers

Which command is used to scan the integrity of all protected system files but does not repair any corruption that it finds?

<p>/VERIFYONLY (B)</p> Signup and view all the answers

Which command is used with '/VERIFYONLY' to verify only the files, not the DLLs or the registry?

<p>/FILESONLY (B)</p> Signup and view all the answers

What does the 'list disk' command do in diskpart?

<p>Displays a list of all disks on the computer (D)</p> Signup and view all the answers

What does the 'delete partition' command do in diskpart?

<p>Deletes a selected partition (C)</p> Signup and view all the answers

What does the 'format fs=ntfs quick' command do in diskpart?

<p>Formats the selected partition with the NTFS file system quickly (C)</p> Signup and view all the answers

What does the 'xcopy' command do?

<p>Copies directories and subdirectories (D)</p> Signup and view all the answers

Which command is used to replicate file data and has more options than xcopy?

<p><code>robocopy</code> (D)</p> Signup and view all the answers

What does the /s option do in xcopy?

<p>Copy directories and subdirectories (A)</p> Signup and view all the answers

What does the /i option specify in xcopy?

<p><code>dir2</code> is a directory name (A)</p> Signup and view all the answers

What does the /E option do in robocopy?

<p>Copy subdirectories (including empty ones) (A)</p> Signup and view all the answers

What does the /Z option do in robocopy?

<p>Copy files in restartable mode (B)</p> Signup and view all the answers

What does the /LOG+ option do in robocopy?

<p>Write status output to a log file (A)</p> Signup and view all the answers

Which command is used to copy directories and subdirectories, but not empty ones?

<p><code>xcopy</code> (B)</p> Signup and view all the answers

Which command is used to assume dir2 is a directory name (not a file name) if it does not exist?

<p><code>xcopy</code> (A)</p> Signup and view all the answers

Which command is used to copy all files and subdirectories (including empty ones)?

<p><code>xcopy</code> (D)</p> Signup and view all the answers

Which command is used to copy files in restartable mode (useful if the copy operation fails)?

<p><code>xcopy</code> (B)</p> Signup and view all the answers

Which command will check a disk for errors and fix them automatically?

<p>chkdsk C: /f (C)</p> Signup and view all the answers

What does the command 'chkdsk C: /f /r' do?

<p>All of the above (D)</p> Signup and view all the answers

When should you use the command 'chkdsk C: /x'?

<p>To force the volume to dismount before checking (C)</p> Signup and view all the answers

What is the purpose of the System File Checker (SFC) in Windows?

<p>To scan for and restore corruptions in Windows system files (B)</p> Signup and view all the answers

Which command will immediately scan all protected system files and replace incorrect versions with correct Microsoft versions?

<p>sfc /scannow (C)</p> Signup and view all the answers

What is the purpose of the command 'sfc /scanfile=c:\windows\system32\kernel32.dll'?

<p>To scan the integrity of a specific file and repair if problems are detected (A)</p> Signup and view all the answers

When running the CHKDSK or SFC commands, what should you do before running them?

<p>Open the command prompt as an administrator (D)</p> Signup and view all the answers

Which command will check a disk without fixing any errors?

<p>chkdsk C: (A)</p> Signup and view all the answers

What does the command 'chkdsk C: /f /r' do?

<p>All of the above (D)</p> Signup and view all the answers

When should you use the command 'chkdsk C: /x'?

<p>To force the volume to dismount before checking (C)</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Use Quizgecko on...
Browser
Browser