Defrag

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have 2 questions about defraging a computer. Is there a way to schedule a
defrag of a computer using group policy and Windows 2003 AD? Is it best
practice to run a defrag in Safe Mode or does it matter if I setup a schedule
and have it run at night in normal made?

Thanks
 
Scott said:
I have 2 questions about defraging a computer. Is there a way
to schedule a defrag of a computer using group policy and
Windows 2003 AD?

For the WinXP client computers, you could run Schtasks.exe in a
computer startup script (with a GPO) that runs as part of the boot
up process (before the user logs in). It runs under the system
context and has admin rights.

Use Schtasks.exe to put defrag.exe in a scheduled task running under
an account that have local administrator rights.

Schtasks.exe is a command line tool can create a scheduled task.

To avoid the job being recreated every time the computers reboot,
e.g. check for the .job file in the folder %windir%\Tasks\

Is it best practice to run a defrag in Safe Mode or does it matter
if I setup a schedule and have it run at night in normal made?

Running it under normal mode is fine...
 
Back
Top