Re: SP2 Dismounting Volumes in a Hibernate Once/Resume Many Config

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

From: Slobodan Brcin \(eMVP\) (sbrcin_at_ptt.yu)
Date: 01/17/05


Date: Mon, 17 Jan 2005 15:59:36 +0100

Hi Gerros,

Usually you will RAM EWF protect only OS volume which is usually C: and with that assumption all non C: volume FS should be
dismounted.

> Im not 100% sure, but i think its only necessary to unlock dismount fixed
> partitions?
> Removable Devices seems to work without unlock.

Don't relly on this, since you might encounter problems with data consistency later on which will be hard to spot.

> Nevertheless in my opinion this program should from MS.
Feel free to tell them that:
http://msdn.microsoft.com/embedded/community/community/feedback/feedxp/default.aspx

Regards,
Slobodan

"gerros" <gerros@discussions.microsoft.com> wrote in message news:D4FAD0AD-228D-419F-B485-22994C3D7190@microsoft.com...
> KM and Slobodan thanks for your answers!
> It works now for me!
> To detecting all not writeprotected partitons is not so easy.
> So i choose the option of a command line argument.
>
> Im not 100% sure, but i think its only necessary to unlock dismount fixed
> partitions?
> Removable Devices seems to work without unlock.
>
> Nevertheless in my opinion this program should from MS.
>
> Regards gerros
>
> Regards gerros.
>
>
> "Slobodan Brcin (eMVP)" wrote:
>
> > Hi Geros,
> >
> >
http://groups-beta.google.com/group/microsoft.public.windowsxp.embedded/browse_frm/thread/d861295f3938308b/dd4e492f8e2a65c3#dd4e492f8e2a65c3
> >
> > > 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?
> >
> > Only if your application terminated or unlocked volume.
> >
> > Use following:
> > 1. Detect all not writeprotected partitions
> > 2. lock and dismount them
> > 3. create the hibernate file
> > 4. after boot from the hibernatefile end your application and it will unlock all volumes by default.
> >
> > Regards,
> > Slobodan
> >
> >
> >
> > "gerros" <gerros@discussions.microsoft.com> wrote in message news:595A4797-6381-483B-9EAB-9E44541795DD@microsoft.com...
> > > 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: Inconsistencies in OS X
    ... two 200 gig partitions on the desktop. ... have to open disk utility and dismount the unwanted partition that way. ... would anyone use USB for an HD. ... Actually, I misspoke myself, its not lousy 'burst mode' I should have said lousy sustained throughput mode performance. ...
    (comp.sys.mac.advocacy)
  • Re: Inconsistencies in OS X
    ... two 200 gig partitions on the desktop. ... have to open disk utility and dismount the unwanted partition that way. ... would anyone use USB for an HD. ... Actually, I misspoke myself, its not lousy 'burst mode' I should have said lousy sustained throughput mode performance. ...
    (comp.sys.mac.advocacy)
  • Re: Inconsistencies in OS X
    ... two 200 gig partitions on the desktop. ... have to open disk utility and dismount the unwanted partition that way. ... would anyone use USB for an HD. ... Actually, I misspoke myself, its not lousy 'burst mode' I should have ...
    (comp.sys.mac.advocacy)
  • Re: Unlock multiple partitions at once on boot-up
    ... Since I split up my hdd and configured mdadm-raid1, I ended up with multiple partitions for which I provided the same key. ... What I would need is either a place to tell that the same phrase is to be used to unlock them all or a scripting approach that repeats the entered string for all drives. ... Sometimes I think this is an unfortunate setup, I should have encrypted a single volume, then raid1 on it and afterwards some virtual partitions via mdadm. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: SP2 Dismounting Volumes in a Hibernate Once/Resume Many Config
    ... Removable Devices seems to work without unlock. ... >> All DeviceIoControlfunctions returns with an OK state. ... Detect all not writeprotected partitions ... after boot from the hibernatefile end your application and it will unlock all volumes by default. ...
    (microsoft.public.windowsxp.embedded)