Run defrag as non-administrator?


Go Back   Computer Help Articles > Windows XP Security Admin
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 05:05 AM
Russ Ringer
 
Posts: n/a
Default Run defrag as non-administrator?

Is there a way I can allow an account that is not a member of
Administrators to run disk defrag?

Win XP pro SP2

Thanks,
Russ
Reply With Quote
  #2  
Old 01-05-2006, 05:05 AM
Vanguard
 
Posts: n/a
Default Re: Run defrag as non-administrator?

"Russ Ringer" <nobody@example.com> wrote in message
news:dm6eq1t2j2ojvav0pq93o0d2jh1vabkuqi@4ax.com...
> Is there a way I can allow an account that is not a member of
> Administrators to run disk defrag?
>
> Win XP pro SP2
>
> Thanks,
> Russ



What if you use RunAs?

--
__________________________________________________
Post replies to the newsgroup - Share with others.
E-mail: Remove "NIX" and append "#VC811" to Subject.
__________________________________________________

Reply With Quote
  #3  
Old 01-05-2006, 05:05 AM
Russ Ringer
 
Posts: n/a
Default Re: Run defrag as non-administrator?

On Mon, 19 Dec 2005 15:44:08 -0600, "Vanguard"
<vanguard.code@comcastNIX.net> wrote:

>"Russ Ringer" <nobody@example.com> wrote in message
>news:dm6eq1t2j2ojvav0pq93o0d2jh1vabkuqi@4ax.com.. .
>> Is there a way I can allow an account that is not a member of
>> Administrators to run disk defrag?
>>
>> Win XP pro SP2
>>
>> Thanks,
>> Russ

>
>
>What if you use RunAs?


Then I would have to reveal the password to the user.

Reply With Quote
  #4  
Old 01-05-2006, 05:05 AM
Sooner Al [MVP]
 
Posts: n/a
Default Re: Run defrag as non-administrator?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Why does a limited user need to run defrag? Thats a job for an
administrator if its needed at all...

- --

Al Jarvi (MS-MVP Windows Networking)

Please post *ALL* questions and replies to the news group for the mutual
benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no
rights...

-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.3 (Build 2932) - not licensed for commercial use:
www.pgp.com

iQEVAwUBQ6cwqRU2gKNumcJAAQj56Qf/VrPEQhdhNbzg2HBXHyErquzMVqmgRfEO
jrtwXaYbQL/nWtCD4fArrnr2T5xASUeU/EpfP/gSbaIz3JEpe2ODAK1cXIPFpYF0
W+JkP6OyTIurYt1P/mvlMzTsrBckIrIpbksZxh+O7KANeCdV5XU+MnuBzILI4qEI
UTGkEN8wACJnmnoAIigG95p0USwHvzkV+sxm03ZfQ79kuISqvL KtrYtROwWYB3zv
4noQ1vZe50/B2+8USxMfCTd8uNv6fZ+efDldJbmrL4yztONU0KKBYaU2CGhBJ SMb
PG2sjy8dtBOxwTxc2ZgpGsJtiSVjVTjWKJ37hxaAaWzYCt2E4x 0oAA==
=eB88
-----END PGP SIGNATURE-----


Reply With Quote
  #5  
Old 01-05-2006, 05:05 AM
Russ Ringer
 
Posts: n/a
Default Re: Run defrag as non-administrator?

On Mon, 19 Dec 2005 16:14:10 -0600, "Sooner Al [MVP]"
<SoonerAl@somewhere.net.invalid> wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA256
>
>Why does a limited user need to run defrag?


Because fragmented drives run slower and it's recommended?
I understand MS defrag is a limited version of disk keeper
http://www.diskeeper.com/defrag.asp?pass=588262708 who says it helps.

>Thats a job for an administrator if its needed at all...


Because the administrator is much too busy to bother with trivial
tasks like defrag. If tweakui is used to enable "optimize hard drive
when idle" is that the same as defraging? Will it still happen it the
user is not Administrator?


Reply With Quote
  #6  
Old 01-05-2006, 05:05 AM
Vanguard
 
Posts: n/a
Default Re: Run defrag as non-administrator?

"Russ Ringer" <nobody@example.com> wrote in message
news:jmeeq11gk76kfgtbc4337d5aljna64voh8@4ax.com...
> On Mon, 19 Dec 2005 16:14:10 -0600, "Sooner Al [MVP]"
> <SoonerAl@somewhere.net.invalid> wrote:
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA256
>>
>>Why does a limited user need to run defrag?

>
> Because fragmented drives run slower and it's recommended?
> I understand MS defrag is a limited version of disk keeper
> http://www.diskeeper.com/defrag.asp?pass=588262708 who says it helps.
>
>>Thats a job for an administrator if its needed at all...

>
> Because the administrator is much too busy to bother with trivial
> tasks like defrag. If tweakui is used to enable "optimize hard drive
> when idle" is that the same as defraging? Will it still happen it the
> user is not Administrator?
>
>



Under NTFS, fragmentation is not nearly the issue it is under FAT. You can
go a long time without fragmenting your drive. Often users waste more time
defragmenting an NTFS volume then they lose due to any fragmentation. If
you want a defragmenter to run under administrator privileges but don't want
normal users to know your password (and they should also not run admin
functions) then get a defragmenter that runs as an NT service. It will then
run when it is appropriate, when the system is idle, and won't have the user
farking over the machine with a defrag that they may very well interrupt,
even by hitting the power switch.

--
__________________________________________________
Post replies to the newsgroup - Share with others.
E-mail: Remove "NIX" and append "#VC811" to Subject.
__________________________________________________

Reply With Quote
  #7  
Old 01-05-2006, 05:05 AM
Doug Knox MS-MVP
 
Posts: n/a
Default Re: Run defrag as non-administrator?

Click Start, Run and enter GPEDIT.MSC Go to Local Computer Policy, Computer Configuration, Windows Settings, Security Settings, Local Policies, User Rights Assignment. In the right pane, look for Perform volume maintenance tasks. Double click this and add the user or Group that you want to have this privilege. A reboot may be required.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"Russ Ringer" <nobody@example.com> wrote in message news:dm6eq1t2j2ojvav0pq93o0d2jh1vabkuqi@4ax.com...
> Is there a way I can allow an account that is not a member of
> Administrators to run disk defrag?
>
> Win XP pro SP2
>
> Thanks,
> Russ

Reply With Quote
  #8  
Old 01-05-2006, 05:05 AM
Russ Ringer
 
Posts: n/a
Default Re: Run defrag as non-administrator?

I added Power Users to "Perform volume maintenance tasks" and
re-booted but still got a warning, "You must have Administrator
privileges to defragment a volume"

So I tried adding Users, Everyone, and the specific user and rebooted.
Same results.

On Mon, 19 Dec 2005 20:14:46 -0500, "Doug Knox MS-MVP"
<dknox@mvps.org> wrote:

>Click Start, Run and enter GPEDIT.MSC Go to Local Computer Policy, Computer Configuration, Windows Settings, Security Settings, Local Policies, User Rights Assignment. In the right pane, look for Perform volume maintenance tasks. Double click this and add the user or Group that you want to have this privilege. A reboot may be required.


Reply With Quote
  #9  
Old 01-05-2006, 05:05 AM
Steven L Umbach
 
Posts: n/a
Default Re: Run defrag as non-administrator?

I don't believe so but you can use the XP command line version defrag.exe in
startup/shutdown scripts or as a Scheduled Task which can be scripted via
schtasks. The links below explain more. --- Steve

http://support.microsoft.com/kb/283080/EN-US/
http://technet2.microsoft.com/Window...68d171033.mspx

"Russ Ringer" <nobody@example.com> wrote in message
news:dm6eq1t2j2ojvav0pq93o0d2jh1vabkuqi@4ax.com...
> Is there a way I can allow an account that is not a member of
> Administrators to run disk defrag?
>
> Win XP pro SP2
>
> Thanks,
> Russ



Reply With Quote
  #10  
Old 01-05-2006, 05:07 AM
Doug Knox MS-MVP
 
Posts: n/a
Default Re: Run defrag as non-administrator?

They may not be able to run the Command line version, but have you tried running the GUI version from the drives context menu?

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"Russ Ringer" <nobody@example.com> wrote in message news:b9hgq1tu3hnks78gao8lrkm3ibstoffhu0@4ax.com...
>I added Power Users to "Perform volume maintenance tasks" and
> re-booted but still got a warning, "You must have Administrator
> privileges to defragment a volume"
>
> So I tried adding Users, Everyone, and the specific user and rebooted.
> Same results.
>
> On Mon, 19 Dec 2005 20:14:46 -0500, "Doug Knox MS-MVP"
> <dknox@mvps.org> wrote:
>
>>Click Start, Run and enter GPEDIT.MSC Go to Local Computer Policy, Computer Configuration, Windows Settings, Security Settings, Local Policies, User Rights Assignment. In the right pane, look for Perform volume maintenance tasks. Double click this and add the user or Group that you want to have this privilege. A reboot may be required.

>

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Administrator logon & fast user switching problems mark@no.spam Windows XP Configuration Manage 0 01-05-2006 07:31 AM
Re: Printer only 'connects' for administrator users. Steve Hawkins Windows XP Print Fax 4 01-05-2006 06:42 AM
Re: Defrag and chkdsk problem together van Windows XP Perform Maintain 4 01-05-2006 05:53 AM
Retrieving an Administrator Password or Changing a Lilited Account to Admin mc-merc Windows XP Security Admin 1 01-05-2006 04:16 AM
Re: Scheduling a Defrag Mike Brearley Windows XP General 7 01-05-2006 02:27 AM


All times are GMT. The time now is 08:24 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Run defrag as non-administrator?