Giving user access to defrag uitility

  • Thread starter Thread starter Shaun Dryden
  • Start date Start date
S

Shaun Dryden

My users can not use the defrag utility. The OS will not
give access to the defrag utility unless you are logon as
an administrator. I do not want to give my users admin
rights just to defrag thier hard drives. Anyone know how
to give my users access to this utility.

Thanks,
shaun
 
The defragmenter has complete low-level access to the volume. It would be a
security risk to allow that kind of access to all users ('cause they would
soon have script-kiddie type tools to access everyone else's files). You
have to be an administrator. No way around it. Sorry.
 
Drew Cooper said:
The defragmenter has complete low-level access to the volume. It would be a
security risk to allow that kind of access to all users ('cause they would
soon have script-kiddie type tools to access everyone else's files). You
have to be an administrator. No way around it. Sorry.

Hi

What about putting defrag.exe in a scheduled task (running under an
administrator account), that might work?


If it is an requirement that the (non-admin) user must be able to start the
defrag utility manually at will, this might work as well:

Create a service that runs defrag.exe when started using srvany.exe/instsrv.exe:
http://groups.google.com/[email protected]

Then grant the users rights to start the service (to start defrag.exe):

HOW TO: Grant Users Rights to Manage Services in Windows 2000
http://support.microsoft.com/default.aspx?scid=kb;en-us;288129
 
Yes, the task scheduler works.

I hadn't thought of running it as a service. Good idea! I wonder why we
don't do that out of the box . . . hmm. Maybe 'cause it's licensed from a
3rd party.
 
-----Original Message-----
My users can not use the defrag utility. The OS will not
give access to the defrag utility unless you are logon as
an administrator. I do not want to give my users admin
rights just to defrag thier hard drives. Anyone know how
to give my users access to this utility.

Thanks,
shaun
.
 
Back
Top