

However, using the NET USE command, you can do the same thing with one command string.įor example, if you have a shared folder on a computer on your network called \\OTHER-COMPUTER\SHARE\, you can map this as your own Z: drive by typing the command: If you want to map a new drive, you could open File Explorer, right-click on This PC, and go through the Map Network Drive wizard. The scan can take up to 10 or 15 minutes, so give it time. /OFFLOGFILE: Specify a path to save a log file with scan results.

/OFFWINDIR: Use this to do repairs on an offline Windows directory./OFFBOOTDIR: Use this to do repairs on an offline boot directory./VERIFYFILE: Verify the integrity of particular files but don’t repair them./SCANFILE: Scan the integrity of specific files and fix them if corrupted./VERIFYONLY: Check the integrity but don’t repair the files.You can also use the following switches to alter how the command works: If a problem is found, the files will be repaired with backed-up system files. Typing SFC /SCANNOW checks the integrity of all protected system files. You must launch the Command Prompt as administrator (right-click and choose Run as Administrator). If you’re concerned that a virus or some other software has corrupted your core system files, there’s a Windows command that can scan those files and ensure their integrity.
