Skip to content

Missing information regarding reboot #2893

Open
@TitaniumCoder477

Description

@TitaniumCoder477

PROBLEM
When "chkdsk /f" is invoked on volumes in use, the user is told, "Cannot lock current drive. Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (y/n)." The docuemntation for Repair-Volume says, "OfflineScanAndFix: Takes the volume offline to scan the volume and fix any errors found (equivalent to chkdsk /f)," but does not specify how a reboot is handled. For example, will the Repair-Volume cmdlet reboot the machine right then and there? Or will it run on next reboot, whenever that is? If the latter, it does not say this. Rather it just outputs "NoErrorsFound." That is, it neither fails with an exception (that could be caught, interpreted, and handled), nor does it prompt how the user wishes to handle the s ituation.

SOLUTION
The documentation for Repair-Volume needs to at least specify how a reboot is handled when a volume is locked. That is, is the endpoint rebooted right then and there, or is the action just scheduled the next time the endpoint reboots.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

area-storageIssues for storage moduleissue-doc-ideaIssue - request for new content

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions