Clear Web Browsing History

SOTI MobiControl
Windows

In environments where devices are shared among multiple users, it's essential to protect the privacy of each individual by ensuring their browsing history remains confidential. The Clear Web Browsing History script enables IT administrators to remotely delete browsing data from Windows devices, preventing unauthorized access to previous internet activity. This eliminates the need for manual clearing on each device, saving time and effort while maintaining user privacy across shared devices.

Important:
  • It is recommended to test the script on a local/ test machine for its purpose and effects. 
  • SOTI MobiControl will not be responsible for any damage/loss to the data/setup based on the behavior of the script.

Clears Google Chrome history

1 $Items = @('Archived History', 'History', 'Top Sites', 'Visited Links')
2 $Folder = "C:\Users\Administrator\AppData\Local\Google\Chrome\User Data\Default"
3 $Items | ForEach-Object {
4 $FilePath = Join-Path -Path $Folder -ChildPath $_
5 if (Test-Path -Path $FilePath) {
6 Remove-Item -Path $FilePath -Force
7 }
8 }

Was this helpful?

Need more help?
Ask Community