Running Windows Disk Defragmenter Requires Administrator Privileges

Article translations Article translations
Article ID: 231176 - View products that this article applies to.
This article was previously published under Q231176
Expand all | Collapse all

SUMMARY

Windows includes a Disk Defragmenter tool. Although any user can gain access to the Disk Defragmenter console, the ability to analyze or defragment a volume requires administrator privileges. If you do not have administrator privileges and you try to use Disk Defragmentor, you may receive the following message:
Disk Defragmenter

You must have Administrator privileges to defrag a volume.

MORE INFORMATION

Disk Defragmenter was designed primarily for stand-alone workstations or servers whose users have the ability to log on locally with administrator privileges. Disk Defragmenter is not intended to be a tool for administrators to maintain networked workstations. This version is not designed to be run remotely and cannot be scheduled to automatically defragment a volume without interaction from a logged-on user. The only way a non-administrator can defragment a local volume is to run the Dfrg.msc console in the context of a user who has administrator privileges. You can accomplish this by running the following command:
runas /user:administrator@domain.company.com "mmc dfrg.msc"
The user is prompted for the administrator password. This command may be useful for an administrator who wants to run a defragmentation on a user's computer without forcing the user to log off.

Properties

Article ID: 231176 - Last Review: February 21, 2007 - Revision: 3.2
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
Keywords: 
kbinfo KB231176

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com