“Script Started” ?
$Count = 00000000
$olkey = “HKey_Current_User\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676″
“Checking Outlook Account Reg Keys” ?
Sleep 2
$olcheck = EnumKey ($olkey,$Count)
While @ERROR = 0
$olpop = ReadValue($olkey + “\” + $olcheck, “POP3 Server”)
If $olpop = “70006f00700033002e006400690067006900740061006c0069006d0073002e006e00650074000000″ -> This is Binary Specific to the POP3 Server name. Get this info from the Registry at the HKCU Path above
”Found POP3 Account” ?
Sleep 1
”$olpop” ?
Sleep 2
”$olcheck” ?
Sleep 5
DelKey($olkey + “\” + $olcheck)
”Deleted POP3 Account from Reg” ?
Sleep 1
EndIf
$Count = $Count + 1
$olcheck = EnumKey ($olkey,$Count)
Loop