Making Windows 7 Search Useful

By default Winodows 7 does not Index a whole lot of files that one could actually find to be useful. It also does not search by the content of those files which makes searching not useful.

This is  a short tutorial to enable indexing and search of all your favorite filetypes and locations with all  your programming code.

First thing to do is ensure that the Windows 7 search service is running

Search for Service (Note: there is a old version of Windows Indexing service.. That is not it. That is for legacy support older windows.)

Next, ensure the Windows Search service starts automatically.


I am not sure what the performance impact of pumping up the indexes on Windows 7 has on non-ssd drives, but so far it actually seems to be running pretty great.

Example search from start menu “mysql_close(”

Search for “Indexing Options”

This is the initial area where you set the folders to monitor for indexing.

Next, select the file types under “Advanced”

For each of your favorite programming extensions select “Index Properties and Content”

Switching Default Folder Search Behavior

Open the start menu search for “Folder”

Select

  • Always search file names and contents

Folder search option

That’s it. After a couple of hours everything should be indexed.

Remote Linux GUI Apps using Putty

Put together a quick video tutorial on setting up X Forwarding through putty to execute linux GUI apps remotely.
This is a different approach then using VNC
It uses putty to forward X11 (linux GUI) commands to a local Windows X server called Xming
Only change on Ubuntu required change to
/etc/ssh/ssh_config
Change lines
# ForwardX11 no
to
ForwardX11 yes

Adding Ubuntu 11 to Windows 2008 R2 Domain

I found this video on youtube that had a great tutorial that made adding a ubuntu machine to 2008 domain a snap.

Step 1: install likewise add to domain

From the Ubuntu terminal perform the following tasks. Note replace ad.joznet.com with your domain name.

  • sudo apt-get install likewise-open5
  • sudo domainjoin-cli join ad.joznet.com administrator
  • sudo reboot

From there you can verify the machine is part of the domain by in to the domain controller and checking under computers (Figure 1)

Step 2: Modify samba to allow domain login

  • sudo apt-get install samba (not sure if this is required)
  • sudo nano /etc/samba/lwiauthd.conf
      • winbind use default domain = yes
  • sudo reboot
Samba authentication

Step 3: Modify super user doer file

  • sudo nano /etc/sudoers
  • add the under under ‘#Allow members of group sudo to execute any command’
    • %ad.joznet.com\domain^admins ALL=(ALL) ALL

Step 4: Login as domain user now

  • “Other user”
    • administrator@ad.joznet.com

[youtube]http://www.youtube.com/watch?v=uwdlhrqy33Y[/youtube]