As a sysadmin at a medium-sized enterprise, I'm facing an ongoing issue with users having stale data in their Edge browser cache, which disrupts their work with online portals. I've tried sending users instructions on how to clear their cache, but they often ignore the emails. I'm looking for a way to run a command line or silent PowerShell script that can clear the browser cache remotely, without having to individually log into each user's machine. We operate in a Microsoft AD environment with a mix of Windows 10 and 11, and exclusively use Edge for work-related browsing. Does anyone have suggestions or solutions?
2 Answers
If you're looking for a script, you can navigate to the Edge cache directory and delete the cache files with a command. Just ensure you have the right permissions to avoid customizing for each user.
You might want to consider using a Group Policy Object (GPO) for this, like the 'Clear Browser Data on Exit' setting. This will automate cache clearing when the browser is closed, so users don't have to remember to do it themselves.
Yep, I can confirm this works! We implemented it at my workplace and it's been a lifesaver.
Convincing the AD admin to set it up as a policy can be tricky, though. Good luck with that!
That sounds good, but I'm aiming for something more generic that I can run remotely. Any specific cmd commands you’d recommend?