- Press the Windows logo and "R" keys simultaneously to display the "Run" dialog box. Type "cmd" in the box and press "Enter." The command prompt is displayed.
- Type "powercfg /hibernate off" and press "Enter." No confirmation is displayed by Windows for this command. This causes Windows to temporarily disable hibernation, which deletes Hiberfil.sys. Minimize the command prompt.
- Click the "Start" button, then click "Computer" in Windows 7 and Vista or "My Computer" in Windows XP.
- Right-click your hard drive, then click "Properties."
- Click the "Tools" tab, then click "Defragment Now."
- Click the "Defragment" button. Windows defragments the hard drive, moving all of the free space on the drive together so that when the hibernation file is recreated, it will no longer be fragmented.
- Close the Disk Defragmenter when the process is complete.
- Bring the command prompt window back up and type "powercfg /hibernate on." Press "Enter." Close the command prompt. The next time the computer goes into hibernation, the hibernation file will be recreated without fragmentation.
fonte: http://www.ehow.com