Schedule disk fragmentation in Windows XP

Source: Internet
Author: User

In Windows XP/2003, defrag.exe is a command-line tool that works in the directory of Windows/system32.

C:/Windows/system32> defrag /?
Usage:
Defrag <volume> [-A] [-F] [-V] [-?]
Volume drive letter or mount point (d: or D:/vol/mountpoint)
-A only analyzes
-F force fragment even if the available space is insufficient
-V detailed results
-? Show this help text

Then, we can run defrag C:-F to fragment the C disk. Use the task plan (Control Panel-> task plan. Of course, the Task Scheduler Service must run properly) and add the fragment plan according to the wizard.
1. Add a scheduler and specify the file windows/system32/defrag.exe
2. Use a user execution plan with administrator permissions, such as the administrator user.
3. Modify the added task and run the following command:

In the same way, we can create multiple tasks to fragment multiple hard disks, such as C disks at noon on Monday and D disks at noon on Tuesday ......

By default, users with non-administrator permissions cannot perform disk fragment. In XP, we can modify the Policy Group to grant non-administrator permissions to fragment management:
1. Run gpedit. MSC as an administrator
2. Expand: Computer Configuration-> Windows Settings-> Security Settings-> local policy-> User Privilege assignment
3. Find the "execute volume maintenance plan" and you will find that the Administrators group already exists. This means that all users in the Administrators group can Perform volume maintenance, so we only need to add the permitted users, such as the Power Users Group.

Users with permissions can organize disks and scan disks. However, users can also detach and manage volumes. Therefore, for some users, there is a risk of data loss.

Unfortunately, Windows 2000 does not have defrag.exe, and XP cannot be directly copied to. In addition, the Group Policy does not have the right to "execute the volume maintenance plan.

I searched the following online and there are many tools for fragment. Recommended one: perfectdisk 7.0 http://www.raxco.com/products/perfectdisk2k/
The software can be used for local disk sorting and exchange sorting, and remote disk sorting. It is worth noting that after being set to a standalone version, non-Administrators can perform disk sorting. In addition, the software provides the planning management function. The software interface is simple and clear, and the software provides detailed help, but only in English. I believe this software will be helpful to everyone.

 

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.