Category filter
Script to Clear Browsing History on Windows 10 devices
In institutions such as hotels, hospitals, and schools, the devices may be shared among multiple users. In such instances, other users may gain access to the users’ internet surfing history. Hence, organizations may require to delete the browsing history from the devices to protect the privacy of each user. However, manually clearing browsing history from every device will be a cumbersome process. Hexnode lets you remotely do this on Windows devices by executing custom scripts from the portal.
Batch script to delete browsing history of Google Chrome
1 |
del /q /s /f “C:\Users\Username\AppData\Local\Google\Chrome\User Data\Default\History” |
PowerShell script to delete browsing history of Google Chrome
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
$Items = @('Archived History', 'History', 'Top Sites', 'Visited Links') $Folder = "C:\Users\Username\AppData\Local\Google\Chrome\User Data\Default" $Items | % { if (Test-Path "$Folder\$_") { Remove-Item "$Folder\$_" } } |
Replace “Username” with your username.