Home > Computer Tutorials > Troubleshooting > How to delete hibernation files in Win7 system

How to delete hibernation files in Win7 system

WBOY
Release: 2024-01-30 09:42:09
forward
815 people have browsed it

How to delete hibernation files in Win7 system

php Xiaobian Yuzai will introduce to you how to delete hibernation files in Win7 system. Hibernation files are automatically generated when the system enters hibernation state and occupy hard disk space. If you don't use hibernation often, consider deleting these files to free up hard drive space. It's easy to delete hibernation files, just follow the steps below.

Hibernation file is an important part of Windows 7 system, which allows users to put the computer into hibernation state to resume work later. However, sometimes we may need to delete these hibernation files to free up disk space or solve some problems. This article will introduce how to delete hibernation files in Win7 system.

The hibernation file is a hidden system file. It is located in the root directory of the system partition and the file name is "hiberfil.sys". To delete hibernation files, you need to be logged into your computer as an administrator.

Here are the steps to delete hibernation files:

Step 1: Open Command Prompt Click the "Start" button and enter "cmd" in the search bar. In the search results, find "Command Prompt" and right-click it. Select the "Run as administrator" option. This will open a new command prompt window.

Step 2: Disable hibernation In the command prompt window, enter the following command and press Enter:

powercfg -h off

This command will disable hibernation function and delete hibernation files. Please note that by disabling hibernation, you will not be able to use your computer's hibernation mode.

Step 3: Re-enable hibernation (optional) If you want to re-enable hibernation in the future, you can follow these steps:

In the command prompt window, enter the following command and Press the Enter key:

powercfg -h on

This command will re-enable the hibernation function and recreate the hibernation file.

Step 4: Delete the hibernation file In the command prompt window, enter the following command and press Enter:

del C:\hiberfil.sys

This command The hibernation files located in the root directory of drive C will be deleted. If your system partition is not the C drive, please replace "C" in the command with the drive letter of your system partition.

Step 5: Close the Command Prompt After you finish deleting the hibernation file, you can close the Command Prompt window.

Please note that deleting hibernation files may cause you to lose unsaved work that was saved while your computer was in hibernation mode. So before performing these steps, make sure you have saved all your important work.

Deleting hibernation files in Win7 system can help you free up disk space or solve some problems. You can easily accomplish this task by disabling hibernation and deleting the hibernation file. But remember, before following these steps, make sure you have saved all your important work.

The above is the detailed content of How to delete hibernation files in Win7 system. For more information, please follow other related articles on the PHP Chinese website!

source:jikegou.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template