The registry key [tt]HKCU\Software\Microsoft\Internet Explorer\TypedURLs[/tt] contains each URL typed by the user into the Internet Explorer address bar.
My objective is to overwrite ("erase") the contents of all values in that registry key before deleting them, for increased security. The script below accomplishes the "delete" portion of the task:
[tt]Const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Software\Microsoft\Internet Explorer\TypedURLs"
objRegistry.EnumValues HKEY_CURRENT_USER, strKeyPath, arrValueNames, arrValueTypes
For Each strValue in arrValueNames
objRegistry.DeleteValue HKEY_CURRENT_USER,strKeyPath,strValue
Next[/tt]
Source:
How can this script be modified to first overwrite ("erase") the contents of each value before it is deleted?
Thank you for your assistance.
My objective is to overwrite ("erase") the contents of all values in that registry key before deleting them, for increased security. The script below accomplishes the "delete" portion of the task:
[tt]Const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Software\Microsoft\Internet Explorer\TypedURLs"
objRegistry.EnumValues HKEY_CURRENT_USER, strKeyPath, arrValueNames, arrValueTypes
For Each strValue in arrValueNames
objRegistry.DeleteValue HKEY_CURRENT_USER,strKeyPath,strValue
Next[/tt]
Source:
How can this script be modified to first overwrite ("erase") the contents of each value before it is deleted?
Thank you for your assistance.