• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 548
  • Last Modified:

defrag hard drive on reboot or without logging in

We use Altiris network management software to do everything with our PC network. (imaging, patch management, etc.) The one thing we can't do is get the workstations to defrag remotely. We can power on the PC's remotely and run scripts and executables, but you have to be logged on as an administrator to defrag. I'm not familar enough with the defrag utility to understand the switches etc. to get it to run in a script on startup before loggon. We could even use AD GPO scripts to run it on startup, but my users don't have Admin local and if they did might be a little upset and waiting for a defrag to complete in the morning. I really can't afford a commercial defrag program like Diskkeeper but need to keep my machines clean. Any ideas, freeware, scripts, etc that might work would be appreciated.
1 Solution

  This describes the limitations of Windows 2000 disk defragmenter and
  that it is not intended to be a tool for administrators to maintain networked workstations.

  You can check out the accepted answer at this link.

  You want to check out the 4th answer up from bottom by ColinRoyds and the last answer
  on the bottom of page which is by ColinRoyds.

  I don't know hardly anything about scripting so hopefully someone else has a better

  Good Luck.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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