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

ControlUp Community

Connect, Learn, and Grow

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

Managing Microsoft Edge Cache and Cookies with Scripts in ControlUp

Posted on October 30, 2023

The user asked if there is a script to close and delete the cache and cookies on the Microsoft Edge browser, and it was suggested that it is possible, with a link provided to the necessary folders. Clearing the folders is not always simple, as other software may use msedge.exe in the background, so users should be notified before making any changes. A possible solution is being worked on that would send a notification to the user to say the browser is attempting to be closed, and they will be notified when it is able to reopen.


Read the entire ‘Managing Microsoft Edge Cache and Cookies with Scripts’ thread below:

Is there a script that can be ran to close Microsoft Edge browser (the chromium one) and then delete its cache and cookies that you all may know of. This is to be run in Edge DX using powershell


The edge browser? I’m sure it’s possible, but if it’s simple, I’m not sure


Looks like its just a matter of clearing two folders: https://chat.openai.com/share/7d9d02aa-c157-452e-8aa1-46e1ef8e214d


Be aware that plenty of other pieces of software use msedge.exe in the background so you can’t just kill it without notifying the user.


I have one that does a check first to see if the browser is open , if it is open it will let the engineers know that the browser is open and to ask the to close it and then to rerun the script

In the works:

to send a notification to the end user to say that we are trying to clear the cache and they need to close it we will let them know once they can open the browser again

Continue reading and comment on the thread ‘Managing Microsoft Edge Cache and Cookies with Scripts in ControlUp’.  Not a member? Join Here!


Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers
Topics: Browsers, Chromium, Microsoft, Physical Desktops, PowerShell, Scripts

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
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

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 solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download 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–2025 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..