Re: Can't Run Defrag - Even with 'Perform Volume Maintenance' Set



Hi Ben,

I performed some deep research in our internal resource.

However, unfortunately in windows xp, we cannot give non-administrators the
rights to run disk defragmentation via the "perform volume maintenance
tasks" user right.In another word, in windows 2000 and windows xp, only
administrator can run disk defragment.It is because 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.

Sorry for any inconvenience.However, it is by design. I saw the article you
mentioned but it appears to be a little inaccurate.



Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
Reply-To: <benblackmore@xxxxxxxxxxxxxxxx>
From: <benblackmore@xxxxxxxxxxxxxxxx>
References: <eIaF7SPdGHA.4892@xxxxxxxxxxxxxxxxxxxx>
<L6udnfPLJc5NEf7ZRVn-vA@xxxxxxxxxxx>
<OzsqPRCeGHA.2068@xxxxxxxxxxxxxxxxxxxx>
<ziXYXsleGHA.220@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Can't Run Defrag - Even with 'Perform Volume Maintenance' Set
Date: Thu, 18 May 2006 16:59:17 +0100
Lines: 185
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
Message-ID: <OG4xFQpeGHA.536@xxxxxxxxxxxxxxxxxxxx>
Newsgroups: microsoft.public.windows.group_policy
NNTP-Posting-Host: host217-37-28-250.in-addr.btopenworld.com 217.37.28.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP02.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.group_policy:20721
X-Tomcat-NG: microsoft.public.windows.group_policy

Hi Vincent,

Still no further.

User who can't run defrag has these privileges (shown by whoami /all)

(O) SeManageVolumePrivilege = Perform volume maintenance tasks
(X) SeChangeNotifyPrivilege = Bypass traverse checking
(O) SeSystemtimePrivilege = Change the system time
(O) SeShutdownPrivilege = Shut down the system
(O) SeProfileSingleProcessPrivilege = Profile single process
(X) SeUndockPrivilege = Remove computer from docking station
(X) SeCreateGlobalPrivilege = Create global objects

User who can run defrag has these

(O) SeManageVolumePrivilege = Perform volume maintenance tasks
(X) SeChangeNotifyPrivilege = Bypass traverse checking
(O) SeShutdownPrivilege = Shut down the system
(X) SeUndockPrivilege = Remove computer from docking station
(O) SeSecurityPrivilege = Manage auditing and security log
(O) SeBackupPrivilege = Back up files and directories
(O) SeRestorePrivilege = Restore files and directories
(O) SeSystemtimePrivilege = Change the system time
(O) SeRemoteShutdownPrivilege = Force shutdown from a remote system
(O) SeTakeOwnershipPrivilege = Take ownership of files or other
objects
(O) SeDebugPrivilege = Debug programs
(O) SeSystemEnvironmentPrivilege = Modify firmware environment values
(O) SeSystemProfilePrivilege = Profile system performance
(O) SeProfileSingleProcessPrivilege = Profile single process
(O) SeIncreaseBasePriorityPrivilege = Increase scheduling priority
(X) SeLoadDriverPrivilege = Load and unload device drivers
(O) SeCreatePagefilePrivilege = Create a pagefile
(O) SeIncreaseQuotaPrivilege = Adjust memory quotas for a process
(X) SeCreateGlobalPrivilege = Create global objects
(X) SeImpersonatePrivilege = Impersonate a client after
authentication

Both have '(O) SeManageVolumePrivilege = Perform volume maintenance
tasks'
set the same, both are members of the same groups. Can't see why it works
for one, and not the other.

Ben


"Vincent Xu [MSFT]" <v-xuwen@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:ziXYXsleGHA.220@xxxxxxxxxxxxxxxxxxxxxxxx
Hi Ben,

Just wondering how is everything going.

Regarding SP3, so far I have no idea. Microsoft will publish the news if
SP2 will be released.

Have a good day.


Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no
rights.
======================================================



--------------------
Reply-To: <benblackmore@xxxxxxxxxxxxxxxx>
From: <benblackmore@xxxxxxxxxxxxxxxx>
References: <eIaF7SPdGHA.4892@xxxxxxxxxxxxxxxxxxxx>
<L6udnfPLJc5NEf7ZRVn-vA@xxxxxxxxxxx>
Subject: Re: Can't Run Defrag - Even with 'Perform Volume Maintenance'
Set
Date: Mon, 15 May 2006 14:34:34 +0100
Lines: 69
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Response
Message-ID: <OzsqPRCeGHA.2068@xxxxxxxxxxxxxxxxxxxx>
Newsgroups:

microsoft.public.windows.group_policy,microsoft.public.windowsxp.security_ad
min
NNTP-Posting-Host: host217-37-28-250.in-addr.btopenworld.com
217.37.28.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP02.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.windowsxp.security_admin:184405
microsoft.public.windows.group_policy:20645
X-Tomcat-NG: microsoft.public.windows.group_policy

Hi Steve,

Thanks for the information. I will give it a try and let you know.

Bit of a pain that this doesn't work as expected, I wonder if MS will
fix
it
in SP3!?

Interestingly, another user, who is not local admin, WAS able to run a
defrag over the weekend, so it seems this policy setting works
sometimes,
but not all the time!

Ben

"Steven L Umbach" <n9rou@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:L6udnfPLJc5NEf7ZRVn-vA@xxxxxxxxxxxxxx
Apparently that user right does not work as expected as I have seen
the
same. What you could try is to use the command line tool defrag to
run
in
schedule using the AT command of Scheduled Task. For instance try
the
command [ AT 22:00 /interactive defrag c: -v ] on a users computer
while
logged on as an administrator and use a time that is in the future
while
the user is logged on to see if it works or not. You can also use
schtasks
to do Scheduled Tasks on a computer and make it part of a Group
Policy
"startup" script if you have a large number of computers you want to
deploy it on. For defrag you might want to try that and use the
system
account to run the task. --- Steve



http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-
us/schtasks.mspx?mfr=true
--- schtasks
http://support.microsoft.com/default.aspx?scid=kb;en-us;313565 ---
AT
command use

<benblackmore@xxxxxxxxxxxxxxxx> wrote in message
news:eIaF7SPdGHA.4892@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

A while ago we removed our users from the local admins group,
leaving
them just as normal users, as they were installing non-corporate
software. We found out after that some of the users like to run
Defrag
on
a monthly basis, which became restricted when they were removed from
the
admins group.

As we have no problem with this we edited the group policy under
"Computer Configuration\Windows Settings\Security Settings\Local
Policies\User Rights Assignments" to give 'Domain Users' the
'Perform
volume maintenance tasks' right, which according to
http://tinyurl.com/ks6s8 "Determines which users and groups have the
authority to run volume maintenance tasks, such as Disk Cleanup and
Disk
Defragmenter".

However, after a number of reboots, and forced GP refreshes, the
users
still can't perform a defrag. I have run RSoP and it shows that the
policy is applied, and the users should be able to perform volume
maintenance.
Is there a bug in Defrag or the Policy, that is stopping it being
applied? Or am I adding the wrong user group? I've tried
'Authenticated
Users', specific security groups, such as Sales, Accounts etc and
even
individual users, nothing works.

We're running Windows XP Pro SP2, in a Windows 2003 native domain
environment.

Any advice, greatly received

Ben











.



Relevant Pages

  • Re: Cant Run Defrag - Even with Perform Volume Maintenance Set
    ... Microsoft Online Partner Support ... This posting is provided "AS IS" with no warranties,and confers no rights. ... I guess I will have to find another way to run Defrag. ... However, unfortunately in windows xp, we cannot give non-administrators ...
    (microsoft.public.windows.group_policy)
  • Re: My "OE" just crashes.
    ... Lopks like I have to defrag I guess. ... moved or marked as read in an OE message file, then wasted space is generated in that file, and the folder must be compacted to remove that ... Messages opened themselves (if you have the latest security updates from Windows Update) will not ... - How to manage Internet Explorer add-ons in Windows XP Service Pack 2 ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Defrag question
    ... I've emptied documents and settings, temp and windows temp folders, as well ... to how defrag finds it. ... Error Checking (chkdsk) then run Defrag again. ... the disk checking for the next time you restart your computer. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Defrag question
    ... Empty all of your temp folders, run Error Checking (chkdsk) then run Defrag again. ... In My Computer or Windows Explorer, right-click the drive you want to ... the disk checking for the next time you restart your computer. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Defragmentation does not work
    ... Apparently Microsoft is pretty proud of the DCOM Server Process Launcher ... Note the following things will fail if this service is not running: ... * The builtin defrag will fail to work, and if running defrag from the ... A network error occurred in connecting to Windows Management ...
    (microsoft.public.windowsxp.general)