fsutil dirty
Queries or sets a volume's dirty bit. Windows commands reference
On Windows
Windows
Queries or sets a volume's dirty bit. When a volume's dirty bit is set, autochk automatically checks the volume for errors the next time the computer is restarted.
fsutil dirty {query | set} <volumepath>fsutil dirty query c:fsutil dirty set C:
queryQueries the specified volume's dirty bit.setSets the specified volume's dirty bit.<volumepath>Specifies the drive name followed by a colon or GUID in the following format: volume{GUID}.