Win32_LogicalDisk Class and the Chkdsk() function!
Tech-Archive recommends: Fix windows errors by optimizing your registry
- From: "Matthias Pfeffer" <knubbel@xxxxxxx>
- Date: Wed, 15 Jun 2005 16:44:34 +0200
hello!
i want to run a check disk in my program and i found the function chkdsk()
in the win32_logicaldisk class.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/chkdsk_method_in_class_win32_logicaldisk.asp
it works fine, but i don't get the information back, that i want.
this are the reutrn paramters:
0 Success - chkdsk completed
1 Success - Locked and chkdsk scheduled on reboot
2 Failure - Unknown file system
3 Failure - Unknown error
the function says only if the chkdsk completed successfully or not. but not
if my media is broken! :/
is it possible to find out if the checked media is faulted?
th 4 help
christian schwarz
.
Relevant Pages
- Win32_LogicalDisk Class and the Chkdsk() function!
... i want to run a check disk in my program and i found the function chkdsk() ... Success - chkdsk completed ... Success - Locked and chkdsk scheduled on reboot ... is it possible to find out if the checked media is faulted? ... (microsoft.public.windowsxp.wmi) - Re: Win32_LogicalDisk Class and the Chkdsk() function!
... chkdsk reports it's outcome to the event log when it is run. ... > 1 Success - Locked and chkdsk scheduled on reboot ... > 2 Failure - Unknown file system ... > is it possible to find out if the checked media is faulted? ... (microsoft.public.windowsxp.wmi) - NTFS volume with large unmovable block
... This happened after changing out motherboards and running a repair install ... Other than the space problem, ... I have tried these things without success: ... Run both chkdsk /p and chkdsk /r from the XP CD recovery console. ... (microsoft.public.windowsxp.help_and_support) - Re: Loss of Hard disk space
... I have assumed I have been hacked and have run chkdsk with no success. ... > storing files on the system. ... > there is not a file system problem. ... (microsoft.public.win2000.file_system) - Re: Blue Screen and no safe mode
... What exactly do you mean by "Tried a DOS boost disk to run a chkdsk with no success"? ... I tried to start in Safe mode, ... (microsoft.public.windowsxp.general) |
|