Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 549
  • Last Modified:

defragment without local admin

had a win xp pc. wanted to assign the user (with power user rights) to run defragment. however, we are not encouraged to create local admin accounts on the pc. is there any other ways to do it?
0
grnow
Asked:
grnow
  • 4
  • 2
3 Solutions
 
Sushil SonawaneCommented:
Create a new user and add user to "Power Users" group.
0
 
grnowAuthor Commented:
sorry if any confusion. this existing user is already with power user rights. by default, users with power users rights not allowed to run defrag
0
 
Sushil SonawaneCommented:
Try this one

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.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Sudeep SharmaTechnical DesignerCommented:
@grnow,
If the whole purpose is to defrag the drives then you may create a schedule task which would run with System or Administrator privileges. You can choose what time to run the de-frag and when.

Sudeep
0
 
grnowAuthor Commented:
i tried to setup a schedule to run..

under run: c:\windows\system32\dfg.msc
start in: c:\windows\system32\

when i run this schedule under administrator, the defrag can run and show up the defrag page. When run under power user logon, the status show it is running but in fact not.
when editing something on the task scheduler:
'an error has occurred while attempting to set task account information. The specific error is 0x80070005: access denied. you do not have permission to perform the requested operation'
0
 
grnowAuthor Commented:
in the end, a shorcut to the defrag exe put on user's desktop. when need to run, then use run as to execute the program.
0
 
grnowAuthor Commented:
an an alternative to use run as
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now