Ask a questionAsk a question
 

Proposed AnswerCode 646

  • Monday, March 09, 2009 9:39 PMA. Day Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello, I am running Vista Home Premium OS on my Aspire laptop.  I continue to receive the Code 646 when I try to  perform my Windows Update. The specific download that fails is  Update for Windows Live  Sign-In Assistant (KB 967912) I have tried in vain many different suggestions on the net.  I tried turning off my firewall, anti-virus etc. I made sure I was not booting up in safe mode as well. I even tried System Restore to no avail. Do you have any suggestions?

    My AV is currently Computer Associates and I am running the Windows Firewall and Defender.
    Click to be alerted when this question is answered. The more clicks, the faster the question is answered.16 people need an answerI do too

All Replies

  • Wednesday, March 11, 2009 2:53 AMMarilyn - Support EngineerModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello A. Day,

    Thank you for posting to the Microsoft Answers Community Forum.

    The error, Code 646 means "The driver was not loaded because the system is booting in Safe mode".  If you are in Safe Mode, then return to normal mode and manually download the Windows update on your local machine.

    Some other suggestions:
    • The solution is to disable your firewall. If you’re using McAfee Personal Firewall Plus, F-Secure Internet Security, Norton Internet Security or another Firewall vendor, see its respective support page for assistance in disabling it (temporarily). If you’re using the built-in Vista Firewall, keep reading.
    • Open the Control Panel and select Security.
    • Select Turn Windows Firewall on or off.
    • Select Off (not recommended), click Apply and then OK.
    • Back at the Windows Update screen, click the Try again button.
    • The download(s) and installation should start…
    • and this time successfully install. If a restart is required, make sure to re-enable your Firewall once your PC restarts.

    Then check again to see if you can install. If not, then list the exact error message so we have a place to start troubleshooting.

    Please reply and let us know the results or if you need for us to continue troubleshooting with you.

    Thanks,

     



    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft Answers Feedback Forum and let us know what you think.
  • Wednesday, March 11, 2009 5:26 AMTroubleshoot Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    ======

  • Thursday, March 12, 2009 4:39 PMA. Day Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Sohail, thanks for reading my post before replying.  I am a beginner when it comes to computers so unfortunately your instructions are not clear enough for me. Can you walk me through it in baby steps? 

    (I recently was able to download one update but the others failed. I still received the 646 error code.)

    Thanks.
  • Thursday, March 12, 2009 4:43 PMA. Day Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Marilyn,
     
    Unfortunately the tips you've provided have failed on more than one occasion.  I still receive the message "Code 646 Windows update encountered an unknown error." If their is a more specific code I do not know how to ascertain it.


    Your help is appreciated.
    • Proposed As Answer byniro1973 Thursday, November 19, 2009 4:16 PM
    •  
  • Friday, March 13, 2009 3:00 AMTroubleshoot Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer

    ------

  • Monday, March 23, 2009 7:53 PMA. Day Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I could not get the prompt to work. I may not have done it correct, I don't know. Anyway I called microsoft and they seemed to have fixed the problem. Thanks.
  • Friday, October 09, 2009 1:16 AMdarrell_p.kelley Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    ive tried everything you suggest here to rid my computer of code 646,,nothing is working and i cannot download the updates its trying to install,,,what else can i do as i am not very knowledgable in such situations..thank you for anything you can do to help
  • Friday, October 16, 2009 11:10 AMdisa-pointed Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    If you buy somthing and it doesn't work properly you take it back to the shop.    WELL since I've had "VISTA" - after the first couple of months it has never worked properly! (AND OF COURSE THE SHOP WON'T TAKE IT BACK ONCE IT HAS BEEN USED)
    AND  again (code 643 & code 646)  - another problem that WE  have to waste our valuable time sorting out MICROSOFTS mistakes!!!

    Now WINDOWS are bringing out "windows 7"  AND for 120euros I can upgrade my VISTA with it!  I SHOULDN'T HAVE TO! MICROSOFT should offer it free to all users of VISTA , especially if it works. I suppose eventually, MS will catch up with Mackintosh and there'll be NO problems!     

    VISTA = WASTE OF TIME AND  a FAILURE that we paid for!

    By the way  other forums are running the same problem - and they gave me  the following which you can see at         http://forums.techarena.in/windows-update/1098524.htm


    RE: error 646

    Ah Ha! I think cracked the code lol. Open Windows Update then you should see
    the "View Available Updates" link click that. Then the updates you need to
    install should then be listed. Each update should be checked. Right-click
    each update individually and choose "View Details". The info about the
    particular update's info should come up then you should see in bold in that
    window "More information:" then a link right under that. Click that and a web
    page should open with a download link this is the update download page. Click
    that button then run or save the installer package then proceed to execute
    the installer package. Repeat the process for each ailed update! At least
    that is how it worked for me.


  • Saturday, October 17, 2009 3:03 AMhotteagrl Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks so much for the info.  I also was having a 646 error code and I tried several things that I found on the internet and none worked until I tried your suggestion.  You Rock!!
  • Sunday, October 18, 2009 2:50 AMmasdarling Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi, i have 5 windows update, and i tried it the way u said, but when i click the link, it opens another page, but there so may other links there to click.  which one should i click.  ive been trying from yesterday to fix this problem, i dont know wat to do now.
  • Sunday, October 18, 2009 6:54 PMdisa-pointed Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi, i have 5 windows update, and i tried it the way u said, but when i click the link, it opens another page, but there so may other links there to click.  which one should i click.  ive been trying from yesterday to fix this problem, i dont know wat to do now.


    hi masdarling hope you can understand this. I'm 62 & strugglig with VISTA too.


    I HAD TO SEARCH FOR SOME OF THE DOWNLOADS MYSELF:-

     Open Windows Update then you should see
    the "View Available Updates" link click that. Then the updates you need to
    install should then be listed. Each update should be checked. Right-click
    each update individually and choose "View Details". The info about the
    particular update's info should come up then you should see in bold in that
    window "More information:" then a link right under that. CLICK ON THAT LINK!

    RIGHT!!  SAY YOU want to d/L KB973709

  • Sunday, October 18, 2009 8:42 PMredhead2009 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I tried the following and found it quite helpful. I was able to download my security updates with the 646 error code

     I went directly to www.microsoft.com and went to the download center and put in the security number and hit the go button. This gave me my result and once I clicked on the link, there was an option for me to download, which I did. Problem solved!!!!!!

    • Proposed As Answer byredhead2009 Sunday, October 18, 2009 8:43 PM
    •  
  • Monday, October 19, 2009 12:56 PMdisa-pointed Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I tried the following and found it quite helpful. I was able to download my security updates with the 646 error code

     I went directly to www.microsoft.com and went to the download center and put in the security number and hit the go button. This gave me my result and once I clicked on the link, there was an option for me to download, which I did. Problem solved!!!!!!


    Thanks very much redhead2009......thats a great help and easy when you know how! thanks again!
  • Monday, October 19, 2009 3:11 PMKevin HauMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Please try installing the updates manually:

    KB972363 - http://www.microsoft.com/downloads/details.aspx?FamilyId=d39234a3-c62c-44ba-a626-3179a183ca09&displaylang=en
    KB973709 - http://www.microsoft.com/downloads/details.aspx?FamilyId=D20004C5-DD01-459E-8120-5F127E20C085&displaylang=en
    KB972581 - http://www.microsoft.com/downloads/details.aspx?FamilyId=98D7C4AB-F8CA-4806-A609-453FB29B02EC&displaylang=en
    KB974234 - http://www.microsoft.com/downloads/details.aspx?FamilyId=EC802723-F2B2-400A-A24D-8D8D9092F9EA&displaylang=en
    KB974810 - http://www.microsoft.com/downloads/details.aspx?FamilyId=BE9BC30F-8047-433F-BAC1-CABC2AB7075B&displaylang=en

    If you find one that is not on the list that is giving you error 646 you can search using the KB number of the update from the sites above and you will find the manual download location.

    I hope this helps.
    If you find that my answer was what you were looking for, please remember to click the "mark as answer" box below!
  • Wednesday, October 21, 2009 9:27 PMMistermanmatt Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Automatic update does not allow you to sign the the Microsoft software license agreement, therefore, the automatic updates fail. Manually downloading and placing a check in the signature box to accept the software license agreement was the ticket.

    Great find Kevin Hau from Canada, you're the man.

    Mistermanmatt...American - Gary, IN
  • Thursday, October 22, 2009 2:59 AMRomclrnc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    This one worked
  • Sunday, November 01, 2009 1:26 PMjayjern Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    worked for me thanks!!!
  • Tuesday, November 03, 2009 1:51 AMLanceSunshine Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Important If you have downloaded but not installed updates from Windows Update or from Microsoft Update, you must download those updates again after you complete these steps.

    1.       Click Start, click Run, type Notepad, and then click OK.

    2.       Copy the following text, and then paste the text into Notepad.

    echo Note: For Vista Users please exit this file now if you did not RUN this file as Administrator..
    :
    CLS
    :
    echo.
    :
    echo Clear out any Proxies
    :
    echo.

    DEL /S/F/Q "%USERPROFILE%\temp"
    DEL /S/F/Q "%USERPROFILE%\Local Settings\Temp"
    DEL /S/F/Q "%USERPROFILE%\Cookies"
    DEL /S/F/Q "%USERPROFILE%\Local Settings\Temporary Internet Files\*.*"
    DEL /S/F/Q "%USERPROFILE%\Local Settings\History"
    DEL /S/F/Q "%USERPROFILE%\Application Data\Sun\Java\Deployment\cache\javaws"
    cd %systemdrive%
    DEL /S/F/Q "RECYCLER\*.*"
    DEL /S/F/Q "$RECYCLE.BIN\*.*"
    cd %systemroot%
    DEL /S/F/Q "prefetch\*.*"

    :
    echo Add Windows Update sites to Trusted Zone and place them sites in the exception list of Internet Explorer Popup Blocker
    :
    echo.
    :
    :: Clears out proxy cache, places Windows Update sites in the Trusted Zone, places Windows Update sites in the exception list of IE Popup Blocker
    :: Starts all dependent services, registers required DLLS, empty the windows updates temporary folder, and deletes BITS pending download queue
    :
    :REM start /w regedit.exe /s Ad-trusted.reg
    cd \
    REM Clear out proxy cache
    proxycfg -d
    REG QUERY "HKLM\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v Security_HKLM_only | find /i "Security_HKLM_Only" | find "1"
    GOTO CONTROL%ERRORLEVEL%
    :CONTROL0
    REM MODIFY GLOBAL MACHINE SETTINGS
    REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\microsoft.com\update" /V http /t REG_DWORD /D 2 /F
    REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\microsoft.com\update" /V https /t REG_DWORD /D 2 /F
    REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\microsoft.com\windowsupdate" /V http /t REG_DWORD /D 2 /F
    REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\update.microsoft.com" /v http /t REG_DWORD /D 2 /f
    REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\update.microsoft.com" /v https /t REG_DWORD /D 2 /f
    REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\windowsupdate.com" /v http /t REG_DWORD /D 2 /f
    REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\windowsupdate.microsoft.com" /v http /t REG_DWORD /D 2 /f
    REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\download.microsoft.com" /v http /t REG_DWORD /D 2 /f
    :Allow popups from the following Windows Update sites in Internet Explorer
    REG ADD "HKLM\Software\Microsoft\Internet Explorer\New Windows\Allow" /v *.microsoft.com /t REG_BINARY /f
    REG ADD "HKLM\Software\Microsoft\Internet Explorer\New Windows\Allow" /v *.download.microsoft.com /t REG_BINARY /f
    REG ADD "HKLM\Software\Microsoft\Internet Explorer\New Windows\Allow" /v *.windowsupdate.com /t REG_BINARY /f
    REG ADD "HKLM\Software\Microsoft\Internet Explorer\New Windows\Allow" /v *.windowsupdate.microsoft.com /t REG_BINARY /f
    GOTO CONTINUE
    :CONTROL1
    REM MODIFY LOCAL USER SETTINGS
    :Add Windows Update sites to the Trusted Zone of Internet Explorer (if Security_HKLM_only is not set, use HKCU)
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\microsoft.com\update" /V http /t REG_DWORD /D 2 /F
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\microsoft.com\update" /V https /t REG_DWORD /D 2 /F
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\microsoft.com\windowsupdate" /V http /t REG_DWORD /D 2 /F
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\update.microsoft.com" /v http /t REG_DWORD /D 2 /f
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\update.microsoft.com" /v https /t REG_DWORD /D 2 /f
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\windowsupdate.com" /v http /t REG_DWORD /D 2 /f
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\windowsupdate.microsoft.com" /v http /t REG_DWORD /D 2 /f
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\download.microsoft.com" /v http /t REG_DWORD /D 2 /f
    :Allow popups from the following Windows Update sites in Internet Explorer
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\New Windows\Allow" /v *.microsoft.com /t REG_BINARY /f
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\New Windows\Allow" /v *.download.microsoft.com /t REG_BINARY /f
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\New Windows\Allow" /v *.windowsupdate.com /t REG_BINARY /f
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\New Windows\Allow" /v *.windowsupdate.microsoft.com /t REG_BINARY /f
    :CONTINUE
    :
    echo.
    :
    CLS
    :
    echo.
    :
    echo Stopping Windows Automatic Update Service and Background Intelligent Transfer Service
    :
    echo.
    :
    :: Stop the Windows Update Service and BITS service while applying fixes
    Net stop WuAuServ
    Net stop BITS
    :
    echo Registering required Dynamic Link Library files for Windows Automatic Update Service
    :
    :Register required DLLs associated to WU
    Regsvr32 Msxml3.dll /s
    regsvr32 shdoc401.dll /s
    regsvr32 cdm.dll /s
    regsvr32 softpub.dll /s
    regsvr32 wintrust.dll /s
    regsvr32 initpki.dll /s
    regsvr32 dssenh.dll /s
    regsvr32 rsaenh.dll /s
    regsvr32 gpkcsp.dll /s
    regsvr32 sccbase.dll /s
    regsvr32 slbcsp.dll /s
    regsvr32 mssip32.dll /s
    regsvr32 cryptdlg.dll /s
    regsvr32 wucltui.dll /s
    regsvr32 shdoc401.dll /i /s
    regsvr32 dssenh.dll /s
    regsvr32 rsaenh.dll /s
    regsvr32 gpkcsp.dll /s
    regsvr32 sccbase.dll /s
    regsvr32 slbcsp.dll /s
    regsvr32 asctrls.ocx /s
    regsvr32 wintrust.dll /s
    regsvr32 initpki.dll /s
    regsvr32 softpub.dll /s
    regsvr32 oleaut32.dll /s
    regsvr32 shdocvw.dll /I /s
    regsvr32 shdocvw.dll /s
    regsvr32 browseui.dll /s
    regsvr32 browseui.dll /I /s
    regsvr32 msrating.dll /s
    regsvr32 mlang.dll /s
    regsvr32 hlink.dll /s
    regsvr32 mshtmled.dll /s
    regsvr32 urlmon.dll /s
    regsvr32 plugin.ocx /s
    regsvr32 sendmail.dll /s
    regsvr32 scrobj.dll /s
    regsvr32 mmefxe.ocx /s
    regsvr32 corpol.dll /s
    regsvr32 jscript.dll /s
    regsvr32 msxml.dll /s
    regsvr32 imgutil.dll /s
    regsvr32 thumbvw.dll /s
    regsvr32 cryptext.dll /s
    regsvr32 rsabase.dll /s
    regsvr32 inseng.dll /s
    regsvr32 iesetup.dll /i /s
    regsvr32 cryptdlg.dll /s
    regsvr32 actxprxy.dll /s
    regsvr32 dispex.dll /s
    regsvr32 occache.dll /s
    regsvr32 occache.dll /i /s
    regsvr32 iepeers.dll /s
    regsvr32 urlmon.dll /i /s
    regsvr32 cdfview.dll /s
    regsvr32 webcheck.dll /s
    regsvr32 mobsync.dll /s
    regsvr32 pngfilt.dll /s
    regsvr32 licmgr10.dll /s
    regsvr32 icmfilter.dll /s
    regsvr32 hhctrl.ocx /s
    regsvr32 inetcfg.dll /s
    regsvr32 tdc.ocx /s
    regsvr32 MSR2C.DLL /s
    regsvr32 msident.dll /s
    regsvr32 msieftp.dll /s
    regsvr32 xmsconf.ocx /s
    regsvr32 ils.dll /s
    regsvr32 msoeacct.dll /s
    regsvr32 inetcomm.dll /s
    regsvr32 msdxm.ocx /s
    regsvr32 dxmasf.dll /s
    regsvr32 l3codecx.ax /s
    regsvr32 acelpdec.ax /s
    regsvr32 mpg4ds32.ax /s
    regsvr32 voxmsdec.ax /s
    regsvr32 danim.dll /s
    regsvr32 Daxctle.ocx /s
    regsvr32 lmrt.dll /s
    regsvr32 datime.dll /s
    regsvr32 dxtrans.dll /s
    regsvr32 dxtmsft.dll /s
    regsvr32 WEBPOST.DLL /s
    regsvr32 WPWIZDLL.DLL /s
    regsvr32 POSTWPP.DLL /s
    regsvr32 CRSWPP.DLL /s
    regsvr32 FTPWPP.DLL /s
    regsvr32 FPWPP.DLL /s
    regsvr32 WUAPI.DLL /s
    regsvr32 wups2.dll /S
    regsvr32 WUAUENG.DLL /s
    regsvr32 ATL.DLL /s
    regsvr32 WUCLTUI.DLL /s
    regsvr32 WUPS.DLL /s
    regsvr32 WUWEB.DLL /s
    regsvr32 wshom.ocx /s
    regsvr32 wshext.dll /s
    regsvr32 vbscript.dll /s
    regsvr32 scrrun.dll mstinit.exe /setup /s
    regsvr32 msnsspc.dll /SspcCreateSspiReg /s
    regsvr32 msapsspc.dll /SspcCreateSspiReg /s

    echo Adding other required Dynamic Link Library files to register

    regsvr32 /s wups2.dll
    regsvr32 /s msxml.dll
    regsvr32 /s msxml2.dll
    regsvr32 /s msxml4.dll
    regsvr32 /s msxml6.dll
    regsvr32 /s qmgr.dll
    regsvr32 /s qmgrprxy.dll
    :
    echo.
    :
    CLS
    :
    echo.
    :
    echo Clear out pending downloads for Background Intelligent Transfer Service
    :
    echo.
    :
    :: Clear all the pending downloads from BITS & let BITS recreate qmgr0.dat and qmgr1.dat
    cd %ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader
    del *.* /Q
    :
    echo Rename the Catroot2 directory, since Windows will automatically recreate it
    :
    echo.
    :
    echo Stopping Cryptographic Service
    :
    net stop cryptsvc
    :
    IF EXIST %systemroot%\system32\catroot2 attrib -r -s -h %systemroot%\system32\catroot2
    REM Make allowances for the fix having been run more than once. Check if the dir was already renamed in prior run
    IF EXIST %systemroot%\system32\oldcatroot2 rmdir /Q /S %systemroot%\system32\oldcatroot2
    IF EXIST %systemroot%\system32\catroot2 ren %systemroot%\system32\catroot2 oldcatroot2
    :
    echo Rename and change attributes for the original Software Distribution folder
    :
    echo.
    :
    cd %WINDIR%
    :: See if temp dir exists from previous execution of script, and delete if it does (XP & Vista)
    IF EXIST SoftwareDistribution.old rmdir /Q /S SoftwareDistribution.old
    :
    echo Backup old data from Software Distribution folder
    :
    attrib -r -h -s SoftwareDistribution
    REN SoftwareDistribution SoftwareDistribution.old
    :
    echo.
    :
    CLS
    :
    echo.
    :
    echo Start and stop the Windows Automatic Update Service
    :
    echo.
    :
    echo Recreate the Software Distribution folder
    :
    echo Initializing
    :
    Net start WuAuServ
    Net stop WuAuServ
    :
    echo Finished
    :
    echo Continuing repair procedures
    :
    echo Restore the Update History file from backup
    :
    echo.
    :
    attrib -r -h -s SoftwareDistribution
    MKDIR %WINDIR%\SoftwareDistribution\DataStore
    COPY /Y %WINDIR%\SoftwareDistribution.old\DataStore\DataStore.edb %WINDIR%\SoftwareDistribution\DataStore\
    :
    echo.
    :
    echo Now restore Events Log file from backup
    :
    COPY /Y %WINDIR%\SoftwareDistribution.old\ReportingEvents.log %WINDIR%\SoftwareDistribution\
    :
    echo.
    :
    CLS
    :
    echo.
    :
    echo Delete any added registry entries preventing Automatic Updates from turning ON
    :
    echo.
    :
    :: See if registry entries are present affecting Automatic Updates
    :
    echo If not found ignore any error messages
    :
    echo Checking
    :
    REM Delete Group Policy preventing Windows Update
    echo Deleting any Group Policy preventing Automatic Update
    :
    REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate\DisableWindowsUpdateAccess" /f
    :
    REM Delete all values for AU key
    echo Deleting any registry entry preventing Automatic Updates from turning ON
    :
    REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /f
    :
    REM Delete all values under WindowsUpdate key
    echo Deleting any other Registry entries that is preventing Windows Update
    :
    REG DELETE "HKLM\Software\Policies\Microsoft\Windows" /va WindowsUpdate /f
    REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" /va WindowsUpdate /f
    :
    REM Delete all other remaining registry entries that may affect Windows Update
    echo Delete any other remaining registry entries preventing Automatic Update
    :
    REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoWindowsUpdate /f
    REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoWindowsUpdate /f
    REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDevMgrUpdate /f
    REG DELETE "HKCU\Software\Microsoft\Internet Explorer\Main" /v NoUpdateCheck /f
    REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoWindowsUpdate /f
    :
    echo.
    :
    echo Finished checking
    :
    echo.
    :
    CLS
    :
    echo.
    :
    echo Continuing other processes
    :
    echo.
    :
    echo Restart Windows Automatic Updates Service and start all other dependent services and set to recommended startup type
    :
    echo.
    :
    echo Set to manual: Background Intelligent Transfer Service (BITS)
    :
    echo.
    :
    echo Set to automatic: Automatic Updates (WuAuServ), Event Log (EventLog), Cryptographic Services (CryptSvc), Remote Procedure Call (RpcSs)
    :
    echo.
    :
    :: Start Automatic Update Service
    Net start WuAuServ
    :: Set AU to automatic
    sc config WuAuServ start= auto
    :: Start Background Intelligent Transfer Service
    Net start BITS
    :: Set BITS to manual
    sc config BITS start= demand
    :: Start  Event Log Service
    Net start EventLog
    :: Set Event Log Service to automatic
    sc config EventLog start= auto
    :: Start Cryptographic Service
    Net start CryptSvc
    :: Set Cryptographic Service to automatic
    sc config CryptSvc start= auto
    :: Turn on Remote Procedure Call Service if not started
    Net start RpcSs
    :: Set Remote Procedure Call Service to automatic
    sc config RpcSs start= auto
    :
    echo.
    :
    echo.
    :
    echo Opening Windows Update server
    :
    echo.
    :
    echo You can now manually install Microsoft Update version 6 software
    :
    :: Open Windows Update
    :
    echo.
    :
    PAUSE
    :
    start iexplore.exe windowsupdate.microsoft.com
    :
    :EXIT

    1.       Click File, click Save As, and then type Repair.bat.

    2.       In the Save as type box, click All Files (*.*).

    3.       In the Save in box, click Desktop, and then click Save.

    4.       On the File menu, click Exit.

    5.       Right-click the Repair.bat file that you saved in step 5, and then click Run as administrator.

    Collapse this imageExpand this image

    If you are prompted for an administrator password or for confirmation, type the password, or click Continue.

    Try to install the updates again. If you can install the updates, delete the Repair.bat file. To delete the Repair.bat file, right-click Repair.bat, click Delete, and then click Yes.
    Hope this helps

  • Wednesday, November 04, 2009 11:11 PMgrmgrm Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Kevin,

    This wokred for me.

    Thanks
  • Monday, November 09, 2009 11:35 PMgotmhart Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    If you buy somthing and it doesn't work properly you take it back to the shop.    WELL since I've had "VISTA" - after the first couple of months it has never worked properly! (AND OF COURSE THE SHOP WON'T TAKE IT BACK ONCE IT HAS BEEN USED)
    AND  again (code 643 & code 646)  - another problem that WE  have to waste our valuable time sorting out MICROSOFTS mistakes!!!

    Now WINDOWS are bringing out "windows 7"  AND for 120euros I can upgrade my VISTA with it!  I SHOULDN'T HAVE TO! MICROSOFT should offer it free to all users of VISTA , especially if it works. I suppose eventually, MS will catch up with Mackintosh and there'll be NO problems!     

    VISTA = WASTE OF TIME AND  a FAILURE that we paid for!

    By the way  other forums are running the same problem - and they gave me  the following which you can see at         http://forums.techarena.in/windows-update/1098524.htm


    RE: error 646

    Ah Ha! I think cracked the code lol. Open Windows Update then you should see
    the "View Available Updates" link click that. Then the updates you need to
    install should then be listed. Each update should be checked. Right-click
    each update individually and choose "View Details". The info about the
    particular update's info should come up then you should see in bold in that
    window "More information:" then a link right under that. Click that and a web
    page should open with a download link this is the update download page. Click
    that button then run or save the installer package then proceed to execute
    the installer package. Repeat the process for each ailed update! At least
    that is how it worked for me.



    Thank you for your advise. I had the issue of 6 security updates that would not install. Error codes 643 and 646. I tried a few things all month long and I couldn't seem to figure it out. I followed the steps that you posted and then I really started to figure out what was wrong. In my case, the updates could not take place due to previous updates that were never installed. Each failed update recommended a prior update that hadn't been installed. I installed all of the prior updates necessary and like magic all other updates installed automatically. Most recommendations that I read were in far more depth than your's and I believe if I had followed the others I would have caused myself way more grief and possibly money. Stick with the simple stuff first. Thanks again for your recommendations, they were extremely helpful.
  • Tuesday, November 10, 2009 9:46 PMidkwia Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I had exactly this problem with Windows 7 and I solved it by this very simple method: -

    Go to "Start" then "Control Panel" then "System and Security" then "Change User Account Control Settings" and then reduce the setting for "Choose When To Be Notified About Changes To Your Computer" and then try to install your updates.

    I don't know if this will work for everyone but having had continual problems in downloading updates and continually getting error code 646 this solved it.

    Good luck.
  • Wednesday, November 11, 2009 1:27 AMGaynell Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    too tired and lazy...couldn't find the "mark as answer" box...but YEP...you got it...thanks for the help!
  • Wednesday, November 11, 2009 3:51 PMtravelingman Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Worked! Thanks
  • Thursday, November 12, 2009 8:45 PMwdbascom Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Shut off/disabled all firewalls...tried to run the updates again with no luck..

    Any free fix sites??? all i find you have to buy.
  • Friday, November 13, 2009 1:26 AMpiikachu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    danx alot i was worried about my laptop...
    danx again
  • Friday, November 13, 2009 2:45 AMKevin HauMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hey are you guys getting fixed by the manual installation of the updates or by disabling UAC and doing windows update again?

    Just curious :)

    Kevin
    If you find that my answer was what you were looking for, please remember to click the "mark as answer" box below!
  • Saturday, November 14, 2009 5:41 AMcrinosil Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Kevin,


    This is not a solution to the problem, this is a work around...... I have a brand new Fresh install of Windows 7 pro...first app I installed besides the OS was MS Office 2007.... and when I run Windows Update I get a list of 30 or so updates...security and other wise......all fail with CODE 646 when I use WINDOWS UPDATE....yes I did down load OFFICE 2007 SP1 and SP2 from the download site manually and install.....but am I supposed to do that with every darn patch that microsoft comes out with including the 28 still giving me CODE 646??

    So is there a real solution to the problem?
  • Tuesday, November 17, 2009 2:41 AMResa2009 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    We have to download each of those?
  • Tuesday, November 17, 2009 8:15 PMtopduck Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I tried all of the above and nothing worked
    Microsoft should be taken to court for selling a defective product ( windows vista ) and now they are selling another defective product ( window 7 ) which should be given free to all windows users

    If a car dealer sells a brand new defective car he/she will be obliged to either fix the car or replace it, the dealer doesn't tell you to go and fix it yourself but for some reason Microsoft is getting away with murder

    I think Microsoft is heading downhill from now on and hopefully it will end up in the history's trash bin
  • Thursday, November 19, 2009 1:17 PMBassam Sebti Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have tried these instructions and it didn't work. This is so annoying. I'm using an original MS Office 2007 Home and Student and it's still does not want to be updated by the computer update system.
  • Thursday, November 19, 2009 9:17 PMNotaFan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    This might work, but the work involved is mental. Microsoft should do much better than that!
  • Thursday, November 19, 2009 10:43 PMNotaFan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Marilyn, as Microsoft's official representative, I'd like you to register this note. I'm an experienced computer support tech, and found ALL of Microsoft's answers completely inadequate to a similar problem on a client's computer. Microsoft's way of life is to release beta code into the wild and call it cooked. I wish for all of you at Microsoft that you experience, over and over again, the same unnecessary problems you have consistently created for your users. At least with Apple's or Sun's or Unix' operating systems the system is generally more stable. And that's being inestimably kinder than Microsoft deserves.
  • Friday, November 20, 2009 5:27 AMmichellacap Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    still i cant install some updates,i tried to turn off the firewall but stii i cant install...what should i do next?this can harm my computer...need your help..
    thanx and more power
  • Saturday, November 21, 2009 7:39 PMShadows4 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    (11/21/09) - I have Vista (64bit version), and I was getting this error for three weeks myself. Thanks to one the suggestions below, I got it to work. The suggestion that worked for me was to "manually" install each update "individually". I could not use the windows automatic update feature. Here's what I did (BTW, I did not have to turn off my firewall to do this):

    1) Went to Bing.Com
    2) Typed in the exact name of the update as it was displayed on the Windows Update Screen (e.g. Security Update for Microsoft Office Excel (KB######)
    3) Bing found the exact match to what I typed in on the Microsoft website
    4) I clicked on the link
    5) Selected "Download"
    6) And Viola, it worked :-)
    7) I repeated this step four more times, and now I've successfully installed all five updates that I'd been trying to install for three weeks.
    8) Thanks again to all of the tips people listed below, that was helpful and the "manual" update tip worked for me.

    Hope this works for other people as well.
    • Proposed As Answer byShadows4 Saturday, November 21, 2009 7:47 PM
    •  
  • Sunday, November 22, 2009 4:43 AMMargieanneart Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am having the same problem.  I have tried everything you have done, and cannot get them to download either.  I think it is the Vista Program.
  • Sunday, November 22, 2009 4:46 AMMargieanneart Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am having the exact same problem, and have tried all the suggestions.  I have 5 that will not download for a month now.  Only one came through.  It must be a glitch in the system.
  • Sunday, November 22, 2009 4:47 AMMargieanneart Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Really? How did they fix it?  How did you get their phone number?
    I'm glad you are working now.  I tried everything, and it will not download.
  • Sunday, November 22, 2009 4:48 AMMargieanneart Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I tried that, it won't work for me. I'm glad it worked for you.
  • Tuesday, November 24, 2009 11:04 PMvonnie83 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hey guys, 

    i was having the same problem and I just simply changed my internet explorer back to my default browser.. some updates i believe require to have the original browser as the primary first in order to update it.hope it works for u it did for me
  • Wednesday, November 25, 2009 2:05 AMYanniZanni Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Go to:
    Control Panel/User Accounts
    Find your Account there and Under "Make Changes To Your Account" Click On "Turn User Account Control On Or Off"
    Turn Off User Account Control
    Reboot If Necessary
    Update Using Windows Update
    Sing A Song and Kiss Your Children
    • Proposed As Answer byYanniZanni Wednesday, November 25, 2009 2:16 AM
    •  
  • Friday, November 27, 2009 7:55 PMfrozenblood7 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks lance that worked for me!
    Apple Ate Crow Microsoft Hasn't Let It Go