Home
%3CLINGO-SUB%20id%3D%22lingo-sub-724196%22%20slang%3D%22en-US%22%3EThe%20Case%20of%20My%20Mom%E2%80%99s%20Broken%20Microsoft%20Security%20Essentials%20Installation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-724196%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20TechNet%20on%20Jan%2003%2C%202012%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3EAs%20a%20reader%20of%20this%20blog%20I%20suspect%20that%20you%2C%20like%20me%2C%20are%20the%20IT%20support%20staff%20for%20your%20family%20and%20friends.%20And%20I%20bet%20many%20of%20you%20performed%20system%20maintenance%20duties%20when%20you%20visited%20your%20family%20and%20friends%20during%20the%20recent%20holidays.%20Every%20time%20I%E2%80%99m%20visiting%20my%20mom%2C%20I%20typically%20spend%20a%20few%20minutes%20running%20Sysinternals%20Process%20Explorer%20and%20Autoruns%2C%20as%20well%20as%20the%20Control%20Panel%E2%80%99s%20Program%20Uninstall%20page%2C%20to%20clean%20the%20junk%20that%E2%80%99s%20somehow%20managed%20to%20accumulate%20since%20my%20last%20visit.%3C%2FP%3E%0A%20%20%3CP%3EThis%20holiday%2C%20though%2C%20I%20was%20faced%20with%20more%20than%20a%20regular%20checkup.%20My%20mom%20recently%20purchased%20a%20new%20PC%2C%20so%20as%20a%20result%2C%20I%20spent%20a%20frustrating%20hour%20removing%20the%20piles%20of%20crapware%20the%20OEM%20had%20loaded%20onto%20it%20(now%20I%20would%20recommend%20getting%20a%20%3CA%20href%3D%22http%3A%2F%2Fsignature.microsoft.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Microsoft%20Signature%20PC%20%3C%2FA%3E%20%2C%20which%20are%20crapware-free).%20I%20say%20frustrating%20because%20of%20the%20time%20it%20took%20and%20because%20even%20otherwise%20simple%20applications%20were%20implemented%20as%20monstrosities%20with%20complex%20and%20lengthy%20uninstall%20procedures.%20Even%20the%20OEM%E2%80%99s%20warranty%20and%20help%20files%20were%20full-blown%20installations.%20Making%20matters%20worse%2C%20several%20of%20the%20craplets%20failed%20to%20uninstall%20successfully%2C%20either%20throwing%20error%20messages%20or%20leaving%20behind%20stray%20fragments%20that%20forced%20me%20to%20hunt%20them%20down%20and%20execute%20precision%20strikes.%3C%2FP%3E%0A%20%20%3CP%3EAs%20my%20cleaning%20was%20drawing%20to%20a%20close%2C%20I%20noticed%20that%20the%20antimalware%20the%20OEM%20had%20put%20on%20the%20PC%20had%20a%201-year%20license%2C%20after%20which%20she%E2%80%99d%20have%20to%20pay%20to%20continue%20service.%20With%20excellent%20free%20antimalware%20solutions%20on%20the%20market%2C%20there%E2%80%99s%20no%20reason%20for%20any%20consumer%20to%20pay%20for%20antimalware%2C%20so%20I%20promptly%20uninstalled%20it%20(which%20of%20course%20was%20a%20multistep%20process%20that%20took%20over%2020%20minutes%20and%20yielded%20several%20errors).%20I%20then%20headed%20to%20the%20Internet%20to%20download%20what%20I%20%E2%80%93%20not%20surprisingly%20given%20my%20affiliation%20-%20consider%20the%20best%20free%20antimalware%20solution%2C%20%3CA%20href%3D%22http%3A%2F%2Fwindows.microsoft.com%2Fen-US%2Fwindows%2Fproducts%2Fsecurity-essentials%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Microsoft%20Security%20Essentials%20(MSE)%20%3C%2FA%3E%20.%20A%20couple%20of%20minutes%20later%20the%20setup%20program%20was%20downloaded%20and%20the%20installation%20wizard%20launched.%20After%20clicking%20through%20the%20first%20few%20pages%20it%20reported%20it%20was%20going%20to%20install%20MSE%2C%20but%20then%20immediately%20complained%20that%20an%20%E2%80%9Cerror%20has%20prevented%20the%20Security%20Essentials%20setup%20wizard%20from%20completing%20successfully.%E2%80%9D%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22SNAGHTMLfe55b5c%22%20border%3D%220%22%20height%3D%22283%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F1220.SNAGHTMLfe55b5c_5F00_thumb.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121389iAB5914C07F0C1E85%22%20style%3D%22border-right-width%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%22%20title%3D%22SNAGHTMLfe55b5c%22%20width%3D%22454%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EThe%20suggestion%20to%20%E2%80%9Crestart%20your%20computer%20and%20try%20again%E2%80%9D%20is%20intended%20to%20deal%20with%20failures%20caused%20by%20interference%20from%20an%20unfinished%20uninstall%20of%20existing%20antimalware%20(or%20a%20hope%20that%20whatever%20unexpected%20error%20condition%20caused%20the%20problem%20is%20transient).%20I%E2%80%99d%20just%20rebooted%2C%20so%20it%20didn%E2%80%99t%20apply.%20Clicking%20the%20%E2%80%9C%20%3CA%20href%3D%22http%3A%2F%2Fwindows.microsoft.com%2Fen-US%2Fwindows%2Fi-cant-install-microsoft-security-essentials%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Get%20help%20on%20this%20issue%20%3C%2FA%3E%20%E2%80%9D%20link%20provided%20some%20generic%20troubleshooting%20steps%2C%20like%20uninstalling%20other%20antimalware%2C%20ensuring%20that%20the%20Windows%20Installer%20service%20is%20configured%20and%20running%20(though%20by%20default%20it%20isn%E2%80%99t%20running%20on%20Windows%207%20since%20it%E2%80%99s%20demand-start)%2C%20and%20if%20all%20else%20fails%2C%20contacting%20customer%20support.%3C%2FP%3E%0A%20%20%3CP%3EI%20suspected%20that%20whatever%20I%E2%80%99d%20run%20into%20was%20rare%20enough%20that%20customer%20support%20wouldn%E2%80%99t%20be%20able%20to%20help%20(and%20what%20would%20they%20say%20if%20they%20knew%20Mark%20Russinovich%20was%20calling%20for%20tech%20support%3F)%2C%20especially%20when%20I%20found%20no%20help%20on%20the%20web%20for%20error%20code%200x80070643.%20My%20brother%20in%20law%2C%20who%20is%20also%20a%20programmer%20and%20tech%20support%20for%20his%20neighborhood%20was%20watching%20over%20my%20shoulder%20to%20pick%20up%20some%20tips%2C%20so%20the%20pressure%20was%20on%20to%20fix%20the%20problem.%20Out%20came%20my%20favorite%20troubleshooting%20tool%2C%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fsysinternals%2Fbb896645%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Sysinternals%20Process%20Monitor%20%3C%2FA%3E%20(remember%2C%20%E2%80%9Cwhen%20in%20doubt%2C%20run%20Process%20Monitor%E2%80%9D).%3C%2FP%3E%0A%20%20%3CP%3EI%20reran%20the%20MSE%20setup%20while%20capturing%20a%20trace%20with%20Process%20Monitor.%20Then%20I%20opened%20Process%20Monitor%E2%80%99s%20process%20tree%20view%20to%20find%20what%20processes%20were%20involved%20in%20the%20attempted%20install%20and%20identified%20Msiexec.exe%20(Windows%20Installer)%20and%20a%20few%20launcher%20processes.%20I%20also%20saw%20that%20Setup.exe%20launched%20Wermgr.exe%2C%20the%20Windows%20Error%20Reporting%20Manager%2C%20presumably%20to%20upload%20an%20error%20report%20to%20Microsoft%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22315%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F2112.image_5F00_thumb_5F00_14.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121390i1691D6D6C91F2F3D%22%20style%3D%22border-right-width%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%22%20title%3D%22image%22%20width%3D%22224%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EI%20turned%20my%20attention%20back%20to%20the%20trace%20output%20and%20configured%20a%20filter%20that%20excluded%20everything%20but%20these%20processes%20of%20interest.%20Then%20I%20began%20the%20arduous%20job%20of%20working%20my%20way%20through%20tens%20of%20thousands%20of%20operations%2C%20hoping%20to%20find%20the%20needle%20in%20the%20haystack%20that%20revealed%20why%20the%20setup%20choked%20with%20error%200x80070643.%3C%2FP%3E%0A%20%20%3CP%3EAs%20I%20scanned%20quickly%20to%20get%20an%20overall%20view%2C%20I%20noticed%20some%20writes%20to%20log%20files%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22127%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F1638.image_5F00_thumb_5F00_1D0C5AFD.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121391iEA5511F75D016459%22%20style%3D%22background-image%3A%20none%3B%20border-bottom%3A%200px%3B%20border-left%3A%200px%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top%3A%200px%3B%20border-right%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22554%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EHowever%2C%20the%20messages%20in%20them%20revealed%20nothing%20more%20than%20the%20cryptic%20error%20message%20shown%20in%20the%20dialog.%3C%2FP%3E%0A%20%20%3CP%3EAfter%20a%20few%20minutes%20I%20decided%20I%20should%20work%20my%20way%20back%20from%20where%20in%20the%20trace%20operations%20the%20error%20occurred%2C%20so%20returned%20to%20the%20tree%2C%20selected%20Wermgr.exe%2C%20and%20clicked%20%E2%80%9CGo%20to%20event%E2%80%9D%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%2299%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F7827.image_5F00_thumb_5F00_0ECDE20D.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121392iB9FD8A9282989503%22%20style%3D%22background-image%3A%20none%3B%20border-bottom%3A%200px%3B%20border-left%3A%200px%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top%3A%200px%3B%20border-right%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22554%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EThis%20would%20ideally%20be%20just%20after%20the%20setup%20encountered%20the%20fatal%20condition.%20Then%20I%20paged%20up%20in%20the%20trace%2C%20looking%20for%20clues.%20After%20several%20more%20minutes%20I%20noticed%20a%20pattern%20that%20accounted%20for%20almost%20all%20the%20operations%20up%20that%20point%3A%20Setup.exe%20was%20enumerating%20all%20the%20system%E2%80%99s%20installed%20applications.%20I%20determined%20that%20by%20observing%20it%20queried%20multiple%20installer-related%20registry%20locations%2C%20and%20I%20could%20see%20the%20names%20of%20the%20applications%20it%20found%20in%20the%20Details%20column%20for%20some%20of%20them.%20Here%2C%20for%20example%2C%20is%20one%20of%20the%20OEM%E2%80%99s%20programs%2C%20another%20help%20file-as-an-application%2C%20that%20I%20hadn%E2%80%99t%20bothered%20to%20uninstall%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22119%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F1122.image_5F00_thumb_5F00_19.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121393i4E569CA18B4ED25C%22%20style%3D%22border-right-width%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%22%20title%3D%22image%22%20width%3D%22554%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EI%20could%20now%20move%20quickly%20through%20the%20trace%20by%20scanning%20for%20application%20names.%20A%20minute%20later%20I%20stopped%20short%2C%20spotting%20something%20I%20shouldn%E2%80%99t%20have%20seen%3A%20%E2%80%9CMicrosoft%20Security%20Essentials%E2%80%9D%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%2254%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F3386.image_5F00_thumb_5F00_21.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121394i871EAD32D42EB767%22%20style%3D%22border-right-width%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%22%20title%3D%22image%22%20width%3D%22554%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EI%20knew%20I%20hadn%E2%80%99t%20seen%20it%20listed%20in%20the%20installed%20programs%20list%20in%20the%20Control%20Panel%20in%20my%20earlier%20uninstall-fest%2C%20which%20I%20confirmed%20by%20rechecking.%3C%2FP%3E%0A%20%20%3CP%3EWhy%20were%20there%20traces%20of%20MSE%20when%20it%20hadn%E2%80%99t%20been%20installed%2C%20and%20in%20fact%20wouldn%E2%80%99t%20install%3F%20I%20don%E2%80%99t%20know%20for%20sure%2C%20but%20after%20pondering%20this%20for%20a%20few%20minutes%20I%20came%20to%20the%20conclusion%20that%20the%20software%20my%20mother%20had%20used%20to%20transfer%20files%20and%20settings%20from%20her%20old%20system%20had%20copied%20parts%20of%20the%20MSE%20installation%20she%20had%20on%20the%20old%20PC.%20She%20likely%20had%20used%20whatever%20utility%20the%20OEM%20put%20on%20PC%2C%20but%20I%20would%20recommend%20using%20%3CA%20href%3D%22http%3A%2F%2Fwindows.microsoft.com%2Fen-US%2Fwindows7%2Fproducts%2Ffeatures%2Fwindows-easy-transfer%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Windows%20Easy%20Transfer%20%3C%2FA%3E%20.%20But%20the%20reason%20didn%E2%80%99t%20really%20matter%20at%20this%20point%2C%20just%20getting%20MSE%20to%20install%20successfully%2C%20and%20I%20believed%20I%20had%20found%20the%20problem.%20I%20deleted%20the%20keys%2C%20reran%20the%20setup%2C%20and%E2%80%A6.hit%20the%20same%20error.%3C%2FP%3E%0A%20%20%3CP%3ENot%20ready%20to%20give%20up%2C%20I%20captured%20another%20trace.%20Suspecting%20that%20setup%20was%20tripping%20on%20other%20fragments%20of%20the%20phantom%20installation%2C%20I%20searched%20for%20%E2%80%9Csecurity%20essentials%E2%80%9D%20in%20the%20new%20trace%20and%20found%20another%20reference%20before%20the%20setup%20bailed.%20To%20avoid%20performing%20this%20step%20multiple%20more%20times%2C%20I%20went%20to%20the%20registry%20and%20performed%20the%20same%20search%2C%20deleting%20about%20two%20dozen%20other%20keys%20that%20had%20%E2%80%9Csecurity%20essentials%E2%80%9D%20somewhere%20in%20them.%3C%2FP%3E%0A%20%20%3CP%3EI%20held%20my%20breath%20and%20ran%20the%20installer%20again%2C%20but%20no%20go%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22282%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F8407.image_5F00_thumb_5F00_16.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121395i66DAED7BAC7F3EF6%22%20style%3D%22border-right-width%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%22%20title%3D%22image%22%20width%3D%22454%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EThe%20error%20code%20was%20different%20so%20I%20had%20apparently%20made%20some%20progress%2C%20but%20a%20web%20search%20still%20didn%E2%80%99t%20yield%20any%20clues.%20I%20captured%20yet%20another%20trace%20and%20began%20pouring%20through%20the%20operations.%20The%20install%20made%20it%20way%20past%20the%20installed%20application%20enumeration%2C%20generating%20tens%20of%20thousands%20of%20more%20operations.%20I%20scanned%20back%20from%20where%20Wermgr.exe%20launched%2C%20but%20was%20quickly%20overwhelmed.%20I%20just%20couldn%E2%80%99t%20spot%20what%20had%20made%20it%20unhappy%2C%20and%20that%20was%20assuming%20that%20whatever%20it%20was%20would%20be%20visible%20in%20the%20trace.%20My%20brother-in-law%20was%20growing%20skeptical%2C%20but%20I%20told%20him%20I%20wasn%E2%80%99t%20done.%20I%20was%20motivated%20by%20the%20challenge%20as%20much%20as%20the%20fact%20that%20I%20couldn%E2%80%99t%20let%20him%20tell%20his%20work%20buddies%20that%20he%E2%80%99d%20watched%20me%20fail.%3C%2FP%3E%0A%20%20%3CP%3EI%20decided%20I%20needed%20the%20guidance%20of%20a%20successful%20installation%E2%80%99s%20trace%20so%20that%20I%20could%20find%20where%20things%20went%20astray.%20When%20it%E2%80%99s%20an%20option%2C%20like%20it%20was%20here%2C%20side-by-side%20trace%20comparison%20is%20a%20powerful%20troubleshooting%20technique.%20I%20switched%20to%20my%20laptop%2C%20launched%20a%20Windows%207%20virtual%20machine%2C%20and%20generated%20a%20trace%20of%20MSE%E2%80%99s%20successful%20installation%20on%20a%20clean%20system.%20I%20then%20copied%20the%20log%20from%20my%20mom%E2%80%99s%20computer%20and%20opened%20both%20traces%20in%20separate%20windows%2C%20one%20on%20the%20top%20of%20the%20screen%20and%20one%20on%20the%20bottom.%3C%2FP%3E%0A%20%20%3CP%3EScrolling%20through%20the%20traces%20in%20tandem%2C%20I%20was%20able%20to%20synchronize%20them%20simply%20by%20looking%20at%20the%20shapes%20that%20the%20operation%20paths%20make%20in%20the%20window%20and%20occasionally%20ensuring%20that%20they%20were%20indeed%20in%20sync%20by%20looking%20closely%20at%20a%20few%20operations.%20Though%20it%20was%20laborious%2C%20I%20progressed%20through%20the%20trace%2C%20at%20times%20losing%20sync%20but%20then%20gaining%20it%20back.%20One%20trace%20being%20from%20a%20clean%20system%20and%20the%20other%20with%20lots%20of%20software%20installed%20caused%20relatively%20minor%20differences%20I%20could%20discount.%3C%2FP%3E%0A%20%20%3CP%3EFinally%20after%20about%2010%20minutes%2C%20I%20found%20an%20operation%20that%20differed%20in%20what%20seemed%20to%20be%20a%20significant%20way%3A%20an%20open%20of%20the%20registry%20key%20HKCR%5CInstaller%5CUpgradeCodes%5C11BB99F8B7FD53D4398442FBBAEF050F%20returned%20SUCCESS%20in%20the%20failing%20trace%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%2264%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F7506.image_5F00_thumb_5F00_11.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121396iE553484C5AF3B99B%22%20style%3D%22border-right-width%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%22%20title%3D%22image%22%20width%3D%22554%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3Ebut%20NAME%20NOT%20FOUND%20in%20the%20working%20one%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%2270%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F5342.image_5F00_thumb_5F00_10.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121397i403EDE8B70EB3D53%22%20style%3D%22border-right-width%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%22%20title%3D%22image%22%20width%3D%22554%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EAnother%20bit%20of%20the%20broken%20installation%20it%20seemed%2C%20but%20without%20any%20reference%20to%20MSE%2C%20so%20one%20that%20hadn%E2%80%99t%20shown%20up%20in%20my%20registry%20search.%20I%20deleted%20the%20key%2C%20and%20with%20some%20forced%20confidence%20told%20my%20brother-in-law%20that%20I%20had%20solved%20the%20problem.%20Then%20I%20crossed%20my%20fingers%20and%20launched%20the%20setup%20again%2C%20praying%20that%20it%20would%20work%20and%20I%20could%20get%20back%20to%20the%20holiday%20festivities%20that%20were%20in%20full%20swing%20downstairs.%3C%2FP%3E%0A%20%20%3CP%3EBingo%2C%20the%20setup%20chugged%20along%20for%20a%20few%20seconds%20and%20finished%20by%20congratulating%20me%20on%20my%20successful%20install%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22SNAGHTMLfe4b7cd%22%20border%3D%220%22%20height%3D%22282%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-52-36-metablogapi%2F4265.SNAGHTMLfe4b7cd_5F00_thumb.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121398iACEBC7C8D7F49255%22%20style%3D%22border-right-width%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%22%20title%3D%22SNAGHTMLfe4b7cd%22%20width%3D%22454%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EAnother%20seemingly%20unsolvable%20problem%20conquered%20with%20Sysinternals%2C%20application%20of%20a%20few%20useful%20troubleshooting%20techniques%2C%20and%20some%20perseverance.%20My%20brother-in-law%20was%20suitably%20impressed%20and%20had%20a%20good%20story%20for%20when%20he%20returned%20to%20the%20office%20after%20the%20break%2C%20and%20my%20mother%20had%20a%20faster%20PC%20with%20free%20antimalware%20service.%3C%2FP%3E%0A%20%20%3CP%3EI%20followed%20up%20with%20the%20MSE%20team%20and%20they%20are%20working%20on%20improving%20the%20error%20codes%20and%20making%20the%20setup%20program%20more%20robust%20against%20these%20kinds%20of%20issues.%20They%20also%20pointed%20me%20at%20some%20additional%20resources%20in%20case%20you%20happen%20to%20run%20into%20the%20same%20kind%20of%20problem.%20First%2C%20there%E2%80%99s%20a%20Microsoft%20support%20tool%2C%20%3CA%20href%3D%22http%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fen%2Fdetails.aspx%3Fid%3D13088%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20MscSupportTool.exe%20%3C%2FA%3E%20%2C%20that%20extracts%20the%20MSE%20installation%20log%20files%2C%20which%20might%20give%20some%20additional%20information.%20There%E2%80%99s%20also%20a%20%3CA%20href%3D%22http%3A%2F%2Fanswers.microsoft.com%2Fen-us%2Fprotect%2Fforum%2Fprotect_start%2Funinstalling-mse%2Fa63b8c4b-58ed-437e-8086-fa08d80725a4%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Microsoft%20%E2%80%98fix-it%20tool%E2%80%99%20%3C%2FA%3E%20that%20addresses%20some%20installation%20corruption%20problems.%3C%2FP%3E%0A%20%20%3CP%3EI%20hope%20that%20your%20holiday%20troubleshooting%20met%20with%20similar%20success%20and%20wish%20that%20your%202012%20is%20free%20of%20computer%20problems!%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-724196%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TechNet%20on%20Jan%2003%2C%202012%20As%20a%20reader%20of%20this%20blog%20I%20suspect%20that%20you%2C%20like%20me%2C%20are%20the%20IT%20support%20staff%20for%20your%20family%20and%20friends.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-724196%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMark%20Russinovich%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on TechNet on Jan 03, 2012

As a reader of this blog I suspect that you, like me, are the IT support staff for your family and friends. And I bet many of you performed system maintenance duties when you visited your family and friends during the recent holidays. Every time I’m visiting my mom, I typically spend a few minutes running Sysinternals Process Explorer and Autoruns, as well as the Control Panel’s Program Uninstall page, to clean the junk that’s somehow managed to accumulate since my last visit.

This holiday, though, I was faced with more than a regular checkup. My mom recently purchased a new PC, so as a result, I spent a frustrating hour removing the piles of crapware the OEM had loaded onto it (now I would recommend getting a Microsoft Signature PC , which are crapware-free). I say frustrating because of the time it took and because even otherwise simple applications were implemented as monstrosities with complex and lengthy uninstall procedures. Even the OEM’s warranty and help files were full-blown installations. Making matters worse, several of the craplets failed to uninstall successfully, either throwing error messages or leaving behind stray fragments that forced me to hunt them down and execute precision strikes.

As my cleaning was drawing to a close, I noticed that the antimalware the OEM had put on the PC had a 1-year license, after which she’d have to pay to continue service. With excellent free antimalware solutions on the market, there’s no reason for any consumer to pay for antimalware, so I promptly uninstalled it (which of course was a multistep process that took over 20 minutes and yielded several errors). I then headed to the Internet to download what I – not surprisingly given my affiliation - consider the best free antimalware solution, Microsoft Security Essentials (MSE) . A couple of minutes later the setup program was downloaded and the installation wizard launched. After clicking through the first few pages it reported it was going to install MSE, but then immediately complained that an “error has prevented the Security Essentials setup wizard from completing successfully.”:

SNAGHTMLfe55b5c

The suggestion to “restart your computer and try again” is intended to deal with failures caused by interference from an unfinished uninstall of existing antimalware (or a hope that whatever unexpected error condition caused the problem is transient). I’d just rebooted, so it didn’t apply. Clicking the “ Get help on this issue ” link provided some generic troubleshooting steps, like uninstalling other antimalware, ensuring that the Windows Installer service is configured and running (though by default it isn’t running on Windows 7 since it’s demand-start), and if all else fails, contacting customer support.

I suspected that whatever I’d run into was rare enough that customer support wouldn’t be able to help (and what would they say if they knew Mark Russinovich was calling for tech support?), especially when I found no help on the web for error code 0x80070643. My brother in law, who is also a programmer and tech support for his neighborhood was watching over my shoulder to pick up some tips, so the pressure was on to fix the problem. Out came my favorite troubleshooting tool, Sysinternals Process Monitor (remember, “when in doubt, run Process Monitor”).

I reran the MSE setup while capturing a trace with Process Monitor. Then I opened Process Monitor’s process tree view to find what processes were involved in the attempted install and identified Msiexec.exe (Windows Installer) and a few launcher processes. I also saw that Setup.exe launched Wermgr.exe, the Windows Error Reporting Manager, presumably to upload an error report to Microsoft:

image

I turned my attention back to the trace output and configured a filter that excluded everything but these processes of interest. Then I began the arduous job of working my way through tens of thousands of operations, hoping to find the needle in the haystack that revealed why the setup choked with error 0x80070643.

As I scanned quickly to get an overall view, I noticed some writes to log files:

image

However, the messages in them revealed nothing more than the cryptic error message shown in the dialog.

After a few minutes I decided I should work my way back from where in the trace operations the error occurred, so returned to the tree, selected Wermgr.exe, and clicked “Go to event”:

image

This would ideally be just after the setup encountered the fatal condition. Then I paged up in the trace, looking for clues. After several more minutes I noticed a pattern that accounted for almost all the operations up that point: Setup.exe was enumerating all the system’s installed applications. I determined that by observing it queried multiple installer-related registry locations, and I could see the names of the applications it found in the Details column for some of them. Here, for example, is one of the OEM’s programs, another help file-as-an-application, that I hadn’t bothered to uninstall:

image

I could now move quickly through the trace by scanning for application names. A minute later I stopped short, spotting something I shouldn’t have seen: “Microsoft Security Essentials”:

image

I knew I hadn’t seen it listed in the installed programs list in the Control Panel in my earlier uninstall-fest, which I confirmed by rechecking.

Why were there traces of MSE when it hadn’t been installed, and in fact wouldn’t install? I don’t know for sure, but after pondering this for a few minutes I came to the conclusion that the software my mother had used to transfer files and settings from her old system had copied parts of the MSE installation she had on the old PC. She likely had used whatever utility the OEM put on PC, but I would recommend using Windows Easy Transfer . But the reason didn’t really matter at this point, just getting MSE to install successfully, and I believed I had found the problem. I deleted the keys, reran the setup, and….hit the same error.

Not ready to give up, I captured another trace. Suspecting that setup was tripping on other fragments of the phantom installation, I searched for “security essentials” in the new trace and found another reference before the setup bailed. To avoid performing this step multiple more times, I went to the registry and performed the same search, deleting about two dozen other keys that had “security essentials” somewhere in them.

I held my breath and ran the installer again, but no go:

image

The error code was different so I had apparently made some progress, but a web search still didn’t yield any clues. I captured yet another trace and began pouring through the operations. The install made it way past the installed application enumeration, generating tens of thousands of more operations. I scanned back from where Wermgr.exe launched, but was quickly overwhelmed. I just couldn’t spot what had made it unhappy, and that was assuming that whatever it was would be visible in the trace. My brother-in-law was growing skeptical, but I told him I wasn’t done. I was motivated by the challenge as much as the fact that I couldn’t let him tell his work buddies that he’d watched me fail.

I decided I needed the guidance of a successful installation’s trace so that I could find where things went astray. When it’s an option, like it was here, side-by-side trace comparison is a powerful troubleshooting technique. I switched to my laptop, launched a Windows 7 virtual machine, and generated a trace of MSE’s successful installation on a clean system. I then copied the log from my mom’s computer and opened both traces in separate windows, one on the top of the screen and one on the bottom.

Scrolling through the traces in tandem, I was able to synchronize them simply by looking at the shapes that the operation paths make in the window and occasionally ensuring that they were indeed in sync by looking closely at a few operations. Though it was laborious, I progressed through the trace, at times losing sync but then gaining it back. One trace being from a clean system and the other with lots of software installed caused relatively minor differences I could discount.

Finally after about 10 minutes, I found an operation that differed in what seemed to be a significant way: an open of the registry key HKCR\Installer\UpgradeCodes\11BB99F8B7FD53D4398442FBBAEF050F returned SUCCESS in the failing trace:

image

but NAME NOT FOUND in the working one:

image

Another bit of the broken installation it seemed, but without any reference to MSE, so one that hadn’t shown up in my registry search. I deleted the key, and with some forced confidence told my brother-in-law that I had solved the problem. Then I crossed my fingers and launched the setup again, praying that it would work and I could get back to the holiday festivities that were in full swing downstairs.

Bingo, the setup chugged along for a few seconds and finished by congratulating me on my successful install:

SNAGHTMLfe4b7cd

Another seemingly unsolvable problem conquered with Sysinternals, application of a few useful troubleshooting techniques, and some perseverance. My brother-in-law was suitably impressed and had a good story for when he returned to the office after the break, and my mother had a faster PC with free antimalware service.

I followed up with the MSE team and they are working on improving the error codes and making the setup program more robust against these kinds of issues. They also pointed me at some additional resources in case you happen to run into the same kind of problem. First, there’s a Microsoft support tool, MscSupportTool.exe , that extracts the MSE installation log files, which might give some additional information. There’s also a Microsoft ‘fix-it tool’ that addresses some installation corruption problems.

I hope that your holiday troubleshooting met with similar success and wish that your 2012 is free of computer problems!