Search This Blog

Thursday, September 15, 2011

How to disable hibernation and remove hiberfile.sys file

To delete this file, you have to use the command prompt to manually turn off hibernation.
If you turn off hibernation via Power Options, it will not delete the actual file itself.
  1. Click Start
  2. Open a command prompt in Windows 7 by typing command in the search box
  3. Right click Command Prompt and choose Run as Administrator 
  4. To turn off or disable hibernation, type the following command at the prompt:
    1. powercfg –h off 
  5. This will disable hibernation and will remove the hiberfil.sys file from your system freeing up the space equal to amount of System RAM.

Monday, May 16, 2011

How to clear recent commands from Windows Run Dialog

Hello Microsoft,

Found a problem with your operating system today.

I got tired using Notepad (long story) and downloaded and installed Notepad++ (Awesome program, can talk about this for hours, but not now).

I use run dialog heavily as I find it too distracting to use mouse. But everytime now I need Notepad++, "Notepad" entry distracts me.
I needed a way to remove that and few other misspelled entries. So here is how you do it:

  1. Press Win + R key
  2. Type in "regedit" and hit enter key (get past WAC warning message, if you get one)
  3. Navigate to following entry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU
  4. Here, look at the data column and simply delete the entries that you don't like.
  5. Close Registry Editor
  6. Log off / Reboot
  7. Next time you won't see those entries. Life is good again!
This hack works in XP, Vista and Win 7. I wish Microsoft fixes this annoyance in their next OS.

Tuesday, February 8, 2011

How to import BAPS Tithi Calendar in your Google Calendar and Android Phone

  1. Go to http://www.baps.org/
  2. Click on "calendar" link.
  3. On top left, click on "Download Calendar" link
  4. Fill out the form and click "Download Calendar" button.
  5. Save the file to your computer.
  6. Next, visit your google calendar (sign in)
  7. Click on "Settings" on top right and select "Calendar Settings"
  8. Click on "Calendar" link which is next to "General" link
  9. Click on "Create new calendar" button.
  10. Give it a name, for example, "Indian Tithis and Utsavs"
  11. Optionally edit rest of the fields
  12. Click on "Create calendar" button when done. This would bring you out of settings.
  13. Visit Settings page again by following steps #7 and #8
  14. Click on "import calendar" link
  15. Browse to the file that we downloaded and save to computer in step #5
  16. In calendar drop-down, select the calendar which we created in step #10
  17. Click "import" button when done.
So we've just created a new calendar and imported all the events into it. You can now toggle it just like any other calendar.

Optionally, you can also make it visible in your Android Phone.