Registry flush doesn't preserve data, necesarilly?

Hi,

I’ve an awkward driver which needs to blue screen (KeBugCheckEx)
in case of a certain inconsistency after logging some data to the
registry.
However, even though the keys are flushed, the data is not
preserved on reboot. Anyone had a similar situation?


Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
http://www.alfasp.com
File system audit, security and encryption kits.

Doh, never mind :wink: I just love how many times I solve time consuming
tiny bugs just after asking for help :smiley:

Dejan Maksimovic wrote:

Hi,

I’ve an awkward driver which needs to blue screen (KeBugCheckEx)
in case of a certain inconsistency after logging some data to the
registry.
However, even though the keys are flushed, the data is not
preserved on reboot. Anyone had a similar situation?


Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
http://www.alfasp.com
File system audit, security and encryption kits.


Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
http://www.alfasp.com
File system audit, security and encryption kits.

One of the solutions is to call ExitWindowsEx from the service which accompanies the driver.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

“Dejan Maksimovic” wrote in message news:xxxxx@ntfsd…
>
> Hi,
>
> I’ve an awkward driver which needs to blue screen (KeBugCheckEx)
> in case of a certain inconsistency after logging some data to the
> registry.
> However, even though the keys are flushed, the data is not
> preserved on reboot. Anyone had a similar situation?
>
> –
> Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
> http://www.alfasp.com
> File system audit, security and encryption kits.
>
>
>

Yes, that does leave one small issue of how to do that AFTER KeBugCheckEx is called :smiley:
(now imagine that in a Dr. House sarcastic voice)

“Maxim S. Shatskih” wrote:

One of the solutions is to call ExitWindowsEx from the service which accompanies the driver.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

“Dejan Maksimovic” wrote in message news:xxxxx@ntfsd…
> >
> > Hi,
> >
> > I’ve an awkward driver which needs to blue screen (KeBugCheckEx)
> > in case of a certain inconsistency after logging some data to the
> > registry.
> > However, even though the keys are flushed, the data is not
> > preserved on reboot. Anyone had a similar situation?


Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
http://www.alfasp.com
File system audit, security and encryption kits.

Avoid KeBugCheckEx for the favor of ExitWindowsEx from the service.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

“Dejan Maksimovic” wrote in message news:xxxxx@ntfsd…
>
> Yes, that does leave one small issue of how to do that AFTER KeBugCheckEx is called :smiley:
> (now imagine that in a Dr. House sarcastic voice)
>
> “Maxim S. Shatskih” wrote:
>
>> One of the solutions is to call ExitWindowsEx from the service which accompanies the driver.
>>
>> –
>> Maxim S. Shatskih
>> Windows DDK MVP
>> xxxxx@storagecraft.com
>> http://www.storagecraft.com
>>
>> “Dejan Maksimovic” wrote in message news:xxxxx@ntfsd…
>> >
>> > Hi,
>> >
>> > I’ve an awkward driver which needs to blue screen (KeBugCheckEx)
>> > in case of a certain inconsistency after logging some data to the
>> > registry.
>> > However, even though the keys are flushed, the data is not
>> > preserved on reboot. Anyone had a similar situation?
>
> –
> Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
> http://www.alfasp.com
> File system audit, security and encryption kits.
>
>
>

Dejan wrote:

? ? Doh, never mind :wink: I just love how many times
I solve time consuming tiny bugs just after asking for help :smiley:

So how did you solve it after all? Don’t leave us guessing. :slight_smile:

Yaeh, I know. Mostly because to describe it you have to think about it from many angles and sometimes one of those angles is an angle you ain’t thunk about yet.

Gary G. Little

----- Original Message -----
From: “Dejan Maksimovic”
To: “Windows File Systems Devs Interest List”
Sent: Thursday, December 30, 2010 12:39:06 AM
Subject: Re:[ntfsd] Registry flush doesn’t preserve data, necesarilly?

Doh, never mind :wink: I just love how many times I solve time consuming
tiny bugs just after asking for help :smiley:

Dejan Maksimovic wrote:

> Hi,
>
> I’ve an awkward driver which needs to blue screen (KeBugCheckEx)
> in case of a certain inconsistency after logging some data to the
> registry.
> However, even though the keys are flushed, the data is not
> preserved on reboot. Anyone had a similar situation?
>
> –
> Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
> http://www.alfasp.com
> File system audit, security and encryption kits.


Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
http://www.alfasp.com
File system audit, security and encryption kits.


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Copy&Paste issue - I noticed one value is preserved, while the other two remained unchanged. When I switched
from RtlWriteRegistryValue to my own API which doa flush, the copy&paste caused the same value to be written
multiple times :wink:

Razvan Hobeanu wrote:

Dejan wrote:

> Doh, never mind :wink: I just love how many times
> I solve time consuming tiny bugs just after asking for help :smiley:

So how did you solve it after all? Don’t leave us guessing. :slight_smile:


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
http://www.alfasp.com
File system audit, security and encryption kits.