Downloads:

4,301

Downloads of v 1.0.4:

1,683

Last Update:

27 Apr 2019

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

Microsoft Windows Update KB2533552 admin SP1 Service Pack 1

Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2

1.0.4 | Updated: 27 Apr 2019

Downloads:

4,301

Downloads of v 1.0.4:

1,683

Maintainer(s):

Software Author(s):

  • Microsoft

Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2 1.0.4

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2, run the following command from the command line or from PowerShell:

>

To upgrade Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2, run the following command from the command line or from PowerShell:

>

To uninstall Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade kb2533552 -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade kb2533552 -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure kb2533552 installed
  win_chocolatey:
    name: kb2533552
    state: present
    version: 1.0.4
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'kb2533552' do
  action    :install
  version  '1.0.4'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: kb2533552,
    Version: 1.0.4,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller kb2533552
{
   Name     = 'kb2533552'
   Ensure   = 'Present'
   Version  = '1.0.4'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'kb2533552':
  provider => 'chocolatey',
  ensure   => '1.0.4',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install kb2533552 version="1.0.4" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 22 Aug 2020.

Description

Consider the following scenario:
You install Windows 7 Service Pack 1 (SP1), Windows 2008 R2 Service Pack 1 (SP1), or Windows Embedded Standard 7 SP1 on a computer.
You install some other updates before you restart the computer to complete the installation process. Or, the service pack is installed at the same time as other updates by using Windows Server Update Services (WSUS).
In this scenario, the computer may stop responding or restart. If the computer restarts, you receive an error message that resembles the following on a black screen: 0xC0000034

Note: If the computer stops responding and you restart the computer, you receive the same error message.

This issue occurs because Windows tries to perform operations in the Primitive Operation Queue (POQ) two times during the service pack installation process. The second attempt to perform these operations fails (because the operations have already been performed). Therefore, Windows generates a "0xc0000034" error.

This update should be installed to resolve this issue with Windows 7 SP1, Windows Server 2008 R2 SP1, and Windows Embedded Standard 7 SP1, and to help avoid this issue with future updates.

This update is one of the recommended updates to install before installing Service Pack 1 for Windows 7 or Windows Server 2008 R2.

On systems other than Windows 7 or Windows Server 2008 R2, this package installs successfully, but does nothing.


Tools\ChocolateyInstall.ps1
$msuData = @{
    '6.1' = @{
        Url = "https://download.microsoft.com/download/8/0/C/80CCB26A-2267-40A7-A898-1D2F7C233A6A/Windows6.1-KB2533552-x86.msu"
        Checksum = '8E10AD0AA6096FEFD18D385EC7BFF399A197CA87257FE5C87C68FD6F80EA1138'
        Url64 = "https://download.microsoft.com/download/B/6/F/B6F95B10-8B74-42F2-B57A-2C559D43BC28/Windows6.1-KB2533552-x64.msu"
        Checksum64 = 'D8707355BFFC38849A7ED6E0E93F7BAF58442E85792C94B00C5E9289E2F0649E'
    }
}

chocolateyInstaller\Install-WindowsUpdate -Id 'KB2533552' -MsuData $msuData -ChecksumType 'SHA256'

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2 1.0.3 829 Thursday, October 11, 2018 Approved
Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2 1.0.2 971 Thursday, June 8, 2017 Approved
Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2 1.0.1 441 Sunday, February 5, 2017 Approved
Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2 1.0.0 377 Thursday, October 27, 2016 Approved

1.0.4: update extension dependency to fix exit code handling on licensed Chocolatey.

Discussion for the Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2 Package

Ground Rules:

  • This discussion is only about Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2 and the Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2 package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Fix for error 0xC0000034 when installing SP1 for Windows 7 / Server 2008 R2, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus