Moving your Google Desktop Database Location

I’ve recently realized that my windows ‘user profile’ was being backed up across my work network in order to support a ‘roaming profile‘. The roaming profile allows me to log on to any machine within my company’s network and have the same desktop, links, browser favorites, and mapped network drives (as well as several other application specific settings). My problem was that this user profile was being synced across the network any time I logged in or off of my local machine and the process was taking FOREVER; Up to an hour and 15 minutes at times. This was attributed to the large (3.5GB) google desktop database folder as well as some other Java development environment cache indices. All in all, I was transferring over 8GB across the network every time I logged in or off. No wonder it was taking forever for my machine to startup or shutdown!

The obvious solution was to move all of the large collections of Google Desktop data out of my user profile. But wait, There is no setting within the Google Desktop preferences menu! To the windows registry!

Before we go mucking with registry settings, make sure to shutdown google desktop. We’ll also want to move the google desktop database location out of our user profile. By default, the Google Desktop database folder resides in %LOCALAPPDATA%\Google\Google Desktop\.  You can find more information about backing up the Google Desktop Database here. For now, we’re just interested in getting it out of our profiles directory and putting it in a location that does not get transferred across our network. Within the %LOCALAPPDATA%\Google\Google Desktop\ directory is another directory whose name is comprised of random numbers and letters. This is the directory that you want to move to another location. To keep things simple lets say we moved it to c:\google desktop\database\<as763gdas>

Now that we’ve moved the physical location of the database elsewhere, it’s time to make a simple registry change.

Before we modify the windows registry settings it’s always a good idea to back them up. Before we back them up, we need to get into a registry editor. press windowskey+r. This will open up the ‘run’ dialog box.

Type in ‘regedit’ and hit enter. now select the export option from the file dropdown menu:

Call the registry backup file anything you’d like and save it to a location you will remember.

Now, within the regedit window navigate to HKEY_CURRENT_USER\Software\Google\Google Desktop. The registry key that you want to change is called “data_dir “. Change the value of that key to the new location of the Google Desktop database folder.

Now, just restart Google Desktop and presto, your Google Desktop Database woes are long gone.  :)


Restart or shutdown Windows 7 from Remote Desktop

By default, when you are remote desktop-ed into a machine, the start menu does not show an option to shutdown or restart. These options are not even shown in the Task manager. A quick google search turned up a reply from Mark L. Ferguson, Moderator on  

here’s the skinny:

press the windows key + r

Type in shutdown -r -t 0 <- That’s a Zero

Hit Enter

the ‘-r’ parameter tells shutdown.exe to ‘restart’ and the ‘-t 0′  tells the application to show zero pop up warnings

Windows 7 Won’t let Me Delete My Files or Folders!

In trying to cleanup my computer after installing Windows 7, I had begun running into a reoccurring problem where windows would not let me delete certain folders. I was getting a “_blank_ is open in another program” messages. I had tried programs like FileAssassin and LockHunter to no avail.

The solution that worked for me was to remove some of the hidden system files in the folders I was attempting to delete. I would have thought that both fileAssassin and Lockhunter would have been smart enough to do this sort of thing automagically… (yes, that’s a word, but only on the internets) but alas, I had to find the workaround myself.

From your windows explorer windows

  • goto Tools -> Folder Options…
  • Select the “View” tab
  • in the Advanced Settings box, select “Show hidden files, folders and drives
  • folder-options

After you can see the hidden files and folders, look for files such as

  • desktop.ini
  • Thumbs.db
  • AlbumArt_{A588129E-BA58-416A-85E5-B0A8E2BE38F9}_Small.JPG

If you truly want to delete these folders, remove these files. I did not have a problem simply highlighting them and pressing delete, however, ironically, you may need to use one of the above mentioned programs to unlock the files before you can delete them. After these files are removed you should not have trouble deleting the parent folders.

Hope this helped.