Using Group Policy to Run Defrag or Disk Cleanup

Posted on 2008-11-14
Last Modified: 2013-11-25
Is it possible to run disk defrag and disk cleanup using Group Policy?  I searched the entire policy listings, all 3900 and could find no such settings.

But before I declare it not possible, I wanted to make sure I didn't miss anything.  Not interested in using a script, 3rd party applications, or anything else.  If there is no way to do it using a group policy setting, then just need to know for sure.

Question by:dgore1
    1 Comment
    LVL 4

    Accepted Solution

    I don't think it's possible as the programs to my knowledge require interaction from the user and isn't possible to launch via syntax.  I think you may end up needing to run it manually or check out Diskeeper or another program like that.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    You can provide a virtual interface for remote stakeholders in a SWOT analysis through a Google Drawing template. By making real time viewing and collaboration possible, your team can build a stronger product.
    "Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now