File that won't defrag

I had this in another post.... but it got "buried" so I'm bringing it here.

I have this file titled: hiberfil.sys that is at 2,095,268 kb that won't defragment. It's location is at C:\ --I believe it is a hidden file. I'll research what it is.

AJ

EDIT: Found info here

I use stand-by, not hibernate, because of it being a desktop. Do you believe I could delete it?? Any help would be appreciated.

What do you guys think???

Taken from the JkDefrag documentation:

How do I defragment "C:\hiberfil.sys"?

This huge file is used by the hibernation facility and cannot be defragged on a running system. But there is a trick:

Windows Vista:

1. Click Start -> All Programs -> Accessories, right click on "Command Prompt", and then click "Run as Administrator". If User Account Control (UAC) asks you for permission, permit the Command Prompt to run.

2. Enter "powercfg -h off" (without the quotes).

3. Reboot. The "hiberfil.sys" file will be automatically deleted.

4. Repeat point 1

5. Enter "powercfg -h on" (without the quotes).

6. Reboot.

Windows XP:

1. Open the Windows Control Panel

2. Double-click Power Options

3. Click the Hibernate tab, de-select the 'Enable hibernate support' check box, and then click Apply.

4. Reboot. The "hiberfil.sys" file will be automatically deleted.

5. Go to the Windows Help & Support Center and search for 'enable hibernation'. It should be the first result. The instructions detail some other steps you may need to follow to reactivate the hibernation.

Also the size of the hiberfil.sys is related to the amount of ram a system has.

Also the size of the hiberfil.sys is related to the amount of ram a system has.

Also, if not needed, this feature can be permanently disabled, saving a lot of disk space :)

Ahhh...my bad...I originally had a link in which I found info...

Original Topic I had posted in

Original Link

So you guys are saying that it is good to go???

AJ

So you guys are saying that it is good to go???

If you don't use or intend to use the Hibernate feature, you can turn it off.

Sounds good....cause I use Stand-By, considering this is a desktop computer.

AJ