MOCEwez Posted March 31, 2008 Posted March 31, 2008 Hi, I'm new to AutoIT (Actually scripting in general) and was wondering if anyone could gimme a little help, pointers. I found out the hard way the McAfee products are not compatable. (They would not take their wrongly advised licences back :-( ) I have to completely remove any trace of the previous version before I ca install the newst version. (Total Protextion SMB - Advanced) Quite shocking that there is not checks before installing!!! McAfee KB 612722 shows all that needs to be done. I have build my script around that article. Some lines have ***** in them which means that I won't be using it. Is it possible to check if a reg key or value exists before deleting it? Well here it is. expandcollapse popup if IsAdmin() = False Then RunAsSet("DPO", "Traxx", "Password", 0) EndIf $VSEDir = "C:\Program Files\McAfee\VirusScan Enterprise\" ; STEP 1 - Remove Common Management Agent (CMA) reference for VirusScan Enterprise ; 1. Click Start, Run. ; 2. Type: <CMA install folder>\FRMINST.exe /REMOVE=Updater /PRODUCT=Viruscan8600, and click OK. ; IMPORTANT: The product designation for VSE 8.5i is Virusscan8600, not Virusscan8500. ; Example: C:\Program Files\McAfee\Common Framework\frminst.exe /remove=updater /product=Viruscan8600 ; NOTE: The default location for the CMA installation folder is: C:\Program Files\McAfee\Common Framework. $RemoveCMA = "C:\Program Files\McAfee\Common Framework\frminst.exe" if FileExists($RemoveCMA) Then $RemoveCMA = $RemoveCMA & " /remove=updater /product=Viruscan8600" RunWait($RemoveCMA, "C:\Program Files\McAfee\Common Framework\") endIf ;STEP 2 - Unregister with Checkpoint ; 1. Click Start, Run. ; 2. Type: <VirusScan install folder>\PIREG.EXE /d <VirusScan install folder>\MCAVSCV.DLL, and click OK. ; NOTE: The default location for the VirusScan installation folder is: C:\Program Files\McAfee\VirusScan Enterprise. $RemoveVSE = $VSEDir & "\PIREG.EXE" if FileExists($RemoveVSE) Then $RemoveVSE = $RemoveVSE & " /d " & $VSEDir & "MCAVSCV.DLL" RunWait($RemoveVSE, $VSEDir) EndIf ;STEP 3 - Remove the Anti-Spyware Module (if installed) ; 1. Click Start, Run. ; 2. Type: <VirusScan install folder>\CSSCAN.exe /UninstallMAS, and click OK. ;$RemoveSPY = "C:\Program Files\McAfee\VirusScan Enterprise\CSSCAN.exe /UninstallMAS" ;RunWait($RemoveSPY, "C:\Program Files\McAfee\VirusScan Enterprise\") ;STEP 4 - Remove Lotus Scanner ; 1. Click Start, Run. ; 2. Type: <VirusScan install folder>\NCDAEMON.exe -remove and click OK. ;***** $RemoveLotus = "C:\Program Files\McAfee\VirusScan Enterprise\NCDAEMON.exe -remove" ;***** RunWait($RemoveLotus, "C:\Program Files\McAfee\VirusScan Enterprise\") ;STEP 5 - Delete Registry Keys - Part I ; 1. Click Start, Run, type regedit and click OK. ; 2. Navigate to each of the following keys, right-click each key, and select Delete: RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\40C30C53F1F32C249A987A75EE96F156") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\9FF15957780018945A6265BC95AD719D") RegDelete("HKEY_CLASSES_ROOT\Installer\Products\40C30C53F1F32C249A987A75EE96F156") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\40C30C53F1F32C249A987A75EE96F156") RegDelete("HKEY_CLASSES_ROOT\Installer\UpgradeCodes\9FF15957780018945A6265BC95AD719D") ;STEP 6 - Unload vsplugin.dll (if ePolicy Orchestrator Agent is installed) ; 1. Navigate to the following registry location: ; 2. Right-click the key ViruScan8600. ; 3. Select New, DWORD Value. ; 4. Rename the New Value #1 value to Plugin Flag and press Enter. ; 5. Right-click Plugin Flag and select Modify ; 6. In the Value Data field type 8 and click OK. ; Write a single REG_SZ value ; RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Test", "TestKey", "REG_SZ", "Hello this is a ;***** RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\ePolicy Orchestrator\Application Plugins\ViruScan8600","Plugin Flag", "REG_DWORD", "S") ;STEP 7 - Stop VirusScan Services ;IMPORTANT: Your system will be unprotected after this step. For security, you may wish to continue working while disconnected from the network. ; 1. From the VirusScan Console disable Access Protection. ; 2. 1. To open the VirusScan Console, from the Start menu - click Start, Programs, Mcafee. ; 2. Select VirusScan Console. ; 3. Right-click Access Protection, and select Disable. ; 4. Exit the VirusScan Console. ; 3. Click Start, Run, type NET STOP McShield, and click OK. ; 4. Click Start, Run, type NET STOP McTaskManager, and click OK. MsgBox(0,"Access Protection", "Disable access protection now, then press okay to continue.") $StopMcShield = "NET STOP McShield" RunWait(@ComSpec & " /c " & $StopMcShield) $StopMcTaskManager = "NET STOP McTaskManager" RunWait(@ComSpec & " /c " & $StopMcTaskManager) ;STEP 8 - Delete Registry Keys - Part II ; 1. Search the Windows Registry for and delete instances of 40C30C53F1F32C249A987A75EE96F156: ; 2. 1. Click Start, Run, type regedit and click OK. ; 2. Select Edit, Find, type: 40C30C53F1F32C249A987A75EE96F156 and click Find Next. ; 3. Right-click any matching key found and select Delete. ; NOTE: Delete the parent key if there are no other values in the key. ; See the Related Information section for a full listing of all registry values that should be located and removed in this way. ;Search the registry to find the uninstall string for the version. $RegKeyRoot = "40C30C53F1F32C249A987A75EE96F156" For $i= 1 to 500000 $RegKeyGUID = RegEnumKey($RegKeyRoot, $i) If @error <> 0 Then ExitLoop $A = MsgBox(4, "Delete this key?", $RegKeyRoot & $RegKeyGUID, 10) if $A = 6 Then RegDelete($RegKeyRoot & $RegKeyGUID) EndIf Next ;Related Information ;These are the additional registry entries which should be removed during step 8 of the solution: RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0B150AC107B12D11A9DD0006794C4E25", "40c30c53f1f32c249a987a75ee96f156") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\2C4BAACEE3FF058449CFE4DABB1FD9A4") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\00534BDFF73EF4741B9DE248FF053E6B") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D39367440CD903246B90B55051833FBC") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\DAD3EF0BB0183DC499FD529DE6BFFAB3") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\49C7DFA9451919B4A9CED1290A8D9EE5") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\929FD1A3CAC6F474BBB9ADF8995BA8EC") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\115C8E035990C514EB3FC746A5515577") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\46383276227F4BB4D80734EBBD34330F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\CB69FD3520D73CB4B833F97775985BD7") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9AB8C1160305782438D5EEF303F3DDE5") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\936796DB66A782544901D8618B598A23") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6399290F37F93024980BCEC173FFFFFC") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9956F07BEBC62D84789C45B3807221B4") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\446DD3B3BCCDB9944BBC0FBEBC3D57FE") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\219A6D6982D292A45A432089A199E336") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6A3D6F771F153D14D9F3A92A69FFCEFE") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\2F80004200B81DA4C8C1FFEEB76F45D8") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9AAB7DB004388A84FA05B7B333DF91E8") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\07E8A486E0A627C42BADE2CB1894B161") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6EBE1492D2C6F784DB8B8CE3CA0DA4D3") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B553F572CB35B5441B350F0FFE933ED0") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\428FCD8E6FC857C49ACE8A297AA09757") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C8364EAF471CED1418833910D37784D6") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BC7499FEA96930246B3A393632229B80") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7575B534064B7D9449FEBBA765A5CC5F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3A03CA06999ECA14CA111621671BB823") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\711365DB3DF4EAC43B1D10B31BAF2ECA") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\62907C0D30257C248B3C057E455FC093") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\CA5144F04733A18468D51952B27E909C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B988D7107FBFAE447945B5F40BA94861") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\168EB765EF6D73B44B05AA7EB7DC2524") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\CA9F10997E9746A499C59030EE0E8806") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\31312F733FF0564478C4C1F5C44EF9BB") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FCBE89FEDDABB3542A7EE62C9DFDE2EC") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FF8D3E54B1FBEC04884029E93D64990B") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F46066D35FEA6D74BB8BAB8C676D5763") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\A195FBB43AC82EF489B63FD218B03E88") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\4B8A0ACD6078FCF47A663D6158379670") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\ACFD93BED1731B946848898CDC77B513") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F4BA6F1001E72C143911E6F15545965B") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\743081708ED3EB044A704A241134ED22") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\035C83C043B311147A5883F13439611E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C325342A837084E4ABAD31E3C81AF051") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\63AE560D1B3983143BB61508CA0A20FB") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C09EDCCC7A11A914EB66736F789587D3") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\E2F30CA0915A02E48940E6A93C258164") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F33BC99E336C60240A231FF60A64615B") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8393DBACFBF259B45A3840B5259AD211") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FEF89CE47A1D6D643B552A2A55FA886C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3CCBFAEBF55DD95478D15E53BB4A50A2") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7EBCCA7382D2C9F4CB1D1981A498682D") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\93572F63D7653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\43572F63D7653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0E01393277653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FC01171B3F386134BB052CA526EE6D02") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\051B6CBF7D94D4546A998848CDB4AC63") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5B47AE17A8E872B40802DFA46956C29D") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\CC72E7F7A74ECD149A38ADDF7BBED8B9") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3991CD52A0579894FB260A0386F7C70C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6C01393277653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3D01393277653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\ED01393277653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6D01393277653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7D01393277653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8D01393277653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\2E01393277653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9D01393277653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5194DF85EB00C234D8ECF11528A76C1B") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D2C943DE785E0D34A8585D4730BDB1B3") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FA22761F00975D345BE4AF919D5C6EFF") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\34A3A25BC60FE6E49A8B623A8B7F0733") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\08EC3E06EDEDB4849A8D6A4E3A03B0CC") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\672B05B48C4B472429137407ACE6CD8A") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B1F60C59C9726F04DB8E67E2ECB99715") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\E382487CB01DB3645A6054A863E75E21") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5D6F7971FBEF40A4383C43D472836B9E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8BB39EF132BE55F408174431C473E472") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9B49705BA10AEBE46B5FA6A20644829C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5FA0CAD0D8E018E408CF153F8A5A8C51") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6F2AE7D7C8B5AF542B5EEA877B8D7EA8") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\A44D09D375C817E47BEF8FB39C7DA2D4") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BF4722F6585DA4D499B31E258A8AC427") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\89BCED396B09CD54EA7FDD1A9A6EDB41") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\DA4BEA1BD0EE99242896B1ED862DDB1A") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7AE7301603791434A9741D3DEB660518") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\63572F63D7653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\4F168CEA6CCA48C40A4FCFB14F5A013C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\2CF872CD0471D8E46AC86CBEDDFB2281") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8DAD76D86DA5E1E49B3455378D054289") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\41A41797EF7B3D117B2B0005B820A215") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0F83788799820444EBAD62F24D95A075") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\827E6D993303291468A5E9F319A271F4") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C35CB3CA24459294AAE981247A8F5916") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\02D4AED8B1D30ED49889C6243467E1C0") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\376D8CEA967A3D113A38000056912350") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\2DD3DE2BA157A3740BDF0DF917F07158") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8D481C7D7857CBD499E53C18282224BD") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\549D7C746D994FA45905C25D02B0E5FE") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3EBB5CF4487373441957AA39D28E4921") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\614FE6D968324554E8F7072C80B289DC") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D29615EF6B3BA24478836F6F3870D14F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F891A0326916B86499CB28FE1413F4A2") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C5BAD53D7AE899E4FB42069A061147BF") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\CEDEF764C5B5510459AD0B6ECC09AB70") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6672316CE8476054B83124BB363007B5") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\DA36C24C5A7236A4A89E36EAE253BBB8") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\759731C0D80E2D6438B547BA9EE9C467") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\02C5303ECDC471C4E979719F11401D4C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8EB244EF98665E04298DE723571454DD") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B4572F63D7653D11989B0006807C0D2F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\646E710D71C9DCC4DB415DE71C52A091") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\88B8F3F9D4B047B4A8740E578038B086") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B8726C280CBCD1D4989C461958AC7EC1") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\806705D4443E2194F84C6A25BCC075AF") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5F3DDC39CFD9C384CB4E1CF4FECEEDF7") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1B7C176BD0A2F294BA774115507BFA4B") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5D434988A3D6DC443B21B94DEEE34E66") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\73F8243026DFE384C921384B80FC470E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\42BC52741053D2843A4475CFE4541AE5") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\51F4DAD0236004A43B71634E96A168A6") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F6F62BD277AA6BF45AABED47934839B3") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\157AAB499788FFD48813DCEB00376CAF") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C23A2350632B37A46BE19C01ABAA5B1F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\469F6B87C6AA72D40AE2EA3A23205593") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3D90557193C55F44B984EFAED9744E57") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\827E998DB2E98894DB59B958874E7C13") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1D1831C79C94B1E47B9892F0C5AAEA61") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\75990324BC9E32B48BA174EA53FEFED9") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\DC5B4D39298DBB94BA941D9097B0036D") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8A901877F70DB4F408E178A4E49262F9") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\74378600F3051354288E934B4AD9EEA0") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\397988B6B00F14540835220DDD2F70AE") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B2CC48CC0CB70314DAA4837079C780C1") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\2A75B1CFB63130A46887CA8DF62700E2") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D961DB568EB80F146AF17EECAEA0B275") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\2A50FA2F3C1B9A14E9F42F7EE14BF7AB") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F7509C172348D4D4E9192E4B24BEAA9B") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\746D1EFCC3BE4D746A3DB3349F1F4471") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\A41085DCE73BBD746898192B6E24D804") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BCFCF0460C558674AADAE14886E843D6") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\AAF84D5AACD171A40A568A60DA3183BE") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6C945186A13920642BBFD921809128F2") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D32D6BCD637C3394EB877634C8AC4D9E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3FB4C85BFD9D77C43B83FDF80FF35308") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9634FAA4CC2D7C341A379F014E0A7CEE") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\178E95FA2139C3948BDE155ED036CE5E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F184DC6A39E3247428469DEF633966F1") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5F00DABA4E8E8454AB7FA4B32EA86ABF") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C8BDC8D5925386846B11467E82194FC6") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C46AF1D9AC2DEB242A3E0B18554AA618") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7A7A62401D5E66E4D954BFF89174DDE5") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\CE7C94B210299D04EAC8DD3774893539") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\E81E038D3232093418CCCCB261E99483") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\367176ED82FA0094391FF97C0FF0F292") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\30CB024D603CB4B4E8907ECC8B76A83E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9D09A1BF567C000479B8B8EA6AFF6A78") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\E99D2B4C481DA304DB69F84F496CFADA") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6F1A52B5482F3914BACB1BEE7A59A530") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0C539BDE625B1394EAB264871772D71E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F6C689D4676862B4899394DB99F4EBCD") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B4C2B13039638824790D484A01E250A4") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B751812801E1041408730FF8854E409D") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\EB3DBBE3492721C4BA12728B84897398") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7D98C673AAB52D24B91F1569DB0B6518") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\051908A3443BCF041AF8A50D9218D767") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\A995F5404E809E74281F7282DA400A16") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\48755C728E26FAA4B9C55072EF92B27E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B2831C414F761EE45BE680C75519E882") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\A4DEF9B915472AC48B4551A3326B4A26") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\714C63D5B1D0B4B469ECC9136A67FE48") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\E463659AEA91B6643BC76C814C3BA394") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\30D335853FD29D84CAC4EFCE5040B3EF") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FD872268F5F5BF24FA0B328BD1D6F794") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\99649F6A74FF9AD438088B08EC0DF180") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\79F6747D69BCCC041847EAF7B897311D") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\37843E278DC035D4193E1EB4A72E0BD9") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7C4B68C3DDC88EC4F8933AAE69C91722") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1BF52792C61D0E640A5C787C8B93BAE4") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\701C4E6C044699840B28F2E84BBD6118") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B66D5F7AC07889741B394F1B2BC24493") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8BF78B9AF8045294188D7EFDFD571A8D") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\15080FB3D0752FE48B2E0750D89BC3A5") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\AF7995C2819FA674AA1E2DB0EB690D95") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\384ACFE859BB64C4587EB926BC37D99C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\2BF768AE7E2FCB74CBD14C36A2F70A13") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F68540ADA451E834D8A5651AA36D2F06") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\CD6A4ACA0EA92AD48A9E842623866EAD") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\88045822364E94C459DE618E2ED5D1D3") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\999DBDC9534B54245A243B32E3571302") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6FEABFF49431AA342BB70085A6096B5A") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\352F42A3709C90A44AB667FF26627D45") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\43778FB1AC9068A40B872AF1EDF85F50") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\53F88224E8FFED44FB7CC976A8676FD5") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\AFAAB395926F87A499744570F5CACA74") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\E04091771A5162B4F88B67100B797972") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\72CE849D05B70024D9DAD984F9CE664C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7C49258BBF369AC49A4989908DB5F241") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\E4711E402E7391F4BAD5BF58315F6695") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6A469BA6390CACE48985F2E45F82C76A") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\CE1A229ECC2817346B78E51FEF28493B") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7948923BEF13ACB43AD7C1D4F0BD4004") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BDA79D7CEA53BEF419413D26482B68F6") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\7ED7900A8FD780942B1BE93CB61493BC") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8F16D56DDE4AB9F4F9401B576652E293") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\783F175BA820F4741B92704E524F1B30") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C215F1BE20EDE404299CD9CEA4B562A8") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9DF532085A92634479EAB4CB849C42D9") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\93FBB5417518AE640833B70F7B9B2804") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C00E32C0E6175B049BF9F858D91C5D07") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D0A1F487260986345B4440AA2E138470") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\A9FFCB82209CB9043BF6AB5FA0DFE766") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\227AACC5CC21C3F45AEEFE63AACAD33A") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\045F08286AF9C6045AF4D97099BCE65F") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5415892F0F77E8940A8F875367C26BB0") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\8E83E54AEB4FDD4448B986A03BE995AA") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\128A5EAA58A7BB04A90D2046DF2700D5") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\B3219DB852F6038498B36F73EFE93F34") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\332A23DCDFCDCF1449100366B674EFBE") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1BACF52C002BC2C4C99C0BB210A9D97D") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\EB1A417217F7BBD48BD63F93D788DE36") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6113D3933D04A7A48A83BF8D8E659293") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1935221CA585C6A48BE05D7864C434A2") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3B946E9F42194E04FBF769C160E28037") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5D5470889D75F6344A9751684362ADA8") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\388EE6B99D7EBB5429FCA52F8D65DC5E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\34F470819730C7F4A9C511D35FFEA9A3") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\48245EAA1FB5A964EA7AF9B502C8A16E") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\5A06B3ACB17687443A1DDB23931F1005") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\60F662FFD22DFD44D93054451B78C420") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\820C913EB52DB924899F5E501570353C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\838FDE08436E538408983A6869F2F247") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9E60019EEC5C0374A9A3F96FDA44739D") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\A1F38BAE92E09614EA3B1B870FD33505") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\EFC513FA93ACE9D42898C811C0AA0C6C") RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\F3AE3951A3B540D49B45C32237ED2972") ;STEP 9 - Delete VirusScan Services ; 1. Navigate to and select the following registry key: RegDelete("HKEY_LOCAL_MACHINE\System\ControlSet001\Services\McShield") ; 2. Right-click the key and select New, DWORDValue. ; 3. Rename the New Value #1 value to DeleteFlag and press Enter. ; 4. Right-click DeleteFlag and select Modify ; 5. In the Value Data field type 1. RegWrite("HKEY_LOCAL_MACHINE\System\ControlSet001\Services\McShield", "DeleteFlag", "REG_DWORD", "1") ; 6. Create another new DWORD value named VSEFlag and change the Value Data to 1. RegWrite("HKEY_LOCAL_MACHINE\System\ControlSet001\Services\McShield", "VSEFlag", "REG_DWORD", "1") ; 7. Navigate to the following registry location: ; [HKEY_LOCAL_MACHINE\System\ControlSet001\Services\McTaskManager] ; 8. Create a DWORD value named DeleteFlag with a value of 1. RegWrite("HKEY_LOCAL_MACHINE\System\ControlSet001\Services\McTaskManager", "DeleteFlag", "REG_DWORD", "1") ; 9. Create a DWORD value named VSEFlag with a value of 1. RegWrite("HKEY_LOCAL_MACHINE\System\ControlSet001\Services\McShield", "VSEFlag", "REG_DWORD", "1") ;STEP 10 - Uninstall VirusScan Drivers ; 1. Select Start, Run, type cmd and press Enter. ; 2. Navigate to the VirusScan installation folder. ; Example: cd \program files\mcafee\virusscan enterprise ; 3. Type: mfehidin.exe -u mfeavfk.sys mfeapfk.sys mfebopk.sys mfehidk.sys mfetdik.sys $RemoveVSEDrivers = "C:\program files\mcafee\virusscan enterprise\mfehidin.exe -u mfeavfk.sys mfeapfk.sys mfebopk.sys mfehidk.sys mfetdik.sys" RunWait($RemoveVSEDrivers) ;STEP 11 - Unregister DLLs ; 1. Select Start, Run, type cmd and press Enter. ; Navigate to the VirusScan installation folder. ; NOTE: By default, the VirusScan install folder is: C:\Program Files\McAfee\VirusScan Enterprise. ; 2. Type each of the following commands and press Enter after each: ; 3. * regsvr32.exe /u SCRIPTCL.dll ; * regsvr32.exe /u x64\SCRIPTCL.dll (for 64-bit systems only) ; * regsvr32.exe /u VSUPDATE.dll $UnRegDLLs = "C:\Program Files\McAfee\VirusScan Enterprise regsvr32.exe /u SCRIPTCL.dll" RunWait("regsvr32.exe /u SCRIPTCL.dll", $UnRegDLLs = "C:\Program Files\McAfee\VirusScan Enterprise regsvr32.exe /u VSUPDATE.dll" ;STEP 12 - Delete Registry Keys - Part III ; 1.Click Start, Run, type regedit and click OK. ; 2.Navigate to each of the following registry keys, right-click each key, and select Delete: RegDelete("HKEY_CLASSES_ROOT\CLSID\{cda2863e-2497-4c49-9b89-06840e070a87}") RegDelete("HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\VirusScan") RegDelete("HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\VirusScan") RegDelete("HKEY_CURRENT_USER\Software\McAfee\DesktopProtection") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\McAfee\AVEngine") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\McAfee\DesktopProtection") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\McAfee\VSCore") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\McAfee\ePolicy Orchestrator\Application Plugins\VIRUSCAN8600") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\ePolicy Orchestrator\Application Plugins\VIRUSCAN8600") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{35C03C04-3F1F-42C2-A989-A757EE691F65}") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "ShStatEXE") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\ControlSet001\Services\Eventlog\Application\McLogEvent") RegDelete("HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\VirusScan") ; 3.Restart your system. MsgBox(0, "Restart", "You must restart your computer now.") PART II.......................... expandcollapse popup ;STEP 13 - Delete Files/Folders ; 1. Delete each of the following program folders: FileDelete("C:\Documents and Settings\All Users\Start Menu\Programs\McAfee") FileDelete("C:\Program Files\Common Files\Network Associates\Engine") FileDelete("C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection") FileDelete("C:\Program Files\McAfee\VirusScan Enterprise") FileDelete("C:\Program Files\Common Files\McAfee\Engine") FileDelete("C:\WINDOWS\Installer\{35C03C04-3F1F-42C2-A989-A757EE691F65}") ; 2. Delete each of the following folders if empty: ; 3. * C:\Documents and Settings\All Users\Application Data\McAfee ; * C:\Program Files\Common Files\McAfee ; * C:\Program Files\McAfee Dim $aryFolder[3] $aryFolder[0] = "C:\Documents and Settings\All Users\Application Data\McAfee\" $aryFolder[1] = "C:\Program Files\Common Files\McAfee\" $aryFolder[2] = "C:\Program Files\McAfee\" #Include <File.au3> for $i = 0 TO 2 ;Put all files into an array $FileList=_FileListToArray($aryFolder[$i],"*.xml") If @Error=1 Then DirRemove($aryFolder[$i], 0) EndIf Next ; 4. Locate and delete the appropriate MSI file(s): ; 1. Locate C:\Windows\Installer\<random name>.msi ; 2. Right-click each file, select Properties and Summary to view the application it belongs to. ; 3. If the summary states VirusScan, delete the file. ;STEP 14 - Reset Microsoft Outlook Add-in Manager (if Microsoft Outlook is installed) ;This step instructs Microsoft Outlook to rebuild the EXTEND.DAT for the next user to open Outlook, removing references to the VirusScan Email Scan add-in. ; 1. Click Start, Run, type regedit and click OK. ; 2. Navigate to and select the following registry location: ; [HKEY_LOCAL_MACHINE\SOFTWARE\Software\Microsoft\Exchange\Client\Extensions\Outlook Setup Extension] ; 3. Right-click the Extensions key and select New, String Value. ; 4. Rename the new value to Outlook Setup Extension and press Enter. ; 5. Right-click Outlook Setup Extension and select Modify ; 6. In the Value Data field type: ; 4.0;Outxxx.dll;7;00000000000000;0000000;OutXXX Thanks! Do not today what you can get someone else to do tomorrow.
d4rk Posted March 31, 2008 Posted March 31, 2008 Is it possible to check if a reg key or value exists before deleting it?global $read if $read=RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run","sysre")=1 Then msgbox(64,"","unable to open requested key") endif [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Ealric Posted March 31, 2008 Posted March 31, 2008 RegRead ( "keyname", "valuename" ) The return values for 1 and 2 will depend on what you are looking for. You can apply an argument against these type of return values. Check the helpfile. My Projects: [topic="89413"]GoogleHack Search[/topic], [topic="67095"]Swiss File Knife GUI[/topic], [topic="69072"]Mouse Location Pointer[/topic], [topic="86040"]Standard Deviation Calculator[/topic]
d4rk Posted March 31, 2008 Posted March 31, 2008 full return values1 if unable to open requested key 2 if unable to open requested main key 3 if unable to remote connect to the registry -1 if unable to open requested value -2 if value type not supported [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
PsaltyDS Posted March 31, 2008 Posted March 31, 2008 global $read if $read=RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run","sysre")=1 Then msgbox(64,"","unable to open requested key") endif I don't trust that syntax at all. Better to check the status of @error after the RegRead(): ; Succeeds: Global $read = RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion", "ProductId") If @error = 0 Then MsgBox(64, "", "Success : $read = " & $read & " @error = " & @error) Else MsgBox(64, "", "Failed : $read = " & $read & " @error = " & @error) EndIf ; Fails Global $read = RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion", "NoSuchKeyExists") If @error = 0 Then MsgBox(64, "", "Success : $read = " & $read & " @error = " & @error) Else MsgBox(64, "", "Failed : $read = " & $read & " @error = " & @error) EndIf Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
MOCEwez Posted April 1, 2008 Author Posted April 1, 2008 Thanks for the tips. java script:add_smilie("","smid_13") smile.gif Does AutoIt allow some kind of function? If not I'll have lot of copy'n'pasting to do. something like.....(VB) Function CheckDelete (String $RegKey, Option String $RegVal) Global $read = RegRead($RegKey, $RegVal) If @error = 0 Then RegDelete($RegKey, $Regval) Else FileWrite("C:\McAfeeRemoval.log", "Error deleting $RegKey & "\" & $RegVal & @CRLF) EndIf End Function Do not today what you can get someone else to do tomorrow.
MOCEwez Posted April 1, 2008 Author Posted April 1, 2008 btw, I have doubts about some of my commands in there like: ;STEP 11 - Unregister DLLs ; 1. Select Start, Run, type cmd and press Enter. ; Navigate to the VirusScan installation folder. ; NOTE: By default, the VirusScan install folder is: C:\Program Files\McAfee\VirusScan Enterprise. ; 2. Type each of the following commands and press Enter after each: ; 3. * regsvr32.exe /u SCRIPTCL.dll ; * regsvr32.exe /u x64\SCRIPTCL.dll (for 64-bit systems only) ; * regsvr32.exe /u VSUPDATE.dll $UnRegDLLs = "C:\Program Files\McAfee\VirusScan Enterprise regsvr32.exe /u SCRIPTCL.dll" RunWait("regsvr32.exe /u SCRIPTCL.dll", $UnRegDLLs = "C:\Program Files\McAfee\VirusScan Enterprise regsvr32.exe /u VSUPDATE.dll" should I just use C:\Program Files\McAfee\VirusScan Enterprise as the WorkingDir? And is this one alright? $StopMcShield = "NET STOP McShield" RunWait(@ComSpec & " /c " & $StopMcShield) Thanks for your time guys! Do not today what you can get someone else to do tomorrow.
covaks Posted April 1, 2008 Posted April 1, 2008 Yes, AutoIT has user created functions. Look up "Func" in the helpfile, if that's what you mean. Or just browse around the board a bit. eg: MyFunc("argument") Func MyFunc($str) msgbox(0,"",$str) EndFuncoÝ÷ Ú«¨µí7éIÑzË.
MOCEwez Posted April 1, 2008 Author Posted April 1, 2008 cheers! Great tool! Should that second bit be: $UnRegDLLs = "C:\Program Files\McAfee\VirusScan Enterprise regsvr32.exe /u SCRIPTCL.dll" RunWait(@ComSpec & " /c regsrv32.exe /u /s" & $UnRegDlls ,"",@SW_HIDE) or $UnRegDLLs = "C:\Program Files\McAfee\VirusScan Enterprise" RunWait(@ComSpec & " /c regsrv32.exe /u /s scriptcl.dll ,$UnRegDlls,@SW_HIDE) ? Do not today what you can get someone else to do tomorrow.
MOCEwez Posted April 1, 2008 Author Posted April 1, 2008 sorry messed that one up.... $UnRegDLLs = "C:\Program Files\McAfee\VirusScan Enterprise\SCRIPTCL.dll" RunWait(@ComSpec & " /c regsrv32.exe /u /s" & $UnRegDlls ,"",@SW_HIDE) or $UnRegDLLs = "C:\Program Files\McAfee\VirusScan Enterprise\" RunWait(@ComSpec & " /c regsrv32.exe /u /s scriptcl.dll" ,$UnRegDlls,@SW_HIDE) Do not today what you can get someone else to do tomorrow.
covaks Posted April 1, 2008 Posted April 1, 2008 The second one would be correct, if you wanted to set the working dir. $UnRegDLLs = "C:\Program Files\McAfee\VirusScan Enterprise\" RunWait(@ComSpec & " /c regsrv32.exe /u /s scriptcl.dll" ,$UnRegDlls,@SW_HIDE)
MOCEwez Posted April 1, 2008 Author Posted April 1, 2008 Thanks.I have some doubts about how I tackled step 8.It should be searching for any instance of 40C30C53F1F32C249A987A75EE96F156 and delete the whole key if no other values are present.I couldn't find a registry search function and I don't know how I could make one.The closest thing i could find was andyswarbs postabout registry manipulation, Search & Replace, just don't understand it. java script:add_smilie("","smid_2")huh.giflife is hard when you're a noob....... Do not today what you can get someone else to do tomorrow.
PsaltyDS Posted April 1, 2008 Posted April 1, 2008 I couldn't find a registry search function and I don't know how I could make one.The function _RegSearch() was posted back in 2006 by a rakishly good looking flightless antarctic waterfowl. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
MOCEwez Posted April 9, 2008 Author Posted April 9, 2008 (edited) Unfortunately I don't have the time to work on this any more. Can I just leave this post open or should I close it? Edited April 9, 2008 by MOCEwez Do not today what you can get someone else to do tomorrow.
schilbiz Posted April 10, 2008 Posted April 10, 2008 The function _RegSearch() was posted back in 2006 by a rakishly good looking flightless antarctic waterfowl. lol, Hmmm.. you must be talking about the Imperial Cormorant??http://www.autoitscript.com/forum/index.ph...mp;hl=cormorant
TunaSalad Posted April 24, 2008 Posted April 24, 2008 Why to do this the hard way when McAfee has a tool that does it for you -MCPR.EXE- ? http://service.mcafee.com/FAQdocument.aspx...083&lc=1033I know you are learning scripting and AutoIT, but dealing with 200+ reg keys manually does not seem to be the most efficient way to learn. Why crabs don't give money to charity..... because they are shell-fish!! PS: Don't be a crab and share your scripts with the community! ;-)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now