RegFilter and TimeZone setting

P

Peter

Hey,

I am running XPe, FBWF and the RegFilter to handle some registry keys
directly without opening up the FBWF everytime.
With some keys it works perfectly. But today I tried to filter also the
TimeZone settings.
HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
But this does not work. The last setting that was done when the FBWF was off
is always active, no chance to change the Timezone when the FBWF is on.
When you change the TimeZone setting you can see the changes in the registry
by using regedit. But what you see is only the overlay (ramdisk) contents.
This contents changed. But Windows still showed the original and so different
setting in the TimeZone dialog.
So what windows is still using is the original contents of the registry
(that is still in the real registry files). But it does not use the overlayed
contents done by regfilter.
Does anyone know why ?
Is there a problem that Windows reads the timeZone setting before the
regfilter is started ?

Thanks for any idea,
Peter
 
A

Albert Torras

Hi Peter,

Have you solved the problem?

It happens the same to me.

Any help would be appreciated.

Albert



Peter wrote:

RegFilter and TimeZone setting
06-Jan-10

Hey

I am running XPe, FBWF and the RegFilter to handle some registry key
directly without opening up the FBWF everytime
With some keys it works perfectly. But today I tried to filter also th
TimeZone settings
HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformatio
But this does not work. The last setting that was done when the FBWF was of
is always active, no chance to change the Timezone when the FBWF is on
When you change the TimeZone setting you can see the changes in the registr
by using regedit. But what you see is only the overlay (ramdisk) contents
This contents changed. But Windows still showed the original and so differen
setting in the TimeZone dialog
So what windows is still using is the original contents of the registr
(that is still in the real registry files). But it does not use the overlaye
contents done by regfilter
Does anyone know why
Is there a problem that Windows reads the timeZone setting before th
regfilter is started

Thanks for any idea
Peter

Previous Posts In This Thread:

RegFilter and TimeZone setting
Hey

I am running XPe, FBWF and the RegFilter to handle some registry key
directly without opening up the FBWF everytime
With some keys it works perfectly. But today I tried to filter also th
TimeZone settings
HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformatio
But this does not work. The last setting that was done when the FBWF was of
is always active, no chance to change the Timezone when the FBWF is on
When you change the TimeZone setting you can see the changes in the registr
by using regedit. But what you see is only the overlay (ramdisk) contents
This contents changed. But Windows still showed the original and so differen
setting in the TimeZone dialog
So what windows is still using is the original contents of the registr
(that is still in the real registry files). But it does not use the overlaye
contents done by regfilter
Does anyone know why
Is there a problem that Windows reads the timeZone setting before th
regfilter is started

Thanks for any idea
Peter


Submitted via EggHeadCafe - Software Developer Portal of Choice
BizTalk: Incorporating conditional If / Else Functoid Logic in a map.
http://www.eggheadcafe.com/tutorial...0b-bba39e4bbcf0/biztalk-incorporating-co.aspx
 
Z

Zaphod Beeblebrox

Hi Peter,

Have you solved the problem?

It happens the same to me.

Any help would be appreciated.

Albert

As I understand it, XPe loads the RegFilter keys after Windows has
already loaded the timezone related keys and adjusted the time, if
appropriate. I'm not aware of anything that can be done about it.
 
A

Albert Torras

Hi,

What happens to me is when FBWF is enabled, and windows sets new
registry value for Daylight saving time, it enters a loop when
everytime Windows is restarted, 1 hour is added to the clock...

Did anyone experience it?
Does anyone know how to solve it?

I thought perhaps system time was not being altered, and it was only a
problem of registry and local time, but I have seen system time is
also changed, adding 1 hour everytime the system is restarted too...

Thanks in advance
Albert
 
Z

Zaphod Beeblebrox

Albert Torras said:
Hi,

What happens to me is when FBWF is enabled, and windows sets new
registry value for Daylight saving time, it enters a loop when
everytime Windows is restarted, 1 hour is added to the clock...

Did anyone experience it?
Does anyone know how to solve it?

I thought perhaps system time was not being altered, and it was only
a
problem of registry and local time, but I have seen system time is
also changed, adding 1 hour everytime the system is restarted too...

Thanks in advance
Albert

As I said, the problem is that Windows processes the TimeZone registry
before XPe's reg filter kicks in and updates the registry in memory.
The symptoms you describe are the direct effect of this problem. So
far, I've not seen any way to handle this except for committing the
DST / TimeZone change after Windows makes them (or, turning off
automatic DST changes and manually adjusting the time as appropriate).

--
Zaphod

Arthur Dent, speaking to Trillian about Zaphod:
"So, two heads is what does it for a girl?"
"...Anything else he's got two of?"
 
A

Albert Torras

Hi,

It seems I have the problem quite solved by now.

I created a Windows Service that was looking for registry changes
every 1 second. If changes were detected, it committed C:\WINDOWS
\system32\config\system file. However, it did not work, but I did not
know why...

Today, I tried to wait 10 seconds after the registry changes were
detected, and then perform the commit... and it seems to work... I do
not understand why I need to wait so long, I thought 1 sec would be
enough.

Anyway, I am going to test it a lot by now... and see what happens if
a reduce my 10 sec waiting time...

Albert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top