defrag XP

  • Thread starter Thread starter sf
  • Start date Start date
S

sf

Do I need to exit all virus protection and turn off my screen saver?
I turned off e-trust and windows defender when I did it earlier today,
but maybe I didn't need to.

TIA
 
Hi,

I never do. The defrag routine can cope with running programs (unlike the
one in the Win9x line), provided they are not overly cpu-intensive.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
 
I don't use a screensaver, i find them un-necessary. I also use a third
party defragmenter called perfectdisk (www.raxco.com) although i have on
occasion used the Windows defragmenter tool. In both cases the anti virus is
still running so is windows defender and my firewall.

I use hibernation regularly so what i do, prior to defragmenting the drive,
is disable hibernation. Depending upon your hard drive size this free's up
500MB or more of space which can also be defragmented.

--
John Barnett MVP
Associate Expert
http://xphelpandsupport.mvps.org

The information in this mail is supplied "as is". No warranty of any kind,
either expressed or implied, is made in relation to the accuracy,
reliability or content of this mail. The Author shall not be liable for any
direct, indirect, incidental or consequential damages arising out of the use
of, or inability to use, information or opinions expressed in this mail..
 
If you don't have standard monitor, like an LCD or similar monitor, do away
with the screensaver. Its a thing of the past not needed. There is no
burned in screen influence on these monitors of continued display of the
same graphics.
Defragmentation is not that imperative with XP. So, don't get stressed
about it.
Defrag may protest about lack of memory if you have little free hard drive
space would be my only concern. If so, get a larger capacity hard drive
that your PC can handle and let windows breathe easy.
 
If you don't have standard monitor, like an LCD or similar monitor, do away
with the screensaver. Its a thing of the past not needed. There is no
burned in screen influence on these monitors of continued display of the
same graphics.

I use the screen saver because it's pretty.... if I could find the
earth view I had with my old win98, I'd be a happy camper. It told me
the time and displayed the entire earth as darkness/light crept
across.
Defragmentation is not that imperative with XP. So, don't get stressed
about it.
Good to know. My work computer is at least 4-5 years old and has
never been defragged to my knowledge (I've had it for 3).
Defrag may protest about lack of memory if you have little free hard drive
space would be my only concern. If so, get a larger capacity hard drive
that your PC can handle and let windows breathe easy.

My HD is big enough for me... I have 47.5GB of free space.
 
In XP you acan also schedule your system to defrag regularly automatically.
I have my PC run the cleanup to delete temp files, old install files, etc,
and then defrag for me about an hour later, automatically once a week, using
the built in task scheduler service. Windows 98/Me had a Wizard to guide you
through scheduling this 'automatic' mantenance, but XP does not (why?).

Anyway, you can get information about that on Microsoft.com, just search for
"schedule disk cleanup". If you want more information, let me know and I'll
give you step by step. It's very handy, although it requires that the PC be
on when it's scheduled. So i have mine automatically go into sleep mode to
save power, but then it wakes back up to run the tools, then goes back to
sleep afterwards.

______________________
Shawn
 
In XP you acan also schedule your system to defrag regularly automatically.
I have my PC run the cleanup to delete temp files, old install files, etc,
and then defrag for me about an hour later, automatically once a week, using
the built in task scheduler service. Windows 98/Me had a Wizard to guide you
through scheduling this 'automatic' mantenance, but XP does not (why?).

Anyway, you can get information about that on Microsoft.com, just search for
"schedule disk cleanup". If you want more information, let me know and I'll
give you step by step. It's very handy, although it requires that the PC be
on when it's scheduled. So i have mine automatically go into sleep mode to
save power, but then it wakes back up to run the tools, then goes back to
sleep afterwards.
Thanks, Shawn. I found the Scheduled Task Wizard on my XP. What I
don't like about it is that it asks for a user name and password. I'm
probably the only person who will schedule tasks on this computer, but
I don't like the tasks not being universally accessible. Is there a
work around for this? Can I eliminate that step somehow?
 
sf:
Unfortunatly the Wizard that XP provides doesn't actually give you the
funcationality that you'd want for this use. It doesn't actually give you a
clue to that, thuough (another unfortunate useability mistake). Anyway, let
me first let you know about the username and password issue. The tasks are
going to be able to be run by anyone, and modified by anyone with Admin
priviliges. The tasks will automatically run at the specified time no matter
who is logged on, or even if nobody is logged on (on the logon screen). It
needs a password to know which user's space to start the program in. It's
almost identical to using the "Run As..." option for a program. So for
instance, if you schedule defrag, and then use a limited user's name and
password, the defrag won't run, because the user it's trying to "run as"
doesn't have the authority to defrag a disk. Like I said, this won't
restrict anyone else from seeing/modifying/running the task manually.

Now about scheduling the cleanup or defrag.

-- Step 1: Don't use the Add Scheduled Task Wizard.
I know this seems dumb, but -- trust me. (Short reason, that will launch
the defrag GUI, which can't be scripted, so it'll only open the program, then
do nothing until the time alloted for the task expires, then XP will force it
to exit.)

-- Step 2: Right-click in the Scheduled Tasks folder, point to New >, then
click Scheduled Task. Name the task "cleanup c" or "defrag" or something.
Then double-click it to open it.

-- Step 3: For defrag, type "defrag c: /f /v" in the first feild, where c:
is the drive, obviously. The /f flag forces XP to defrag the disk even if it
doesn't "think" it's needed. Note that it must be quite bad before XP
decides it's needed. The /v flag enabled verbose output. You can remove it
if you prefer, then when the task is running, you'll only see a CMD window
with the defrag program copyright information, but no true information about
the process or status of your disk.

In the "Run As:" box, it should be pre-loaded with your Windows user name.
Click "Set Password..." and type your Windows password twice.

Set the Schedule tab however you want. I have mine defrag once a week early
Monday morning at 4:00am.

On the Settings tab, again set the options you want. I have mine set to
allow defrag to run for up to 4 hours. It usually finished in about 8
minutes though, and exits long before time runs out. The only other option I
have turned on is to "Wake the computer to run this task." This way I can
enable Power Saving sleep settings, without causing the computer to miss this
task.

-- Step 4: If you chose to schedule clean up, here's how:
First, put this in the Start Menu, Run box: "cleanmgr /sageset:10" (replace
ten with any digit you want up to (65000 or something, I can't remember... I
use 777, just because that's my favorite three-digit number, ha ha). Anyway,
when you "run" that command, you'll get a familar disk-cleanup screen. Check
the sections you want to have cleaned up automatically. Remember this will
happen automatically -- you may not want the Recycle Bint to be emptied
without your explicit consent, but then, it wont' hurt anything to clear temp
files automatically. So set them how you want, then click OK. Nothing
actually gets cleaned up right now. This saves those settings to the
registry. You can do ths more than once using another digit in the command,
and set each sets own settings. I don't, but you can.

Next, make a new task the same way as you did above. In the run box, put
"cleanmgr /sagerun:10" (or whatever number you chose last time.) This will
make it use the stored settings. Again, set a password so it has the
authority to run this task as if you did it manually, then set a schedule and
settings. I use a weekly settings for this as well, and have it run at
2:45am, so it can run and finish before defrag runs a few hours later.


Good luck and happy... defragmenting. Ha ha.

___________________
Shawn
 
Hello, Yes you need to turn off your screensaver and do not have any programs
running just leave it alone till its done. You can not open any programs
while it is doing this otherwise it will restart.

Thanks,
Peter Brown
 
Back
Top