Wednesday, June 12, 2013

Windows Search service - Access is denied error

 If you suddenly cannot search through your emails or other items in Windows, then check the following :

A. Windows Search Service.
Type  MMC.EXE, Add the Services snap-in, scroll down to the relevant entry:





Check:
1. Is the service running, or just starting and stopping?
2. Is it set as Automatic (delayed) start?
3. Is it run by the Local System account?




B. Event Log
Add the Event Log snap-in



If you get: The Windows Search service terminated with the following error:  Access is denied, then this may have happened:
The folders with index files under C:\ProgramData\Microsoft\Search\Data\ have wrong security permissions. In my case the Local Service account entry was missing.


To add the missing permissions for the Local Service, right click the ProgramData\Microsoft\Search\Data folder, select Properties, Security, Advanced, Change Permissions, Add


Type: Local into the text field and press Check Names. The Local Service account should be filled in as in above.

Press OK to go back. Now you need to allow this account to modify the folder's content. Press Edit to bring up the Permissions Entry for Data window:






Select the Replace all child object permissions ... checkbox, to propagate the new permissions to the subfolders.

Click OK, making sure that no further errors crop up. If you can't modify the permissions, check if you are the owner of the folder (the Owner tab) and modify accordingly.

Now check if the Windows Indexing Service has fully started and its effects are as they should be, e.g. in Outlook:


Tuesday, April 30, 2013

Second hand replacement notebook battery - measuring wear

If you buy a second hand or replacement battery for your notebook, it's good to know how much juice is left both in the old and the new ones.

While you can resort to an internal Windows 7 powercfg -energy command and report to analyze it, you had better install a dedicated utility.

Try one of these two:

  • BatteryBar, from Osiris Development. Even its freemium version shows the "battery wear" parameter:

 





 

After hot-swapping the old and new batteries, you can easily compare their specs.

For comparison's sake, here are the ones of the new replacement battery for my Lenovo X61 that I have bought off Ebay:







Usually notebook batteries lose 2-4% of their original storage capacity every month. Thus in 2 to 3 years time they will loose the capacity to store most of the juice and need to be replaced and properly disposed of.

If you want to prolong the useful life of your batteries, do not expose them to moisture or heat, e.g. inside your car under sunlight. See here for more than you may wish to know about proper battery care.