Archive for category SCCM 2012
SCCM Task Sequence Error Code 0x80004005
Posted by edwgon in deployment, drivers, Error Code 0x80004005, Microsoft System Center Configuration Manager 2012 R2 SP1, OS Deployment, sccm, SCCM 2012, task sequence, windows 7, Windows 7 Upgrade, windows 7 x64 on August 1, 2019
While attempting to perform an in-place upgrade from Windows 7 Enterprise to Windows 10 Enterprise I came across Error Code 0x80004005.
Looking at C:\WINDOWS\CCM\Logs\smsts.log gave me the clues on the error message.
There are many posts on how to fix this particular error message; it seems that this error code is pretty generic and it shows up on several instances in many SCCM operations – this document particularly deals with a task sequence for an in-place operating system upgrade.
Since this was an in-place Windows upgrade, I needed to find out more detailed information and I was able to get it from C:\$WINDOWS-BT\Sources\Panther this folder contains a list of .XML files that collect compatibility data that is collected during the upgrade process.
I opened the last XML file and this gave me the actual clue as to what was failing during the upgrade process – video drivers were the culprit!
Now I know what’s going on during the task sequence and I can attempt to fix this issue.
I’ll blog about how to fix this issue in a new post, stay tuned!
WinPE Nic Drivers for DELL Optiplex 7050
Posted by edwgon in dell, DELL OptiPlex 7050, Network, SCCM 2012, Uncategorized, WinPE on March 22, 2017
While running the latest version of SCCM 2012 and latest up-to-date Boot Image, network drivers for DELL OptiPlex 7050 need to be injected in order for WinPE environment to work.
Luckily, storage and network drivers for the OptiPlex 7050 model can be found on DELL’s support site.
The following screenshot will show you the file you need to download.
Once you’ve downloaded it the CAB file, then go ahead and update your Boot Image file(s).
Install Hyper-V Role to Windows Server 2012 R2 During OS Deployment
Posted by edwgon in 64-bit, deploy, deployment, Hyper-V, management, Microsoft Deployment Toolkit, Microsoft System Center Configuration Manager 2012 R2 SP1, OS Deployment, PowerShell, sccm, SCCM 2012, server deployment, task sequence, virtual machine, virtual machines, Windows Server 2012 R2, Windows Server Feature on October 28, 2016
There are plenty of blogs about this subject, however, many of these blogs are outdated and some of their tips do not work properly for Windows Server 2012 R2. Also, in my case, I’m not using MSDT to install features and roles, but instead I’m using a captured WIM image.
To install Hyper-V role, just add a “Run Command Line” task, towards the end of the task sequence, Install Operating System task.
I’m using the following PowerShell command:
Powershell.exe -Command "& {&'Install-WindowsFeature' –Name Hyper-V -IncludeManagementTools -Restart}"
Also, here’s an interesting link that discusses this particular issue.
Get Active Network Adapter
Posted by edwgon in Microsoft, Microsoft System Center Configuration Manager 2012 R2 SP1, Network, powercli, PowerShell, SCCM 2012, Utilities, Windows Server 2008, Windows Server 2012 R2 on May 18, 2016
Recently I had the need to create a script to find out what was the active network adapter in our server, so after some ideas from the web, I came up with a one line PowerShell script that helped me achieve my goal.
Note: Get-NetAdapter is a PowerShell commandlet that’s present on Windows 8 and Windows Server 2012 R2. This command will not work on Windows 7.
Get-NetAdapter | Where-Object {($_.LinkSpeed -eq “1 Gbps”) -and ($_.Status -eq ‘Up’)}
In this line, I’m basically getting the adapter with status ‘Up’ and with a linkspeed equals to ‘1 Gbps’. One can change LinkSpeed property to match your server’s network adapter speed(s).
Deploying Oracle JAVA
Posted by edwgon in deploy, JAVA, Microsoft System Center Configuration Manager 2012 R2 SP1, Oracle, reboot, sccm, SCCM 2012, Software Center on February 26, 2016
As of JAVA 8 Update 73, this is the easiest way I’ve found to deploy JAVA on a corporate environment.
- Download JAVA from here
- You’re going to select the Windows Offline download option
- Take a look at the many installation options now available for the JAVA EXEcutable file, those options can be found here
- From an elevated command line, you’re going to run the JRE executable file with the options you select from step 2
- Here’s just a sample command line (all in one line):
- jre-8u73-windows-i586.exe EULA=Disable INSTALL_SILENT=Enable AUTO_UPDATE=Disable REBOOT=Disable REMOVEOUTOFDATEJRES=1
- You should be able to find the meaning of each installation option by reading the document in step 2. In essence, I’m installing JAVA and accepting the EULA, a silent install with JAVA auto update disabled as well as removing any outdated installations of JAVA and finally rebooting is disabled.
Note: Here’s a great JAVA 8 deployment blog in case you need other means of installing it
For those using System Center Configuration Manager 2012 (SCCM 20120), one of the ways to create an application deployment would be to use ‘manual’ deployment type and use a script to install JAVA. In the script I used, I was able to use START /WAIT command to execute the JRE file.
SCCM 2012 R2 SP1 & PXE-E53 Error(s)
Posted by edwgon in OS Deployment, SCCM 2012 on September 21, 2015
In SCCM 2012, you may encounter the following PXE error message:
PXE-E53: No boot filename received
PXE-M0F: Exiting Intel Boot Agent
Selected boot device failed. Press any key to reboot….
Unfortunately, there are many instances that will generate the error message above; one of those instances is when you’ve not set your Windows PE x86 to deploy in your distribution point.
Yes, even if you’re using Windows PE (x64), you must enable the (x86) version. (see below)
Deploy AutoDesk Building Design Suite Premium 2015 with SCCM 2012
Posted by edwgon in AutoCAD Building Design Suite Premium 2015, AutoDesk, BDS, BDSP, deployment, SCCM 2012 on December 4, 2014
In this post, I’m going to go over the deployment of AutoDesk Building Design Suite Premium 2015 using SCCM 2012.
- You’re going to use AutoDesk BDSP setup wizard to create the ‘image’ folder using AutoCAD’s own image building process. This process will allow you to perform a standard, or custom, installation of AutoDesk’s applications and features, so I’m not going into details about this. At the end of this process, AutoDesk’s wizard will create a SMS_SCCM scripts folder which contains text files that will allow you to install and un-install BDSP; we’re going to use these text files for the deployment.
- The SCCM client imposes a folder size on C:\Windows\ccmcache folder, so we’re going to have to use another script to call the installation process scripts created in step 1.
Here’s what I use for a Detection Method, basically I’m looking for BDSP executable files on the target computer.
This process works well for my environment.
Make a note that this installation may take hours (2-4)…
Deploy Windows Server 2008 R2 with SCCM 2012 and MDT 2013
Posted by edwgon in http://schemas.google.com/blogger/2008/kind#post, MDT 2013, Microsoft Deployment Toolkit, OS Deployment, SCCM 2012, server deployment, task sequence on March 5, 2014
In this article I’m going to show how to create a SCCM 2012 task sequence to deploy Windows Server 2008 R2 using Microsoft Deployment Toolkit 2013.
- Make sure to have an Operating System Images and an Operating System Installers ready for Windows Server 2008 R2 already installed in SCCM
- Download, install and configure Microsoft Deployment Toolkit 2013 (Make sure to perform these steps on the SCCM server!)
- Make sure MDT is properly installed
- Make sure MDT is properly installed
- Once you make sure that MDT is properly installed, then you need to create a MDT package in SCCM
- Basically, from the MDT installation folder, you’re going to copy the following folders to a network share that you’ll use to create the SCCM package: Control, Scripts, Servicing and Tools
- Once in the create package wizard, make sure you select This package contains source files and point it to the network share you created in step 2.1
- In the Program Type screen, select Do not create a program
- Once finished, make sure to Distribute Content
- Make sure these steps are done properly or you’ll have major issues with the rest of this how-to. I found some great information about creating an MDT package on this link
- Click on Create MDT Task Sequence
- In the Choose Template screen, select Server Task Sequence
- In the General screen, provide a name and description for the task sequence
- In the Details screen, provide the domain and domain account that will be used to join such domain. Also provide organization name and product key number for the installation of the server OS
- In Capture Settings screen, select This task sequence will never be used to capture an image
- In Boot Image screen, select your WinPE boot image, in my case that will be Boot image (x64)
- In MDT Package screen, you’re going to select the MDT package created earlier in this how-to (this portion will either make or break this how-to)
- In OS Image screen, select the Windows Server 2008 R2 WIM file (Described in requirements step 1)
- In OS Image Index, select the version of server you want to run, in my case it will be Sever 2008 R2 Enterprise
- In Client Package, select the SCCM client package that you’ve been using in your environment
- In Settings Package screen, in my case I selected just any package from the list…because I’m going to disable these tasks later on
- In Sysprep Package, there’s only one option already selected, so just hit Next button
- Hit Next until you get to Finish



Also, pay close attention to the following fields in Apply Operating System Image section:
- Destination – Logical drive letter stored in a variable
- Variable name – System
- System is used for drive letter, in this case C:
Next, we’re going to configure the Apply Windows Settings section.
Here, you’re going to type your company’s name and user name for this server, also you’ll need the server’s product key numbers.
In our environment, we have a licensing server, so I set the Licensing server field to Do not specify. Make sure you set the Time Zone as well.

Now, we’re going to Apply Network Settings to our server installation.
This section will allows us to join this server to the domain. You can specify your domain name and the domain organizational unit (OU) where the server account can be placed.
The account used to join the server to the domain can be just a regular domain account.
We’re now going to load drivers to our server installation, this is a nice to have option, but not required. Obviously, you have to have the driver packages created previously.
Next, we’re going to load the SCCM client to our server installation. In this section, I’m loading the default SCCM client, which comes with SCCM installation, and I’m also installing a hotfix for the SCCM client.

This section is pretty much self explanatory, just select the server roles and features you want to add then continue.
I have disabled some section (New Computer Only and Capture the Reference Machine) on purpose, you don’t have to to that.
Deploy Adobe Acrobat Reader XI (11.0.03) Using SCCM 2012 SP1
Posted by edwgon in Adobe Acrobat Reader XI, Application Deployment, Configuration manager 2012, http://schemas.google.com/blogger/2008/kind#post, msp, patch, sccm, SCCM 2012, windows 7, windows 7 x64 on June 26, 2013
There are several blogs on this topic; however, some seem to be lacking one or more details or may not show how to patch and customize Adobe Acrobat Reader XI. In this blog, I will show you how to patch, customize and deploy, via SCCM, Adobe Reader XI (11.0.03).
Pre-requisite: Make sure you have installed Adobe Customization Wizard XI
- Download the latest version of Acrobat Reader from Adobe’s FTP site.
- The direct FTP link is: ftp://ftp.adobe.com/pub/adobe/reader/win/11.x/11.0.03/en_US/
- We’re going to download the EXE file: AdbeRdr11003_en_US.exe
- Next, from an administrator command line, we’re going to extract the MSI from the EXE file using the following command: AdbeRdr11003_en_US.exe -nos_o”c:\SomeDirectory” -nos_ne
- Do not close this command line window as we’ll use it again.
- For this example I’m extracting the contents to C:\temp\Adobe XI (11.0.03) folder.
- Once we’ve extracted the source files from the EXE file, then let’s run (as an administrator) the Adobe Customization Wizard XI to create the MST file that we’re going to use to customize Adobe Reader XI.
- If the customization wizard isn’t run as an administrator, you won’t be able to save the package.
- Basically, we’re going to make changes in the the following sections:
- Personalization Options
- Installation Options
- Shortcuts
- WebMail Profiles
- Online and Adobe online services Features
- Once the customization options have been completed, proceed to click on Transform menu option then click on Generate Transform…
- Save the MST file in the same folder where the Adobe Reader MSI exists.
- For this example, we’re going to save this file as AcroRead.mst
- Next, click on File and then click on Save Package.
- Back to the command line and let’s create an Application Installation Point (AIP) in order to patch Acrobat Reader.
- In the folder where the MSI file was extracted, you’ll notice that file AdbeRdrUpd11003.msp is located there – that’s our patch file that we’ll be applying.
- For this example we’re going to create a new folder – C:\AdobeAIP
- From the command line, in step 3, we’re going to create the AIP with the following command: msiexec /a AcroRead.msi
- Once the wizard comes up, make sure to point it to the folder created in step 8.2
- Make sure you run this command from the folder in step 3.
- Take a look at the files extracted
- Change directory to folder C:\AdobeAIP
- Now we’re ready to patch the Acrobat Reader source files, let’s use the following command: msiexec /a AcroRead.msi /p “c:\temp\Adobe XI (11.0.03)\AdbeRdrUpd11003.msp”
- This will open a wizard window; make sure there are no error messages during this task.
- If the patching process was successful, then we should now have a patched Acrobat Reader XI installation as well as a customization file.
- From Step 3 folder (C:\temp\Adobe XI (11.0.03)), copy the MST file to the Step 6 folder (C:\AdobeAIP)
- At this time, folder C:\AdobeAIP should contain a patched Acrobat Reader XI as well as the customization file. We’re going to use the contents of folder C:\AdobeAIP as our deployment files to create our SCCM 2012 deployment package.
- Copy all contents of C:\AdobeAIP to the share that SCCM uses to deploy applications in your environment.
- Let’s create a new application deployment package in SCCM. First, go to the Software Library section, and click on Application Management and then click on the Applications container to create the new package.
- Right click on the Applications container then click on Create Application option.
- Point to the network share where you copied the files in Step 15 and select the file AcroRead.msi
- You may get a warning message about not being able to verify the publisher of this MSI file, just click on Yes.
- In the General Information wizard screen, in the Installation program field, add the following:TRANSFORMS=”AcroRead.mst”
- This line should read: msiexec /i “AcroRead.msi” TRANSFORMS=”AcroRead.mst” /q
- Continue accepting defaults until the application wizard finishes.
- Now, you can deploy this new application to a selected number of computers or users.
Recent Comments