Home
> Commands N-Z
> Commands S
SCANDSKW
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Starts Microsoft ScanDisk, a disk analysis and repair tool that
checks a drive for errors and corrects any problems that it finds.
Syntax
To check the current drive for disk errors:
SCANDSKW
To check one or more drives for disk errors:
SCANDSKW
[[drive: [...]
[/A[ll[fixeddisks]]]
[/N[oninteractive]]
[/O[ldfs]]
[/P[review]]
[/Sagerun:n]
[/Sageset:n]
| [/Silent]]
Parameters
- drive: [...]
(Win95)
- Specifies the drive or drives you want to check and
repair.
Switches
- /A[ll[fixeddisks]]
(Win95)
- Check all your local, nonremovable hard disks.
- /N[oninteractive]
(Win95)
- Start and close ScanDisk automatically.
- /O[ldfs]
(Win95)
- UNDOCUMENTED *DANGEROUS* Converts ALL
Windows Long File Names (LFNs) on target hard disks
to MS-DOS style 8.3 Short File Names (SFNs).
- ALL long folder AND file names will be lost!
- /P[review]
(Win95)
- Prevent ScanDisk from correcting any errors it finds.
- /Sagerun:n
(Win95)
- UNDOCUMENTED Use Unattended settings via
System Agent (Task Scheduler) from the SETn Registry
key, n=0-50.
- HKEY_LOCAL_MACHINE\Software\Microsoft\Plus!\SystemAgent\SAGE\Scandisk
for Windows\Setn
- /Sageset:n
(Win95)
- UNDOCUMENTED Display settings dialog box
and saves them in the SETn Registry key for use with
System Agent (Task Scheduler), n=0-50.
- HKEY_LOCAL_MACHINE\Software\Microsoft\Plus!\SystemAgent\SAGE\Scandisk
for Windows\Setn
- /Silent
(Win95)
- UNDOCUMENTED Does NOT allow any command-line
parameters. Summary screens are NOT displayed.
Related
none.
Notes
Registry keys used by SCANDSKW:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Check Drive
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Check Drive\LastCheck
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Check Drive\LastSurfaceAnalysis
- HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Applets\Check Drive
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Check Drive
Registry keys used by SCANDSKW and Task Scheduler (System Agent):
- HKEY_LOCAL_MACHINE\Software\Microsoft\Plus!\SystemAgent\SAGE\Scandisk for Windows
- HKEY_LOCAL_MACHINE\Software\Microsoft\Plus!\SystemAgent\SAGE\Scandisk for Windows\Setn
- HKEY_LOCAL_MACHINE\Software\Microsoft\Plus!\SystemAgent\SAGE\Scandisk for Windows\Result Codes
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
none
- Windows
-
Win95
Win98
WinME
- Windows NT
-
none
Last Updated: 2004/10/01
Direct corrections or suggestions to:
Rick Lively