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:
Right click and select runas /user:
[email protected] "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.
Ref:
http://www.kellys-korner-xp.com/xp_d.htm
--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User
Be Smart! Protect your PC!
http://www.microsoft.com/security/protect/
----------------------------------------------------------------------
| is there a setting to change where it would allow a
| person with user rights to defrag there hard drive? i've
| enable some snap-ins in Group Policy regarding defraging
| but it still doesnt allow users to run it. please
| help...thank you
|