Tuesday, October 13, 2009

configure schedule smart disk cleanup in xp

This tip will show you how to create smart disk cleanup, to do this we need to create one batch file, please note that this will clear prefetch files also. follow these steps.
  • Create new text document
  • Type or copy the following inside text document
  • c:\windows\system32\cleanmgr.exe /dc /sageset: 1
    c:
    cd \
    cd c:\windows\prefetch
    del *.* /q
  • Now save the text file and change the extension of the file from .txt to .bat (ex - cleanup.bat)
  • Now open the bat file you created, this will open disk cleanup settings window
  • In here select the options (by clicking check box) you want to configure for disk cleanup
  • Click ok
  • Now open the bat file again for editing (right click the file and click edit)
  • Change the first line to c:\windows\system32\cleanmgr.exe /dc /sagerun: 1
  • Save the file
  • Execute file for disk cleanup
You can also add schedule task for smart disk cleanup
  • Open schedule task folder (start > run > type tasks > press enter)
  • Double click add schedule task
  • Click next
  • Click browse button
  • Specify the disk cleanup bat file we created
  • In the name field type anything, and select the action under "perform this task"
  • Now proceed with the schedule task, and click finish at the end.

how to repair microsoft outlook pst file errors

With the corrupt outlook data file (PST File) the following things can happen.
  • Cant open outlook
  • Can open outlook, but cant open saved mails
  • Cant open contacts
  • Cant open calender
Your outlook data file can be corrupt in several ways
  • Sudden power off while using outlook
  • Restart system (reset) while using outlook
The best way to repair damaged PST file is running scanpst.exe utility, the location of scanpst.exe utility is depending the product you using. (office 2003 or office 2007)
  • For office 2003 you can find scanpst.exe in C:\Program Files\Common Files\System\MSMAPI\1033
  • For office 2007 you can find scanpst.exe in C:\Program Files\Microsoft Office\Office12
Note - in here C: mentioned as your windows installation drive

To start repair process double click scanpst.exe to open"inbox repair tool" click browse button and locate PST file for repair process. after specify PST file click start to begin repair process.
  • Default outlook 2003 PST file location is C:\Documents and Settings\\Local Settings\Application Data\Microsoft\Outlook
  • Default outlook 2007 PST file location is C:\Users\\AppData\Local\Microsoft\Outlook

how to solve "invalid operating system" error

While you installing windows xp , after text portion of setup completes you need to restart pc, to go in to graphical user interface (GUI) setup. but when you restart pc after completes text portion of setup and booting from hard disk you notice "invalid operating system" error occurs and you cant proceed with the installation. no matter how many times you start all over again problem still occurs.

This can happen because of hard disk contains invalid master boot record. to fixed this issue you have to rewrite MBR code to hard disk. after you you write new MBR code no more errors, you can complete windows xp installation process.

Find out how to fixed MBR code

Friday, October 9, 2009

disable personalized menus in xp

Note - this one is for those who using classic start menu

When you click on start menu and point to programs you notice that some of your programs not displayed in right away. you have to click down arrow head to see rest of the program. this is happen because of personalized menu options, this is unnecessary and you can you can disable it. follow these steps.
  • Right click on your taskbar and click Properties
  • Click start menu tab
  • Now click customize button at the "classic start menu"
  • Now scroll down to the bottom
  • Now deselect "use personalized menus"
  • Click ok
  • Then "apply" and "ok" to finish
Note - no need to reboot your pc, you'll see the difference right away

disable new program alert in xp

If you install new program to windows xp, it notify you by displaying new program alert, this is funny and sometimes unnecessary. because you already know that you install new program, then why some alert message, lets disable it (if you want)

Note - this can be done only if you use standard xp start menu, there is nothing to configure in classic menu.
  • Right click on taskbar and click properties
  • Go to the start menu tab and click customize
  • Click on the advanced tab
  • Deselect "Highlight newly installed programs"