Friday, August 7, 2009

create registry key for system restore (if missing)

this describes how to create registry key for system restore in windows xp.
  • go to the registry editor
  • go to the key of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\SystemRestore
  • then go to the Edit menu, select New, DWORD
    value,
  • rename it as '' DisableSR ''
  • now set the value to 1 to disable System Restore or 0 to enable System Restore

how to enable or disable System Restore

enabling and disabling Windows XP's System Restore feature

step 1 - using registry editor.
  • go to the registry editor (in run window - type '' regedit '' press enter)
  • locate the key of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore
  • in the "DisableSR" set the value 1 to disable System Restore or 0 to enable System Restore
to prevent the System Restore service from starting
  • Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sr
  • double-click Start, and set the value to 4 to stop the service from starting or to 0 for normal startup

step 2 - using System Control Panel applet
  • go to the control panel
  • Start the System Control Panel applet (or right click on my computer, click properties)
  • click system restore tab
  • then uncheck the "Turn off System Restore on all drives" to enable System Restore, and check to disable System Restore.

delete older restore points while leave the system restore turned on
  • go to the my computer
  • right click the drive you want to clear, and click properties
  • click disk cleanup button
  • in the more option, select system restore and click cleanup.

start system restore using command prompt

Note - you must have a administrator privilege to perform this task.

To start System Restore using the Command prompt, follow these steps
  • start your computer, and then press and hold F8 during the initial startup.
  • in the menu, select safe mode with a Command prompt.
  • If you prompted to select an operating system, use the arrow keys to select the appropriate operating system and press enter.
  • log on as an administrator or with an account that has administrator privilege.
  • at the command prompt, type %systemroot%\system32\restore\rstrui.exe, and then press ENTER
  • now follow the instruction in screen to restore your computer to a functional state.
important - If you have not previously set a restore point in System Restore, you cannot restore your computer to a previous state

Thursday, August 6, 2009

turn on hibernation in windows xp

normally hibernation is active and you can find hibernation tab in power option (in control panel) in there you can enable and disable this feature, but the tab only appears if the hibernation facility is enabled.you can turn on or turn off this feature using following commands.
  • first go to the command prompt
  • to turn on hibernation type this command powercfg.exe /H ON and press enter
  • to turn off hibernation use this command powercfg.exe /H OFF and press enter

Office 2007 encountered an error during installation

when you using windows xp, you might want to install office 2007, but how many times your office 2007 installation has been roll backed, displaying series error message looks like below.

"Microsoft Office 2007 encountered an error during setup. The Windows Installer service cannot update one or more protected Windows files"

you know there is a solution for you, this one is a quick method and results are guaranteed.please do as follows.
  • first insert your windows installation CD to CD-ROM
  • go to the I386 folder and locate the Cab file named FP40EXT.CAB
  • copy the cab file to the hard disk
  • now extract the cab file
  • in the extracted folder find the fp4autl.dll file
  • now copy this file to the following location
  • C:\program files\common files\microsoft shared\web server extensions\40\bin\
  • that's it, now restart your office 2007 installation.