Tag Archives: windows vista

Fix Vista not indexing files

I had a strange problem where Windows Vista’s desktop search wasn’t indexing files. I tried to rebuild the index and after a couple of weeks only 10 files were indexed.

I finally came accross the fix to this problem here to change the Search and Index power options from PowerSaver to something else.

  1. Open Power Options in Vista (Control Panel -> System and Maintenance -> Power Options).
  2. Under your current selected plan, click “Change plan settings”.
  3. Click “Change advanced power settings”.
  4. Under “Search and Indexing”, change to Balanced or High Performance.

The indexing took about an hour after that, and all missing files were finally included.

Synchronize Windows with a Linux ntpd server

I have a Windows Server 2008 DC and I wanted to use my internal time server on a linux box running ntpd.

After a little hunting around, I found the command required to set Windows up to use the correct time peer.
w32tm /config /update /manualpeerlist:"0.pool.ntp.org,0x8 1.pool.ntp.org,0x8" /syncfromflags:MANUAL

After making this change, you need to restart the Windows Time Service by issuing the following 2 commands,
net stop w32time
net start w32time

If you have problems, first make sure the Windows Time Service is enabled.

This works with Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008.