locked
Error Code 80240038 on Windows Server 2008 RRS feed

  • Question

  • Hi Everyone,

    I have an issue on Microsoft Windows Server 2008 R2 Standard edition when performing a windows update. I get the error 80240038. We have tried some solutions mentioned on MS forums but it did not work like

    Resetting the IE,

    Resetting the Windows update services

    changing the windows update from "automatic delayed restart" to "automatic"

     

    We first encounter the said issue after ever since it was freshly installed.

    (Also, it happens most of the time on Windows Vista and Windows 7 only). Hope you can help me guys with this one...

    Thanks!

    Don

    Tuesday, February 8, 2011 2:05 AM

Answers

  • Hi Don,

     

    Please try steps below:

     

    Step 1: Verify the relevant Windows Update services

    =======================================

    1. Click the Start Button, in Start Search box, type: "services.msc" (without quotes) and press Enter. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

    2. Double click the service "Windows Update".

    3. Click on the "General" tab; make sure the "Startup Type" is "Automatic" or "Manual". Then please click the "Start" button under "Service Status" to start the service.

    4. Please repeat the above steps with the "Background Intelligent Transfer Service" service.

     

    Step 2: Rename Windows Update Temporary folders

    =================================

    1. Click Start, in Start Search item, type: "notepad" (without quotes) and press Enter.

    2. Copy the following commands and then paste them into the opened Notepad window:

     

    net stop wuauserv

    net stop Cryptsvc

    cd /d %windir%\SoftwareDistribution

    rd /s /q DataStore

    ren %windir%\system32\catroot2 catroot2.old

    net start wuauserv

    net start Cryptsvc

     

    3. After pasting the above commands, please close the Notepad window. Choose Save when you are prompted to save the file. Type "register.bat" as the file name and choose Desktop from the left panel as the location.

    4. Refer to the Desktop and right click the register.bat file, then choose Run as administrator.

    5. You will see a DOS-like window processing.

     

    Step 3 Reset proxy (for LAN connection)

    ==============================

    Remove invalid characters from the proxy exception list and then clear the proxy cache.

     

    1. Open Internet Explorer.

    2. In the Tools menu, select Internet Options.

    3. Click on the Connections tab.

    4. Click on the LAN Settings.

    5. Clear the entries in "Use automatic configuration script" and uncheck "Automatically detect settings."

    6. Click on the Advanced button.

    7. Please delete any entry in the Exceptions section,

    8. Click OK, and return to the previous window. Uncheck "Use Proxy Server for your LAN", and click OK to accept the changes.

    9. Quit Internet Explorer.

     

    Next, clear your proxy cache.

     

    Step 4 Reset Proxy Cache

    ==============

    1. Click the Start Button, click "All programs", and click "Accessories".

    2. Right-click "Command Prompt", and click "Run as administrator". If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

    3. Type "netsh winhttp reset proxy" (without quotes) at the command prompt, and press Enter.

     

    What’s the result?

     

    If the issue persists, I would like to ask the following questions:

     

    1. Do you use WSUS?

    2. Are your computers in a domain?

    3. At which stage does the error code appear, checking for update, downloading updates or installing updates?

    4. Is this issue related to Service Pack 1? Have you installed Service Pack 1 on your Windows Server 2008 R2?

     

    Tim Quan

     

    Wednesday, February 9, 2011 3:31 AM
    Moderator

All replies

  • Hi Don,

     

    Please try steps below:

     

    Step 1: Verify the relevant Windows Update services

    =======================================

    1. Click the Start Button, in Start Search box, type: "services.msc" (without quotes) and press Enter. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

    2. Double click the service "Windows Update".

    3. Click on the "General" tab; make sure the "Startup Type" is "Automatic" or "Manual". Then please click the "Start" button under "Service Status" to start the service.

    4. Please repeat the above steps with the "Background Intelligent Transfer Service" service.

     

    Step 2: Rename Windows Update Temporary folders

    =================================

    1. Click Start, in Start Search item, type: "notepad" (without quotes) and press Enter.

    2. Copy the following commands and then paste them into the opened Notepad window:

     

    net stop wuauserv

    net stop Cryptsvc

    cd /d %windir%\SoftwareDistribution

    rd /s /q DataStore

    ren %windir%\system32\catroot2 catroot2.old

    net start wuauserv

    net start Cryptsvc

     

    3. After pasting the above commands, please close the Notepad window. Choose Save when you are prompted to save the file. Type "register.bat" as the file name and choose Desktop from the left panel as the location.

    4. Refer to the Desktop and right click the register.bat file, then choose Run as administrator.

    5. You will see a DOS-like window processing.

     

    Step 3 Reset proxy (for LAN connection)

    ==============================

    Remove invalid characters from the proxy exception list and then clear the proxy cache.

     

    1. Open Internet Explorer.

    2. In the Tools menu, select Internet Options.

    3. Click on the Connections tab.

    4. Click on the LAN Settings.

    5. Clear the entries in "Use automatic configuration script" and uncheck "Automatically detect settings."

    6. Click on the Advanced button.

    7. Please delete any entry in the Exceptions section,

    8. Click OK, and return to the previous window. Uncheck "Use Proxy Server for your LAN", and click OK to accept the changes.

    9. Quit Internet Explorer.

     

    Next, clear your proxy cache.

     

    Step 4 Reset Proxy Cache

    ==============

    1. Click the Start Button, click "All programs", and click "Accessories".

    2. Right-click "Command Prompt", and click "Run as administrator". If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

    3. Type "netsh winhttp reset proxy" (without quotes) at the command prompt, and press Enter.

     

    What’s the result?

     

    If the issue persists, I would like to ask the following questions:

     

    1. Do you use WSUS?

    2. Are your computers in a domain?

    3. At which stage does the error code appear, checking for update, downloading updates or installing updates?

    4. Is this issue related to Service Pack 1? Have you installed Service Pack 1 on your Windows Server 2008 R2?

     

    Tim Quan

     

    Wednesday, February 9, 2011 3:31 AM
    Moderator
  • Hi Tim,

    I will let our client try this one. Some here were already tested.

    I will keep you posted

     

    Thanks!

    Don

     

    Thursday, February 10, 2011 1:23 AM
  • Hi Tim,

    We have tried the solution but the update still faills.

    for your question, here are my answers in parenthesis:

    1. Do you use WSUS? - (no)

     

    2. Are your computers in a domain? (Yes Machine, Even when the PC was fresh installed, problem was encountered)

     

    3. At which stage does the error code appear, checking for update, downloading updates or installing updates? (Checking for Updates Error 80240038)

     

    4. Is this issue related to Service Pack 1? Have you installed Service Pack 1 on your Windows Server 2008 R2? (No Client has no SP1 yet, also SP1 is on beta version so we don't install it yet)

     

     

    Thanks!

    Don

     

    Tuesday, February 22, 2011 9:12 AM