博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
在Windows XP中创建自己的Windows 7样式自动碎片整理
阅读量:2507 次
发布时间:2019-05-11

本文共 5157 字,大约阅读时间需要 17 分钟。

One of the cool features in Vista and Windows 7 is it’s set to automatically defrag your hard drive by default on a weekly basis. If you’re still using XP, here’s how you can set it up to work similarly to Vista or Windows 7.

Vista和Windows 7的一项很酷的功能是,默认情况下,它会自动每周一次对硬盘驱动器进行碎片整理。 如果您仍在使用XP,请按照以下步骤将其设置为与Vista或Windows 7类似。

Defragging your hard drive ensures that the data on the disk is in contiguous order for easier access to files and programs. Although the jury is still out on whether or not it improves performance on the newest machines, it’s good to know your drive is always in order. By default, it’s set to run weekly in Vista and Windows 7, and here we’ll look at making it run automatically in XP like it does in the newer versions of Windows.

对硬盘驱动器进行碎片整理可确保磁盘上的数据连续排列,以便更轻松地访问文件和程序。 尽管目前尚无定论是否会提高最新机器的性能,但还是很高兴知道您的驱动器始终处于正常状态。 默认情况下,它设置为每周在Vista和Windows 7中运行,在这里我们将研究使其在XP中自动运行,就像在Windows的较新版本中一样。

在Windows 7和Vista中进行碎片整理 (Defrag in Windows 7 & Vista)

Windows 7 & Vista will automatically defrag your hard drive when it’s idle and the feature works well. In Windows 7 it’s set to run at 1am every Wednesday as a low priority background task. Of course you can also or turn it completely off if you want.

Windows 7和Vista在空闲时会自动对硬盘驱动器进行碎片整理,并且该功能运行良好。 在Windows 7中,它作为低优先级后台任务设置为每周三凌晨1点运行。 当然,您也可以根据需要或将其完全关闭。

sshot-2010-09-25-[23-47-08]

在XP中进行碎片整理 (Defrag in XP)

On older XP machines, defragging the drive is a recommended task for best performance, but it’s not enabled by default. There are a couple of ways to access Disk Defragmenter in XP.

在较旧的XP计算机上,建议对驱动器进行碎片整理以获取最佳性能,但默认情况下未启用该功能。 有两种方法可以访问XP中的磁盘碎片整理程序。

A quick way is to go to Start \ Run and type in dfrg.msc and hit Enter or click OK.

一种快速的方法是转到“开始\运行”,然后键入dfrg.msc ,然后按Enter键或单击“确定”。

sshot-2010-09-26-[16-43-25]

Alternately, you can open My Computer, right-click on your local drive, and select Properties.

或者,您可以打开“我的电脑”,右键单击本地驱动器,然后选择“属性”。

sshot-2010-09-26-[16-44-32]

In the Local Disk Properties screen click the Tools tab, then Defragment Now.

在“本地磁盘属性”屏幕中,单击“工具”选项卡,然后单击“立即进行碎片整理”。

sshot-2010-09-26-[16-44-46]

Disk Defragmenter opens and you can analyze your drive, view a report, or kick off the defrag process manually. One of the cool things available in XP Defrag when analyzing your disk is the GUI.

磁盘碎片整理程序将打开,您可以分析驱动器,查看报告或手动启动碎片整理过程。 分析磁盘时,XP Defrag中可用的很酷的功能之一就是GUI。

sshot-2010-09-26-[16-50-30]

You can still analyze your disk in Windows 7 or Vista, but don’t get the graphical interface.

您仍然可以在Windows 7或Vista中分析磁盘,但是没有图形界面。

sshot-2010-09-25-[23-42-19]

使XP Defrag像在Vista或Windows 7中一样运行 (Make XP Defrag Run Like in Vista or Windows 7)

If you want Disk Defragmenter to work like it does in Vista or Windows 7, we need to create a Scheduled Task. Open Control Panel in Classic View and open Scheduled Tasks.

如果希望磁盘碎片整理程序像在Vista或Windows 7中一样工作,我们需要创建一个计划任务。 在经典视图中打开控制面板,然后打开计划任务。

sshot-2010-09-26-[17-50-28]

The Scheduled Task Wizard kicks off and when you come to the screen to select the program to run, click the Browse button.

将启动“计划任务向导”,并且当您进入屏幕以选择要运行的程序时,单击“浏览”按钮。

sshot-2010-09-26-[17-52-37]

Now enter the following into the File name field and click Open.

现在,在“文件名”字段中输入以下内容,然后单击“打开”。

%systemroot%\system32\defrag.exe

%systemroot%\ system32 \ defrag.exe

sshot-2010-09-26-[17-53-21]

Give the task a name…it will be defrag by default but you can name it to whatever you want. Make sure to select Weekly and click Next.

给任务起个名字……默认情况下它将进行碎片整理,但是您可以将其命名为任意名称。 确保选择每周,然后单击下一步。

sshot-2010-09-26-[17-53-55]

For the Start time enter 1:00 AM, run every week, and for the day select Wednesday.

对于“开始时间”,请输入1:00 AM,每周运行一次,对于当天,请选择“星期三”。

Note: This is what the Windows 7 default schedule is. Of course you can set it to whatever you want, but here we want to make it the same as the Windows 7 default.

注意:这是Windows 7默认计划。 当然,您可以将其设置为所需的任何值,但是在这里我们要使其与Windows 7默认值相同。

sshot-2010-09-26-[17-54-16]

The default user name will automatically be entered, and you’ll need to enter the correct password.

默认的用户名将自动输入,您需要输入正确的密码。

sshot-2010-09-26-[17-56-26]

Now that everything looks good and is correctly scheduled, make sure to check Open advanced properties for this task when I click Finish.

既然一切看起来都不错,并且已正确安排了时间,请确保在单击Finish时选中打开此任务的高级属性

sshot-2010-09-26-[17-56-41]

When Advanced Properties opens in the Run field after defrag.exe enter a space then the letter of your local drive, in most cases it’s the C: drive…click OK.

在defrag.exe输入空格后,在“运行”字段中打开“高级属性”时,然后输入本地驱动器的盘符,在大多数情况下为C:驱动器……单击“确定”。

sshot-2010-09-26-[21-19-37]

You might also want to go into Settings and have your PC wake up to run the task and adjust the idle time.

您可能还需要进入“设置”并唤醒您的PC以运行任务并调整空闲时间。

sshot-2010-09-26-[23-40-26]

You’ll be prompted to enter in your login credentials again and click OK.

系统将提示您再次输入登录凭据,然后单击“确定”。

sshot-2010-09-26-[21-20-48]

Now you’ll see an icon for your new Defrag Scheduled Task.

现在,您将看到新的Defrag Scheduled Task的图标。

sshot-2010-09-26-[21-21-38]

When it runs, the Command Prompt screen will open and run an analysis and complete the defrag process.

运行时,“命令提示符”屏幕将打开并运行分析并完成碎片整理过程。

sshot-2010-09-26-[22-00-41]

You won’t see it running via the GUI but it’s running in the background. If you open up Task Manager you’ll see the process running.

您不会看到它通过GUI运行,而是在后台运行。 如果打开任务管理器,您将看到该过程正在运行。

sshot-2010-09-26-[22-02-02]

That is all there is to it. Now your XP machine is set to automatically defrag the local hard drive just like it does in Vista and Windows 7. If you want to get a better handle on the defrag feature in all three versions of Windows, we have several different other articles you can check out!

这就是全部。 现在,您的XP机器已设置为自动对本地硬盘进行碎片整理,就像在Vista和Windows 7中一样。如果要更好地处理所有三个Windows版本中的碎片整理功能,我们可以提供其他几篇文章退房!

翻译自:

转载地址:http://xczwd.baihongyu.com/

你可能感兴趣的文章
Python内置函数(19)——eval
查看>>
怎样录制屏幕并将结果保存为Gif
查看>>
别名设置 alias
查看>>
练习3.34
查看>>
oracle加减操作
查看>>
dp乱写3:环形区间dp(数字游戏)
查看>>
【Beta阶段】启程会议——第零次Scrum Meeting!
查看>>
Apple Tree
查看>>
JS 中对变量类型的五种判断方法
查看>>
学习进度十五
查看>>
解决Android Studio启动项目后一直处于refreshing 'View' gradle project,快速解决亲测有效...
查看>>
4.12 | 学习笔记
查看>>
python开发【第一篇】:基础知识
查看>>
javascript的window.onload()方法和jQuery的$(document).ready()的对比
查看>>
mysql数据库维护(备份和还原)和性能提高
查看>>
第八章 springboot + mybatis + 多数据源
查看>>
Arab and North African Region,2002(Snakes & ladders)
查看>>
React中的Refs
查看>>
自己使用MySQL中的GROUP_CONCAT(CONCAT_WS())函数查询的数据显示不全的问题. 以及在后台开发中怎么设置使用....
查看>>
Mysql强制修改密码
查看>>