Archive for October, 2011

Windows indexer changes modification dates of .eml files

October 22, 2011

Since I have just reinstalled my Vista, I check whether my bugfixes are still in place; I copy here some info I did put on another blog:

http://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/8dc21ddc-9c87-40f6-a43e-96325ea14f96#7e080428-644a-41f6-aee2-7ad458461349

————————————————

I have not used Vista, but encountered this problem with Windows 7 RC, and I have been unable to use W7 because it messed up my .EML archive.  I thought this was related to Windows Live Mail, as the problem did not exist when I uninstalled WLM.

However, while investigating this further, I discovered the following:

1. The problem with .EML date stamp exists out of the box with a fresh install of Windows 7, without installing any applications, and in particular without installing WLM.

2. The problem continues to exist when WLM was installed.

3. The problem stops when WLM is uninstalled.

Comparisons of the registries for these three situations revealed that in (1) and (2), a .eml entry exists under

\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers

This .eml entry is gone once WLM is uninstalled.

After reinstalling WLM, this key entry reappears, and the date stamp problem starts again.  However, deleting this key entry and rebooting causes the date stamp problem to stop.  Adding back the registry key makes the problem start up again.

The PropertyHandlers key seems to be related to search, but I haven’t noticed any problem resulting from its deletion, admittedly with limited experience.

This workaround may have solved the problem in Windows 7 RC, at least so far.  Perhaps this also applies to Vista.

———————————————

Also, I may not be using the registry terminology accurately– e.g., what are considered “keys” and which are not “keys”.  I am referring to simply the .eml branch under

\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers
in the Windows 7 registry.
R Sposto

——————————–

I still have this problem on Vista ultimate, newest updates. To make sure I understand the information in this thread:

1) the .eml files change to the present date when they are indexed by the search indexer; this is, a few seconds after creation. Thus, backup/restore/sync will not work properly, but indexing.

2) if you delete that mentioned registry key, then the indexing of .eml files no longer works, i.e. you cannot find them in a full-text search. However, backup works now.

3) it is unknown whether the other solution, proposed by alecamiga, to link .eml to thunderbird and write lock the files, does the same or works better.

I have some 10000 .eml from 20 years, and I need search indexing and automatic backup. Maybe I have to switch to linux.

————————————

Hello Peter

I am on Windows 7 Professional 32, and I simply delete the registry key, which solves the changing date stamp problem.  The .eml files still are indexed, with the CLSID_WLMCMimeFilter, and I can find them by name or by content.  I don’t remember, though, whether I had to go into indexing advanced options and reestablish this filter for .eml file. I don’t think so, but perhaps check if .eml appear in the files types being indexed.

RSposto

————————-

Thank you! I deleted the key, and the MIME filter for .eml indexing was still in place. Full text is still found in the e-mails, as far as i can say so far. Sorry for the late response, I lived for half a year without complete backup.

And, by the way, I have to develop a shell script to restore the modification date of my 10,000 e-mails. Thank you, microsoft, for this feature.

Peter Steier

—————–

Now the key is still there. When I try to delete it in regedit, there is an error message, and I cannot delete it. However, a few reboots later with switched of UAC I can delete all entries and leae only the empty “folder”.

Microsoft seems to consider backups and search indexes unnecessary. Probably all their customers are doddlers playing only computer games, but doing no productive work.

word press advises me to add the following words to increase my site traffic: technet microsoft, date stamp, software microsoft, registry key, and machine software. Actually, I need no traffic, as long as I can look up my own pages later.

Windows Vista search index notoriously loosed .pdf filter

October 3, 2011

22.3.2010 Yesterday evening the index was ready; however, it has not indexed the pdf files! I look in the web and see that there is some information about .pdf filters only indexing the file name…

23.3.2010 What I found out: apparently, SearchIndexer was only crawling the file names (called properties) with the “Standard Settings” I had reset. It has lost the filter for PDF, which is installed when Adobe Reader is installed. I reinstall AdobeReader 9.x, touch some .pdf Files, and search for some words in the context – the files appear immediately.

I see whether I can force an update of only the pdf files (I do not want to touch them all, to avaoid loosing the file data): maybe checking and unchecking the file type .pdf in the inexer options: no, Vista warns that the index has to be rebuilt for that also; I check the full-text search again and allow Vista to rebuild the index. I fear this will take two weeks again.

07:41 OpenedFileView: C:\Users\steier\Documents\papers_einsortiert\BNFL2002_Sellafield.pdf; I try whether this file is in the index: it is!

08:30 OpenedFileView: C:\Users\steier\Documents\Arbeit\mails\erledigt081002\E.M.Wild to P.Steier, Poster.eml: I try whether the content of the .ppt attached to this mail is found: yes, it is!

2011-10-03

Again Vista seems to have lost the Adobe .pdf filter, it is grayed out in the indexing options. Presently, it still finds some pdf’s, but progrssively less. I think if I open a pdf, it disappears from the next search! These companies are a complete bunch of idiots. Fast full text search is an absolute requirement for productive work – who has another opinion probably has some 25 files and is a doddler playing with the computer only.

I decide to reinstall Adobe Reader X and hope this installs the filter. The Windows installer gives a strange message that the installer is installed incorrectly? Actually, Reader 9.4.5 is still installed, and cannot be deinstalled, because of the same stupid message.

I will make a system restore to the oldest restore point.

Unfortunately, this does not work! Vista stores only the least recent restore points, and apparently the problem was older than one month (I did not recognize it immediately). And the installer is completely broken; neither installing nor deinstalling anything works.

I try to repait the registry, but it seems to be ok. And Vista does not find any bugs in with sfc /scannow. The msiserver service is not running an net start msiserver just says that the service could not be started.

I decid to do a repair installation. I have an OEM Vista, so no installation disk. I find somebody who share a link to an iso image, and I burn the DVD. Then I find out my Vista Ultimate Key with some public domain software. Then I do a repair install; before that I do backups from all data which I think is important.

The first install says the disk is too full. I have to delete some temporary stuff, since my disk is too full. Accidently, I remove my notes on this topic (were on the desktop instead of sorted in). So I write from memory, without links etc.

The second repair install says that some software is incompatible: Windows Poer Shell; web says:  on  O.S Vista the Powershell program is listed as (Windows Management Framework Core KB968930). Open installed Windows Updates and locate this listing – uninstall.

However, this seems to be stuck in the middle of the deinstallation. May need the msiserver?

This Windows stuff is really pure ***. I think I have to throw away this two-year old, EUR 3000 computer; after bad experience, I know that setting up a Computer yourself from scratch takes some 80 hours of work, and finally not all will be ok again (i.e. ssh tunnels through loopback devices, etc.).

… hours later …

Apparently, did not fail completely. Therefore I censored the last paragraph. Still runs, and is now doing some updates (approximately 90). I think this means that the Installer works again.

Unfortunately, the sound stopped working. I reinstall the drivers for sound from the disk which came with the computer, but no improvement. I do not want to reboot the computer presently, since the Windows update is still running.

I install some workaround from http://www.csd.toshiba.com/cgi-bin/tais/support/jsp/downloadDetail.jsp?soid=1671893&pf=true. This requires a reboot also. I will note later what happens.

After a few reboots, and downloading drivers from Toshiba, sound works. I apply the bugfix for Search Indexer changing the time stamp of .eml files, rendering any backup strategy impossible.

… three days later …

I find out that sleep mode (hibernate) no lenger works. It is no longer available in the start menu, and in the power saving options. I lear that one has to type “powercfg -h on” on a command line prompt as administrator to enable this (http://www.howtogeek.com/howto/windows-vista/re-enable-sleep-mode-in-windows-vista/). This is great fun, took only about 1 hour to solve. I have the feeling that patching one hole always opens another.

… 2011-11-20

After all, I have also reenabled screen rotation when I rotate the screen from laptop to tablet mode: I have to install something called ToshibaTabletPCExtension_v1001.exe, which I find ina subfolder of my “Installed Sofware Downloads” folder; unfortunately, while trying to find this, I have installed some “Toshiba value added …” junk on my computer. I hope it does not cause to much problems.