• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Archives
  • Findings
  • Meetups
  • Videos
  • Events
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp Dashboards
    • ControlUp for Desktops
    • ControlUp for VDI
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp Workflows
  • Topics
    • Logos & Wallpaper
    • ControlUp.com
  • Join

NEW ControlUp Disk cleanup script that actually asks the user what to delete

Posted on July 28, 2026

Every admin has run a disk cleanup script. Almost none of them ask the user first, and that’s exactly the gap this one fills.

In this episode, Chris Twiest walks Douglas Brown through a new interactive disk cleanup utility, created by Sebastien Perusat and now baked directly into the product. No separate install, no extra agent. You import it from the script library, and it just runs.

What makes it different: it’s user-interactable. Instead of silently wiping temp folders from the system context, the end user gets a pop-up showing how much space is available to reclaim, then picks what to clean — recycle bin, temporary files, browser cache — confirms, and gets a completion message with the exact amount freed. It looks and feels like a full GUI tool, but it’s just a script generating that interface on the endpoint.

That user context is the whole point. A system-level cleanup script usually can’t reach the user’s recycle bin because of profile permissions, so it reports “done” while gigabytes are still sitting there. And nobody wants a script silently nuking their browser cache — and the saved passwords with it. Giving the user the choice solves both problems. The original system-level script is still there; the two are meant to be used together.

Chris also demos:

  • Running it on demand from the help desk against a device flagged for low disk space
  • Triggering it automatically from an alert
  • Full macOS support — same pop-up flow, same experience
  • Results written to a data index so you can view the raw output or visualize cleanup activity (a gallery dashboard for it is coming in a few weeks)
  • Results also written back as a device event, visible right on the device timeline
  • Full script source visible and editable — rebrand it in your own colors, add or remove cleanup targets (Chris’s tip: paste it into Claude or ChatGPT and describe what you want changed)

One caveat worth knowing: because the action runs in user context, it’s bound by user permissions. That’s why the system-level script still has a job.

It’s available now. Go to the script library, import it, and have some fun.

Big thanks to Sebastian Peresat for building and sharing this one — find him on LinkedIn or in the community.


Categories: All Archives, Blog, ControlUp Dashboards, ControlUp Scripts & Triggers
Topics: Automation & Alerting, Browsers, ControlUp Agent, ControlUp Script Library, Reporting, Scripts, Triggers

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp DEX solutions.

Browse here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2026 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..