Re: Unlock the drive

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Sony Kalkan" <sonykalkan@xxxxxxxxx> wrote in message
news:1190876879.305769.263100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I want to unlock the drive programmatically ? is there an api
function
related to it. For instance, when i run chkdsk with /F parameter, i
get "drive in use" error . I want to unlock drive programmatically
and
execute chkdsk

That function is built into chkdsk, with the limitation that the system and
pagefile drives cannot be exclusively locked. There's not any way to force
Windows to close those files, at least not in desktop editions of Windows.


Thank you in advance,


Sony.



.



Relevant Pages

  • Scan disk
    ... not run b/c it can not unlock the drive I'm trying to check. ... Any pointers on how to unlock the c drive so I can run the chkdsk tool. ... running on Windows XP and the NTFS system. ...
    (microsoft.public.windowsxp.general)
  • Unlock the drive
    ... I want to unlock the drive programmatically? ... is there an api ... For instance, when i run chkdsk with /F parameter, i ...
    (comp.programming)
  • Unlock the drive
    ... I want to unlock the drive programmatically? ... is there an api ... For instance, when i run chkdsk with /F parameter, i ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Unlock the drive
    ... I want to unlock the drive programmatically? ... is there an api ... For instance, when i run chkdsk with /F parameter, i ... Windows will always keep that open. ...
    (comp.programming)
  • Re: Scan disk
    ... When I schedule scan disk using chkdsk /f, on the restart the function can ... Any pointers on how to unlock the c drive so I can run the chkdsk tool. ...
    (microsoft.public.windowsxp.general)