SP2 Dismounting Volumes in a Hibernate Once/Resume Many Configurat

From: gerros (gerros_at_discussions.microsoft.com)
Date: 01/14/05


Date: Fri, 14 Jan 2005 00:21:01 -0800

If tried to write a programm as discribed in the following technical article:
http://msdn.microsoft.com/embedded/usewinemb/xp/techrsrcxp/techarticles/default.aspx?pull=/library/en-us/dnxpesp2/html/HORMDismountingVolumesInHibernateOnceResumeManyConfiguration.asp

But some things are not so clear:

If done the following as discribed in the article.
I've done Point 1 and 2 auf the artikel. (Lock,Dismount)
All DeviceIoControlfunctions returns with an OK state.
Then i want to see whats happen with the unprotected partition.
In my opinion, with the exporer it should not possible to access to the
dismounted partiton, but ist was possible, strange?
Is this behavior normal?

But part what make the most problem is point 5:
To allow the system to rediscover the volume, it first must be unlocked. Use
the DeviceIoControl function with the dwIoControlCode parameter
FS_UNLOCK_VOLUME. This unlocks the volume.
The volume must be unlocked immediately after the system boots.

How is this to understand?
Where is Point to start this, or how do i know that i boot from an
hibernatefile?
Is there any entry point?

If i try to unlock the volume manually after boot from the hibernate state,
i've got a FAIL from the DeviceIoControl.

Anyone here has successfully written a programm, what has done this as
described in the artice?

On the other side, should Microsoft not support us with a Programm what do
exactly this like this an advanced XPEPM.exe?
 1. Detect all not writeprotected partitions
 2. ock and dismount them
 3. create the hibernate file
 4. after boot from the hibernatefile unlock the partitons again.

Regards
gerros

Openb
Lock ismount the



Relevant Pages

  • Re: How to get encrypted files back.
    ... Isz wrote: ... > it I have a couple encrypted files but I can't unlock them. ... > any way to boot the xp OS on this disl from another computer or else ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windowsxp.security_admin)
  • Astra Y reg. estate, boot unlocking problem.
    ... A friend of mine has a problem with the unlocking of his boot. ... to unlock, all the doors unlock, but the boot does not. ... plastic assembly behind the boot key turns a bit, ...
    (uk.rec.cars.maintenance)
  • Re: Re-updated to RISC OS 4.02
    ... All I have done is to install the new!Boot, ... there was to install some other software, ... I could not find any installed PPP-driver oder dial-in programm ... path as in the old!Boot doesn't work anymore. ...
    (comp.sys.acorn.misc)
  • Re: iDRIVE problem: Resolution?
    ... AFAIK the iDrive starts to boot up when you use the remote to unlock the car. ... The dealer says "oh, ...
    (alt.autos.bmw)
  • Re: 3 inch bar on desktop
    ... Remember to right-click and unlock it first. ... > Neil wrote: ... >> in place and comes back on every new boot. ... > Joseph E. Meehan ...
    (microsoft.public.windowsxp.help_and_support)