Quantcast
Channel: Upgrade - System Center Dudes
Viewing all 35 articles
Browse latest View live

Importing Package Loop during Distribution Point Migration

$
0
0

I had an interesting issue during a migration project from SCCM 2007. After the reassign process, some distribution points were constantly re-importing packages. They were stuck in an importing package loop during distribution point migration

I found this issue when I went to see the configuration status of the distribution points (Monitoring / Distribution Status / Distribution Point Configuration Status)

All problematic Distribution Points were having “pending” tasks even if the reassign process was completed. The DP were functioning correctly and packages that were marked as “Importing” were on the DP.

When looking at distmgr.log I could see the import tasks repeatedly happening.

Importing Package [PackageID][packagePath] into SIS on Distribution point [DPName] STATMSG ID=xxx Source=”SMS Server” Comp=”SMS_Distribution_Manager”

Importing Package Loop during Distribution Point Migration

The .DPU (distribution point upgrade) files were processed correctly, I could see them disappearing from the DistrMgr.box but it was coming back after a couple of hour.

Importing Package Loop during Distribution Point Migration

I decided to compare the properties of my different DP using a quick query in SQL Management Studio.

Select DPID,ServerName,DPFlags 
From DistributionPoints
order by DPFlags

I found a correlation between the looking DP and the DPFlags attribute. All the DP that were having a value of 4 were constantly caught in a never ending importing  package loop.

As seen in previous screenshot, DPID 150,151 and 154 has a DPFlags = “4”

 

Importing Package Loop during Distribution Point Migration

Modifying the value is possible using WMI but since this is unsupported, a call was opened at Microsoft.

This is what they sent.

I don’t recommend playing with this field, I’m providing this procedure as informative only.

How to set DPFlags:
1. Open up an administrative command prompt on ConfigMgr 2012 Primary Site
Server
2. Type wbemtest and hit enter to open up the tool.
3. Click Connect and in the box type root\sms\site_[SITECODE] and click on
Connect again.
4. Click the query button and Enter the following query: select * from
SMS_SCI_SysResUse
5. In the list that populates, you’ll see entries that begin with
SMS_SCI_SysResUse.FileType=2,ItemName= “[\”Display=\\\\<servername>\\\”]…
The servername highlighted above should match the DP server for which we want
to make that change. Additionally, if you scroll further towards the right,
you’ll find the various roles that are installed on that server listed (each
will be a different line item in the list). You need to choose the one that
says “SMS Distribution Point”.
6. Now, double click on the selected item to open up its properties.
7. In the window that comes up, you’ll have three boxes with the middle one
having the properties. Put a check in Hide System Properties.
8. Scroll down in the list in the middle box and double click on the Property
“Props”.
9. In the Property editor window, click on the button that says View Embedded.
10. Now, there will be a complete list of all the properties of the
Distribution Point, each looking like “SMS_EmbeddedProperty=<no key>”.
11. You will need to find the entry with the PropertyName showing DPFlags by
double clicking each entry. (Don’t save any changes yet)
12. Once you have this entry pulled up, double click on the property called
“Value” and set it to “0” in the window that comes up.
13. Once the above is done, click the Save Property button and then Save Object
in the rest of the dialogs to ensure that the change that was made takes effect.
14. Wait for at least 5 minutes
15. Delete .DPU file for specific DP if exist
16. To take effect you have to restart the “SMSExec” service on the ConfigMgr
2012 Primary Site Server

Importing Package Loop during Distribution Point Migration

Once the service restarted, the DPFlags were set to “0” and the DPU were not see again. I still don’t know what causes this in the first place. All distribution Points were migrated the same way and only a couple had this behavior.

The post Importing Package Loop during Distribution Point Migration appeared first on System Center Dudes.


Step-by-Step SCCM 2012 R2 SP1 Upgrade Guide

$
0
0

Microsoft has recently announced the release of SCCM 2012 SP2 and SCCM 2012 R2 SP1. Before performing an SCCM 2012 R2 SP1 upgrade, we recommend that you read carefully all the available resources and carefully plan the upgrade process throughout your SCCM 2012 R2 hierarchy. The good news is that our SCCM 2012 R2 SP1 Upgrade Guide will list everything you need to know before applying this major upgrade to your existing SCCM 2012 installation. We’ve got you covered !

What’s new

The main reason you’ll want to upgrade to SCCM 2012 R2 SP1 is probably for Windows 10 support. No plan for Windows 10 deployment in your organisation? There’s interesting new features and a lots of bug fixes (thousands, which are not fully documented) in this release that are worth it. Do I still need to perform the SCCM 2012 R2 SP1 upgrade? See the full list of features on this Technet Article to figure it out.

Naming Confusion

Following the announcement, the community was confused on how to apply this Service Pack because Microsoft decide to release it under one binary even if there’s 3 possible “version” of SCCM 2012. (SCCM 2012 RTM, SCCM 2012 SP1, SCCM 2012 R2)

  • If you’re running SCCM 2012 SP1 (non-R2) the upgrade process will bring your site to SCCM 2012 SP2
  • If you want to upgrade to SCCM 2012 R2 SP1 afterward, you’ll need to run another executable which will enable the R2 features
  • If you’re already running SCCM 2012 R2, the upgrade process will bring your site to SCCM 2012 R2 SP1

Fellow MVP Jason Sandys explain all the upgrade options in an excellent post. The key is really to understand the upgrade process by identifying your actual version and the desired final version.

Prerequisites

Our post focus on what needs to be done to upgrade a stand-alone SCCM 2012 R2 Primary Site to SCCM R2 SP1. This post is not covering all the requirements and checklist steps needed if you’re running SCCM 2012 SP1 (non-R2).

If you have a hierarchy with a Central Administration Site and multiple Primary Site, start with the top of the hierarchy (CAS) and go down, upgrading all Primary Sites and Secondary Sites.

If you’re already running SCCM 2012 R2, the upgrade process won’t do a site reset :

From Technet: When you run this upgrade, it enables additional capabilities throughout your hierarchy. Because this upgrade enables additional functionality and does not upgrade features and components, there are no considerations or changes to settings or site system roles as there is when you install a new service pack.

Database Replication

If you have a database replica for management point, disable Database replication. If you don’t use this function, skip this step and go to the Backup and Testupgrade section

  • Open the SCCM Console, browse to Administration / Site Configuration /Servers and Site System Roles
  • Select the Site System that hosts the management point that uses the database replica
  • Right click Management point and select Properties

sccm 2012 r2 sp1 upgrade

  • On the Management Point Database tab, select Use the site database and click Ok

sccm 2012 r2 sp1 upgrade

  • Connect to the SQL server hosting the replica databases
  • Open SQL Management Studio
  • Go to  Replication / Local subscription
  • Right click the replica and select Delete. Select Yes to the warning prompt

sccm 2012 r2 sp1 upgrade

  • Right click the publisher database and select Delete. Select Close existing connections and click OK
  • Connect to the SQL server hosting the site database
  • Open SQL Management Studio
  • Go to Replication and select Disable Publishing and Distribution

sccm 2012 r2 sp1 upgrade

  • On the next screen, click Next
  • Select Yes, disable publishing on this server and click Next, Next, Next
  • Click Finish

Backup and TestUpgrade

  • Before upgrading, perform a backup of your SCCM database.
  • It is recommended to test your CM database before the upgrade.  Detailed procedure is available on Technet, here’s the resumed version :
    • Backup your site databse
    • Restore it on a SQL server running the same version as your SCCM SQL instance
    • On the SQL server, run the SCCM setup command line using the Testdbupgrade switch
    • Open the log file on C:\ConfigMgrSetup.log
    • If the process is successful, you can delete the database copy
    • If you have errors, resolve them on your SCCM server, do a new backup and restart this procedure

sccm 2012 r2 sp1 upgrade

After you successfully upgrade a copy of the site database, proceed with the “real” upgrade.

Running Console

Close all running console on the server. Check also if remotely logged users are running the console in their sessions. The setup won’t check that and you’ll endup having an error in the installation log at the end of the process.

ERROR: Configuration Manager console uninstallation failed. Check log file ConfigMgrAdminUISetup.log.

4410 (98)

Installation

The installation process is not like a CU installation. The user experience is like a new SCCM installation.

  • Download the necessary files. You can download the file from the Technet Evaluation Center. The non-eval files will be available on the Microsoft Volume Licensing Site on May 27th. You can install the evalutation version on a non-eval site without problem, it won’t “convert” your site to an evaluation version.
  • You’ll notice that there’s 2 available SP2 executables.
    • Refer to the table in Jason Sandys post to understand which one to run. (Depending of your actual site version and the desired final version)

sccm 2012 r2 sp1 upgrade

  • In our case, the site is already R2 so we extract the SC2012_SP2_Configmgr_SCEP.exe to a folder and execute Splash.hta
  • On the main menu, select Install

sccm 2012 r2 sp1 upgrade

  • On the Before You Begin screen, click Next

sccm 2012 r2 sp1 upgrade

  • On the Getting Started screen, select Upgrade this Configuration Manager site

sccm 2012 r2 sp1 upgrade

  • On the Microsoft Software License Terms, check I accept these license terms and click Next

sccm 2012 r2 sp1 upgrade

  • On the Prerequisite Licenses, check all 3 boxes and click Next

sccm 2012 r2 sp1 upgrade

  • On the Prerequisite Downloads screen, specify a location to download the prerequisite files. This folder can be deleted after the upgrade process

sccm 2012 r2 sp1 upgrade

  • The prerequisite files are downloading

sccm 2012 r2 sp1 upgrade

  • On the Server Language Selection screen, select the language you want to display in the SCCM Console and Reports

sccm 2012 r2 sp1 upgrade

  • On the Settings Summary screen, you will see that you are performing an Upgrade

sccm 2012 r2 sp1 upgrade

  • The Prerequisite Check is running

sccm 2012 r2 sp1 upgrade

  • You should have no errors since your site is already installed and running
  • Wait for Prerequisite checking has completed and click on Begin Install

sccm 2012 r2 sp1 upgrade

  • The installation is in progress. The installation will run for about 30 to 45 minutes depending of your server specifications
  • You can follow the progress by clicking the View Log button or open the ConfigMgrSetup.log file on the C:\ drive

sccm 2012 r2 sp1 upgrade

  • Wait for Core setup has completed and close the wizard

sccm 2012 r2 sp1 upgrade

Verification

Once the setup has completed, there’s a couple of check that you can make to be sure the upgrade process was successful.

  • C:\ConfigMgrSetup.log  – Display detailed installation steps

sccm 2012 r2 sp1 upgrade

Console

  • Open the SCCM Console and click on the upper left corner on the blue arrow and select About Configuration Manager
  • The Console has been upgraded to SP1
    • A new addition is the Site version which was not available on this screen before

sccm 2012 r2 sp1 upgrade

Site

  • Go to Administration / Site Configuration / Sites
  • Right-click your site and select Properties
  • The Site Version and Build Numbers has been upgraded to 5.00.8239.1000

sccm 2012 r2 sp1 upgrade

Clients

The site server client version will be upgraded to 5.00.8239.1000. A full list of client version is available on this post.

sccm 2012 r2 sp1 upgrade

Boot Image

  • Go to Software Library / Operating Systems / Boot Images
  • You’ll notice that the Boot Images has been automatically upgraded on your distribution points

sccm 2012 r2 sp1 upgrade

Packages

  • Go to Software Library / Application Management / Packages
  • The Configuration Manager Client Package has been automatically upgraded on your distribution points

sccm 2012 r2 sp1 upgrade

Database Replication

Enable the database replicas for Management Points,  if it was configured before the upgrade.

Updating the Clients and Consoles

Once your site is upgraded, you need to upgrade the clients and console to SP1.

Console

You can manually upgrade by browsing to .\ConfigMgrInstallationFolder\tools\ConsoleSetup and execute ConsoleSetup.exe on each computer running the console.

We suggest to create a package or application pointing on the same directory and deploy it using a collection.

All clients with the SCCM console installed

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = 'System Center 2012 R2 Configuration Manager Console'

Clients

To upgrade the clients, you have various options.

Automatic Client Upgrade

Using the Automatic Client Upgrade option, your client will be upgraded automatically within x days using the value specified

  • Go to Administration / Site Configuration / Sites
  • Click on the Hierarchy Settings button on the top ribbon
  • Check the Upgrade client automatically when new client updates are available
  • Select the desired number of days you want your upgrade to be run
  • A schedule task will be created on the clients and run within the specified number of days

sccm 2012 r2 sp1 upgrade

Client Push

Create manual collection and use the client push function to deploy your clients. This method gives you more control on the group of computer you are upgrading.

sccm 2012 r2 sp1 upgrade

I like to create a collection that targets clients without the latest SCCM 2012 R2 SP1 version. I use it to monitor which client haven’t been upgraded yet.

Here’s the query to achieve this: (You can also refer to our Set of Operational Collection Powershell Script which contain this query)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ClientVersion != '5.00.8239.1000'

Report

You can run our Client Health Check custom report to track your client versions.

Additional reference

Microsoft SCCM 2012 R2 SP1 FAQ

 

Happy updating ! :)

sccm 2012 r2 sp1 upgrade

The post Step-by-Step SCCM 2012 R2 SP1 Upgrade Guide appeared first on System Center Dudes.

Our favorite SCCM 2012 R2 SP1 New features

$
0
0

Microsoft announced the release of SCCM 2012 SP2 and SCCM 2012 R2 SP1. This service pack includes tons of new features. We covered the complete installation, now we decided to compile a list of our favorite SCCM 2012 R2 SP1 new features and we’ll be describing how to enable them and explain why they made the cut.

Preferred Management Points

Official description from Technet : Preferred management points enable a client to identify and prefer to communicate with a management point that is associated with its current network location or boundary. When configured, a client attempts to use a preferred management point from its assigned site before using a management point from its assigned site that is not configured as preferred.

Basically it means that you can assign your clients to a preferred management points like you did in the past for content (Distribution Points) using boundary groups. Cumulative Update 3 had a similar concept of Management Point affinity but it was not configurable using boundary groups.

Prior to CU3, if you wanted to assign clients to a specific management point, a primary sites or secondary sites were needed as Management Points are not site aware. Stand-alone MP in your hierarchy was just giving your clients new management point to be assign but they were not forced to use them.

This feature could means simplified hierarchy for many organisation.

To use Preferred Management Points:

  • Open the SCCM Console
  • Go to Administration / Site Configuration / Site
  • Click on Hierarchy Settings on the top ribbon

SCCM 2012 R2 SP1 new features

  • In the General Tab, select Clients prefer to use management points specified in boundary groups and click Ok

SCCM 2012 R2 SP1 new features

  • Go to Administration / Hierarchy Configuration / Boundary Groups
  • Create a new boundary group or select an existing one and select Properties
  • On the Reference tab
  • You’ll notice that the text has been modified to add Management Points to the list of site system servers
  • Click Add and select your desired management points

SCCM 2012 R2 SP1 new features

All clients in that specific boundary group will now be using the selected Management Point.

Task Sequence Retry

Task Sequence logic has been modified to have the ability to configure retry options for when a computer unexpectedly restarts during the Install Application or Install Software Updates steps.

If you’re heavily deploying computer using OSD, you certainly remember the list of software update which requires multiple restart that made your SCCM Task Sequence to fail . Prior to SCCM 2012 R2 SP1, the task sequence step does not retry and cannot suppress restarts so the software update installation fails if a restart occurs.

This is now fixed, here’s how to enable this feature:

  • Open the SCCM Console
  • Go to Software Library / Operating Systems / Task Sequences
  • Right-click your Task Sequence and select Edit
  • Go to the Install Software Update step
  • On the right pane, select the Options tab
  • Select Retry this step if the computer unexpectedly restarts and specify how many times to retry after a restart

SCCM 2012 R2 SP1 new features

Automatic Client Upgrade

You can now exclude servers from automatic client upgrade. This is self-explanatory and it’s a nice addition for upgrading your clients.

  • Open the SCCM Console
  • Go to Administration / Site Configuration / Site
  • Click on Hierarchy Settings on the top ribbon
  • On the Automatic Client Upgrade tab
  • A new check box Do not upgrade servers has been added to exclude servers

SCCM 2012 R2 SP1 new features

Deployment Verification

Did you ever deployed a required task sequence to the All Systems collection? I hope not, Deployment Verification will help avoid human mistakes by defining a risky OS deployment.

You define a maximum size of a collection to be displayed/hidden when creating Task Sequence deployments. This feature only applies to Operating System deployment and it’s not possible for Packages and Applications.

  • Open the SCCM Console
  • Go to Administration / Site Configuration / Site
  • Right-click your site and select Properties
  • You’ll have a new Deployment Verification tab
  • Select the value for your maximum collection size and the action you want to do on collection that contains site system servers

SCCM 2012 R2 SP1 new features

  • Go to Software Library / Operating Systems / Task Sequences
  • Right-click a Task Sequence and select Deploy
  • A warning will prompt saying that your deployment is a high risk deployment

SCCM 2012 R2 SP1 new features

  • On Select Collection screen, you’ll notice that some collections are hidden based on the settings you previously configured

SCCM 2012 R2 SP1 new features

Import Driver

In order to improve driver management, the Import Driver wizard  has a new validation phase and new filters were created to hide certains drivers.

  • Open the SCCM Console
  • Go to Software Library / Operating Systems / Drivers
  • Right-click Drivers and select Import Drivers
  • Enter your UNC path to your driver location and click Next
  • The new validation phase is in progress
    • Note that this is painfully slow. I’ve tested this in 3 environments and enumerating my drivers takes up to 5 minutes. There’s a Connect Bug filled for this, upvote it if you’re having the issue.

SCCM 2012 R2 SP1 new features

  • Once the validation phase is completed you see the new filters and new UI which is much more intuitive

SCCM 2012 R2 SP1 new features

When adding drivers to boot images, you have the same filters which allows to hide non storage/network drivers and hide drivers that do not match the architecture of the boot image.

The grid view gives a much more comprehensive view without having to click each drivers to see their details.

  • Open the SCCM Console
  • Go to Software Library / Operating Systems / Boot Images
  • Right-click your boot image and select Properties
  • You see the new UI which gives more details about drivers imported

SCCM 2012 R2 SP1 new features

  • Select the star icon to add new drivers to the boot image
  • You see the new filters and new UI which is much more intuitive

SCCM 2012 R2 SP1 new features

Configuration Manager and Microsoft Intune

There’s so many new functionalities and changes in SP1 that we will create a blog post just for that. In this post we decided to talk about the Compliance Policy feature.

In short, Compliance Policy is Desired Configuration Manager for mobile devices without remediation possibility. Yes, you could already do DCM for mobile before SP1 but Microsoft decided to implement it as a new feature in SP1. Maybe a long term plan is to remove all mobile platform from DCM but that’s just speculation.

A major difference of Compliance Policy compared to DCM is that you don’t need to create a Configuration Baseline in order to deploy it. You create the Compliance Policy and you deploy it. Simple as that.

To create a Compliance Policy :

  • Open the SCCM Console
  • Go to Assets and Compliance / Compliance Settings / Compliance Policies
  • Right-click Compliance Policies and select Create Compliance Policies

SCCM 2012 R2 SP1 new features

  • On the General tab, enter a Name, Description, severity for noncompliance and click Next

SCCM 2012 R2 SP1 new features

  • On the Supported Platforms, select the platform and click Next
    • For our post, we’ll create a policy for Windows Phone

SCCM 2012 R2 SP1 new features

  • On the Rules tab, select the desired rules and click Next
    • For now there’s not as much option as in DCM, we choose to create a policy for passwords

SCCM 2012 R2 SP1 new features

  • On the Summary tab, review your settings and click Next

SCCM 2012 R2 SP1 new features

  • Once created, the only step left is to deploy your policy. Right-click your policy and select Deploy

SCCM 2012 R2 SP1 new features

  • On the Deploy Compliance Policy window, select your users Collection to deploy the policy, the Alert settings, the Evaluation Schedule and click Ok

SCCM 2012 R2 SP1 new features

There still tons of new features that we’ve not covered in this blog post. We’re still playing with mobile devices features and we’ll certainly make a part 2 post covering thoses.

That’s it for now, what’s your favorite SP1 feature ?

SCCM 2012 R2 SP1 new features

The post Our favorite SCCM 2012 R2 SP1 New features appeared first on System Center Dudes.

Windows 10 Error Code 80240020

$
0
0

Windows 10 has just been released, Microsoft is calling it the biggest software update in history. With massive installations at the same time, many users has been reporting errors when upgrading. The most common error is Windows 10 error code 80240020. 

Microsoft explains this error in the following statementThis is an expected message indicating that when installation begins it may require user interaction.  This is the largest software upgrade event ever and we’re managing it so everyone has a great experience. We recommend waiting until your PC receives a notification to upgrade, and then following the instructions provided. 

Please note that there is no problem with your reservation or upgrade download. The upgrade download is not corrupt as some have stated, and you will be notified in the coming days or weeks when your device is ready to upgrade.

Windows 10 error code 80240020

Windows 10 error code 80240020

How to fix Windows 10 error code 80240020

Method 1 – Download folder

  • Go to C:\Windows\SoftwareDistribution\Download and delete all content in the Download folder. Do not delete the Download folder
  • Open an admin Command Prompt and type this command : wuauclt.exe /updatenow

Windows 10 error code 80240020

  • Go to Control Panel / Windows Update you will see Downloading Windows 10

Windows 10 error code 80240020

  • Once the download complete, restart your computer
  • You will get Windows 10 ready to upgrade window
  • Click Start the upgrade now, sit back and relax while your computer gets upgraded

Windows 10 error code 80240020

Method 2 – Registry Editor

If the first method fails, try this one. You will need to add a value in the registry editor. Be careful when modifying registry key.

  • Open the Registry Editor (Run / Regedit.exe)
  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
  • Create a new DWORD (32-bit) value
    • Name = AllowOSUpgrade
    • Value = 0x00000001

Windows 10 error code 80240020

  • Close Registry Editor and go to Control Panel / Windows Update
  • Click Check for Updates on the left
  • You should now be able to click the Get Started button to upgrade to Windows 10

Leave a comment if one of this method works for you. Happy updating.

The post Windows 10 Error Code 80240020 appeared first on System Center Dudes.

Managing Windows 10 with SCCM 2012

$
0
0

Since Windows 10 is out, there’s been a ton of information coming out from the SCCM product group. Many people gets confused at what’s needed for managing Windows 10 with SCCM 2012. The goal of this post is to centralize all those information so you can reach out when your organisation will be ready for managing Windows 10 with SCCM 2012.

[Updated 09/25/2015]

Requirement for Managing Windows 10 with SCCM 2012

Before you can manage and deploy Windows 10 in your organisation, you need to update your SCCM infrastructure.

  • Your site servers needs to be updated to SCCM 2012 R2 SP1 or SCCM 2012 SP2. Refer to our installation guide if it’s not the case.
  • You need to apply R2 SP1 Cumulative Update 1. Refer to our installation guide if it’s not the case.
  • You need to update your boot images to Win PE version 10. Refer to the Deployment section of this article.
  • If you need to integrate MDT with SCCM, update your MDT version to MDT Update 1. Refer to the Deployment section of this article.

Client Management

The official documentation is not yet updated but you can install the SCCM 2012 client on a Windows 10 device. has been updated to include the LTSB version of Windows 10 as an official supported OS.

The official statement from Microsoft is : These service packs (R2 SP1/SP2) deliver full compatibility with existing features for Windows 10 deployment, upgrade, and management.

Which means : All that you can do with older Operating System (Windows 7, Windows 8) can be done with Windows 10 in term of management. (Inventory, Remote Control, Software updates, Software deployment, Anti-Virus…). We’ll cover it all in the next sections of this post.

If you want to regroup your Windows 10 devices in a collection using a query, Windows 10 version is 10.0. (Not 6.4 as in the Tech Preview version)

Use the following query to create your Windows 10 collection :

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where OperatingSystemNameandVersion like '%Workstation 10.0%'

Our Set of Operational Collections has also been updated to include Windows 10 in its collection list.

Reference :

  • Product Group blog article – Announcing the availability of System Center 2012 R2 Configuration Manager SP1 and System Center 2012 Configuration Manager SP2

Software Update

If you want to deploy Software Update to your Windows 10 device, you just need to enable Windows 10 in your Software Update Point configuration.

  • Go to Administration / Sites Configuration / Sites
  • Select your most top site on which Software Update Point role is installed
  • Go on Configure Sites Components from the top ribbon
  • In the drop down menu, click on Software Update Point
  • In the Software Update Point Components Properties window, go on the Products tab
  • Check Windows 10 under the Windows section, and then click on OK
Managing Windows 10 with SCCM 2012
  • Go to Software Library / Software Updates / All Software Updates
  • Right click  All Software Updates and select Synchronize Software Updates

Managing Windows 10 with SCCM 2012

  • Once the Synchronization has completed, stay in All Software Updates and select Add Criteria on the right
  • Select Windows 10 in the Product list
  • At the time of this writing there’s 10 updates available

Managing Windows 10 with SCCM 2012

Endpoint Protection

We cover in depth this topic in a previous post. Long story short, Windows Defender is now managing your Endpoint Protection clients in SCCM.

Deployment

If you want to deploy Windows 10 computers using SCCM 2012, there’s a couple of things to know :

Windows Automated Deployment Kit (ADK)

You need the Windows 10 ADK to capture and deploy Windows 10 devices. You probably already have Windows 8.1 ADK installed on your SCCM Servers.

You must first uninstall the existing ADK, install the Windows 10 ADK and reboot your server before using it.

Make sure you upgrade the Windows ADK on all systems in the site that have it installed. This can include the site server, SMS Provider, and administrator consoles. The version of the Windows ADK needs to be consistent across all systems that leverage it.

Once you install the ADK for Windows 10 you will lose the ability to modify your WinPE 3.1, 4.0 or 5.0 boot images and you’ll only be able to modify WinPE 10 boot image. You can still use these down level boot images, you just can’t modify them in the SCCM console.

Windows PE 10 boot images supports deployments of Windows 7 through Windows 10.

Reference :

  • Product Group blog article – Windows 10 ADK and Configuration Manager
  • MSDN article – Download kits and tools for Windows 10

In-place upgrade

In-place upgrade Task Sequences are not available out of the box in SCCM 2012 R2 SP1. If you want to upgrade your existing Windows 7 or Windows 8 computer to Windows 10 using an in-place task sequence, you must do it manually using custom scripts provided by the product team. SCCM Vnext will have this feature when it ships Q4 2015.

Reference :

  • In-Place Upgrade Task Sequence Part 1 – How to upgrade to Windows 10 using the task sequence in System Center 2012 R2 Configuration Manager
  • In-Place Upgrade Task Sequence Part 2 – Revised content for the Windows 10 in-place upgrade via task sequence for Configuration Manager

MDT

If you are using MDT in your organisation to build your Windows 10 images or integrated with SCCM, the new MDT 2013 Update 1 version supports it.

MDT 2013 Update 1 is available through this link.

Reference :

  • Product Group blog article – MDT 2013 Update 1 Now Available

Future

The official statement from Microsoft is : The next version of System Center Configuration Manager will deliver full support for client deployment, upgrade, and management of Windows 10 and associated updates.

This means that you won’t be able to manage Windows 10 Service Branches using SCCM 2012.

If you are using MDT 2013, you will need to wait for the next release of MDT (MDT 2013 Update 1) to deploy Windows 10. This is due for end of August 2015.

Reference :

  • Product Group blog article – Windows 10 enterprise management with System Center Configuration Manager and Intune
  • Product Group blog article – Windows 10 ADK release and MDT 2013 Update 1 plans

We hope you enjoy reading this article, with a new version of Windows comes new challenges. We’ll update this blog post as soon as Microsoft release more information about managing Windows 10 with SCCM 2012.

Visit our consulting service page if you need help deploying or managing Windows 10 with SCCM 2012.

The post Managing Windows 10 with SCCM 2012 appeared first on System Center Dudes.

Step-by-Step SCCM 2012 R2 SP1 CU2 Installation guide

$
0
0

Cumulative Update 2 (CU2) for SCCM 2012 R2 SP1 and SCCM 2012 SP2 is now available. This post is a complete step-by-step SCCM 2012 R2 SP1 CU2 Installation guide. If you’re looking for a complete SCCM 2012 installation guide, see our blog series which covers it all.

Installing SCCM cumulative updates is very important to your infrastructure. It fix lots of issues, which some of them are important. Microsoft recommends installing Cumulative Updates if you are affected by a resolved issues. If you are not on SCCM 2012 R2 SP1 or SCCM 2012 SP2, the latest CU is Cumulative Update 5.

As this is a cumulative update, you don’t have to install prior CU(1) before installing CU2. CU2 contains all the fixes included in previous CU.

Improvements/Fixes

There’s no new major functionality in CU2. This update contains fixes for issues in various areas including software distribution and content management; operating system deployment; site systems and mobile device management. In addition, it applies the latest KB and fixes known bugs. Follow this Microsoft Support page to see a full list of issues that are fixed.

PowerShell changes are no longer included in CU as described in our previous post. You won’t find any changes in PowerShell following this CU.

Before you begin

Installing this update is very similar to prior CU. I’ll guide you through the upgrade process step-by-step in a standalone primary scenario.

This update can be applied directly to the following Systems/Roles:

  • The Central Administration Site (CAS)
  • Primary Site
  • Secondary Site
  • SMS Provider
  • Configuration Manager Console

In this guide, we’ll be updating a Primary Site Server, console and clients.

SCCM 2012 R2 SP1 CU2 Installation guide

To start the installation, lauch a remote desktop session on your Primary Site Server, and run CM12_SP2R2SP1CU2-KB3100144-X64-ENU.exe

A log file will be created in C:\Windows\Temp\CM12_SP2R2SP1CU2-KB3100144-X64-ENU.log

  • On the Welcome Screen, click Next

SCCM 2012 R2 SP1 CU2 Installation guide

  • Accept the license agreement, and click Next

SCCM 2012 R2 SP1 CU2 Installation guide

  • Ensure that everything is green, and click Next. On the screenshot, a restart is required before installing the CU

SCCM 2012 R2 SP1 CU2 Installation guide

  • Check the box to update the console, click Next

SCCM 2012 R2 SP1 CU2 Installation guide

  • Select Yes, update the site database, click Next

SCCM 2012 R2 SP1 CU2 Installation guide

  • If the Automatic Client Upgrade feature is enabled on a Site Server, the wizard will present the Automatic Client Update screen :
  • Choosing the Automatically apply option results in following steps:
    • Places the most recent client patch file on the site server
    • Updates content on the distribution points for this site and any child sites. Note this only occurs when the cumulative update runs on the Central Administration Site (CAS)
    • Updates the client package on the Management Point of the local site; this source is used in the event there are no distribution points available for client installation
    • Future client installations using the Client Push method will apply the new patch automatically
    • The time frame for updating the client depends on your Automatic Client Upgrade settings
  • If you chose the Manually Apply option, you will need to update your client manually as in prior CU (See our Updating the clients section)

SCCM 2012 R2 SP1 CU2 Installation guide

  • Check all 3 checkbox (Server, Console and Clients), click Next

SCCM 2012 R2 SP1 CU2 Installation guide

  • Edit the package name and program to your need, click Next

SCCM 2012 R2 SP1 CU2 Installation guide

SCCM 2012 R2 SP1 CU2 Installation guide

SCCM 2012 R2 SP1 CU2 Installation guide

  • Review the Summary page, click Install

SCCM 2012 R2 SP1 CU2 Installation guide

  • Installation is in progress

SCCM 2012 R2 SP1 CU2 Installation guide

  • You can follow the installation progress in the log file (C:\Windows\Temp\CM12_SP2R2SP1CU2-KB3100144-X64-ENU.log)

SCCM 2012 R2 SP1 CU2 Installation guide

  • When setup is complete, click Next and then Finish

SCCM 2012 R2 SP1 CU2 Installation guide

Verification

Consoles

After setup is completed, launch the System Center 2012 Configuration Manager Console and verify the build number of the console. If the upgrade was successful, the console build number will be 5.0.8239.1301.

SCCM 2012 R2 SP1 CU2 Installation guide

Servers

Open registry editor and check the HKLM\Software\Microsoft\SMS\Setup\ key. If the installation succeeded CULevel key value will be 2.

SCCM 2012 R2 SP1 CU2 Installation guide

You can also verify both client and console version using PowerShell :

  • Server : Get-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\SMS\Setup -Name “CULevel”
  • Console : (Get-Item ($env:SMS_ADMIN_UI_PATH.Substring(0,$env:SMS_ADMIN_UI_PATH.Length – 5) + ‘\Microsoft.ConfigurationManagement.exe’)).VersionInfo.FileVersion

SCCM 2012 R2 SP1 CU2 Installation guide

Clients

The client version will be updated to 5.0.8239.1301 (after updating, see section below)

8131 (24)

This update also brings the anti-malware client version to 4.7.0209.0. You can find the version information by clicking About on the Help menu of the Endpoint Protection client UI.

Package distribution

Navigate to Software Library / Packages / Configuration Manager Updates

  • You’ll see that your CU2 updates packages are created

SCCM 2012 R2 SP1 CU2 Installation guide

  • Go ahead and Distribute Content to your distribution points

SCCM 2012 R2 SP1 CU2 Installation guide

Boot Images

  • Open the SCCM Console
  • Go to Software Library / Operating Systems / Boot Images
  • Select your boot image, right-click and select Update Distribution Points
  • Repeat the steps for all your boot images

Updating the Clients

If you select the Automatically Apply option in the installation wizard, your client will update using your time frame settings.

  • Open the SCCM Console
  • Go to Administration / Site Configuration / Sites
  • Click the Hierarchy Settings in the top ribbon
  • Select Automatic Client Upgrade tab
  • The Upgrade client automatically when the new client update are available checkbox has been enabled
  • Review your time frame and adjust it to your needs

SCCM 2012 R2 SP1 CU2 Installation guide

If you select the Manually Apply option in the wizard, you will need to update your client manually.

This update contains 2 update packages for client installations. One for 32-bit clients and one for 64-bit clients.

Create two collections for the client upgrade. (If not already done in previous CU)

All-x64-based Clients

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.SystemType = "X64-based PC"

All-x86-based Clients

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.SystemType = "X86-based PC"

Adjust the package options to fit your environments and deploy the update to your clients.

Once deployed I like to create a collection that targets clients without the latest CU. I use it to monitor which client haven’t been updated yet.

Here’s the query to achieve this: (You can also refer to our Set of Operational Collection Powershell Script)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ClientVersion != '5.0.8239.1301'

Happy updating ! :)

The post Step-by-Step SCCM 2012 R2 SP1 CU2 Installation guide appeared first on System Center Dudes.

Step-by-Step SCCM 1511 Upgrade Guide

$
0
0

Microsoft has just announced the release of SCCM 1511. Before performing your SCCM 1511 upgrade, we recommend that you read all the available resources and carefully plan the upgrade process throughout your SCCM 2012 R2 SP1 hierarchy. The good news is that our SCCM 1511 Upgrade Guide will list everything you need to know before applying this major upgrade to your existing SCCM 2012 installation. We’ve got you covered !

In this blog post, we will guide you through the whole upgrade process to bring your existing SCCM 2012 R2 SP1 to SCCM 1511. See our complete installation guide if your starting from scratch.

New Features

SCCM 1511 brings a whole new set of features. Don’t get surprised, the gap isn’t as big as 2003 to 2007 or 2007 to 2012. The console has the same look and concepts are the same. If you’re upgrading from 2012, the upgrade process is similar as applying a Service Pack. No need to do a side-by-side migration which is a pretty good news !

We suggest to read our blog post to know everything about the new features before upgrading.

Naming Convention

You may wonder why Microsoft has decided to name the next version of SCCM that way. You may heard the name SCCM Vnext or SCCM 2016 but the final name is simply SCCM. This is due to the fact that SCCM is now part of the new SaaS platform which means that its update cycle will be much quicker than before. Each new version will be named as SCCM YYMM (Year Month). The first release is 1511 (for November 2015). Microsoft needed a way to keep the same upgrade pace than Windows 10 and decided to opt for the same naming convention which makes sense. Here’s chances that a new build of Windows will simultaneously bring a new SCCM build.

Upgrade Path

Depending your actual SCCM version you have different options :

  • You can upgrade directly to SCCM 1511 if you’re running the following versions.  Keep reading, this guide is for you ! (Cumulative Update are not mandatory)
    • SCCM 2012 SP1
    • SCCM 2012 SP2
    • SCCM 2012 R2
    • SCCM 2012 R2 SP1
  • If you’re running SCCM 2012 (non-SP), you need to apply first  Service Pack 1 or Service Pack 2 before upgrading. Use our blog post to apply it and come back to this guide afterward
  • If you’re running a Technical Preview on your lab server. Completely uninstall it before doing a fresh install. An upgrade is not supported from a Technical Preview version
  • If you’re running SCCM 2007 a side-by-side migration is still possible but you must first start by a fresh install on a separate server. Supported SCCM 2007 is SP2+
  • If you’re running SMS 2003, you seriously need to upgrade your remaining XP computers !
  • If you’re not running any version of SCCM in your environment, refer to our full installation guide

Prerequisites

  • Our post focus on what needs to be done to upgrade a stand-alone SCCM 2012 R2 SP1 Primary Site to SCCM 1511
  • If you have a hierarchy with a Central Administration Site and multiple Primary Site, start with the top of the hierarchy (CAS) and go down, upgrading all Primary Sites and Secondary Sites.
  • You need to upgrade your ADK version to version 10 before the upgrade process. See section Windows Automated Deployment Kit (ADK) of our Windows 10 blog post to know how to upgrade. Also consult this blog post from the product group to use the right version of ADK 10, there’s a bug in the latest release
  • If you’re planning to use Windows 10 Servicing, you need to consider applying this important WSUS update to your Windows Server. This hotfix is only available for Windows 2012, if you’re running your Software Update Point on Windows 2008, consider moving your SUP to a Windows 2012 server
  • Review the upgrade checklist from Technet

Database Replication

If you have a database replica for management point, disable Database replication. If you don’t use this function, skip this step and go to the Backup and TestDBupgrade section

  • Open the SCCM Console, browse to Administration / Site Configuration / Servers and Site System Roles
  • Select the Site System that hosts the management point that uses the database replica
  • Right click Management point and select Properties

sccm 2012 r2 sp1 upgrade

  • On the Management Point Database tab, select Use the site database and click Ok

sccm 2012 r2 sp1 upgrade

  • Connect to the SQL server hosting the replica databases
  • Open SQL Management Studio
  • Go to  Replication / Local subscription
  • Right click the replica and select Delete. Select Yes to the warning prompt

sccm 2012 r2 sp1 upgrade

  • Right click the publisher database and select Delete. Select Close existing connections and click OK
  • Connect to the SQL server hosting the site database
  • Open SQL Management Studio
  • Go to Replication and select Disable Publishing and Distribution

sccm 2012 r2 sp1 upgrade

  • On the next screen, click Next
  • Select Yes, disable publishing on this server and click Next, Next, Next
  • Click Finish

Backup and TestDBUpgrade

  • Before upgrading, perform a backup of your SCCM database.
  • It is recommended to test your Configuration Manager database before the upgrade.  Detailed procedure is available on Technet, here’s the resumed version :
    • Backup your site databse
    • Restore it on a SQL server running the same version as your SCCM SQL instance
    • On the SQL server, run the SCCM setup command line using the Testdbupgrade switch
    • Open the log file on C:\ConfigMgrSetup.log
    • If the process is successful, you can delete the database copy
    • If you have errors, resolve them on your SCCM server, do a new backup and restart this procedure

sccm 2012 r2 sp1 upgrade

After you successfully upgrade a copy of the site database, proceed with the “real” upgrade.

Running Console

Close all running consoles on the server. Check also if remotely logged users are running the console in their sessions. The setup won’t check that and you’ll endup having an error in the installation log at the end of the process.

ERROR: Configuration Manager console uninstallation failed. Check log file ConfigMgrAdminUISetup.log.

4410 (98)

SCCM 1511 Upgrade Installation

If you just upgraded to SCCM 2012 R2 SP1, you’ll recognize the process. The user experience is similar to a new SCCM installation or Service Pack.

SCCM 1511 Upgrade

  • Mount the ISO File and run Splash.hta

sccm 1511 upgrade

  • On the main menu, select Install

sccm 1511 upgrade

  • On the Before You Begin screen, click Next

sccm 1511 upgrade

  • On the Getting Started screen, select Upgrade this Configuration Manager site

sccm 1511 upgrade

  • On the Microsoft Software License Terms, check I accept these license terms and click Next

sccm 1511 upgrade

  • On the Prerequisite Licenses, check all 3 boxes and click Next

sccm 1511 upgrade

  • On the Prerequisite Downloads screen, specify a location to download the prerequisite files. This folder can be deleted after the upgrade process

sccm 1511 upgrade

  • The files are downloading

sccm 1511 upgrade

  • On the Server Language Selection screen, select the language you want to display in the SCCM Console and Reports

sccm 1511 upgrade

  • On the Client Language Selection screen, specify the display language for your clients

sccm 1511 upgrade

  • On the Usage Data screen, click Next. This new screen basically tells that you accept that you will send some telemetry data to Microsoft

sccm 1511 upgrade

  • If you have an Windows Intune Connector enabled, you won’t have the Service Connection Point screen during the upgrade process. The Windows Intune Connector will be automatically replaced by a Service Connection Point
  • On the Service Connection Point screen, click Next. Connecting to the service enables your hierarchy to stays updated

9684 (20)

  • On the Settings Summary screen, you will see that you are performing an Upgrade, click Next

sccm 1511 upgrade

  • The Prerequisite Check is running
  • You should have no errors since your site is already installed and running
  • Wait for Prerequisite checking has completed and click on Begin Install

sccm 1511 upgrade

  • The installation is in progress. The installation will run for about 30 to 45 minutes depending of your server specifications
  • You can follow the progress by clicking the View Log button or open the ConfigMgrSetup.log file on the C:\ drive

sccm 1511 upgrade

  • Wait for Core setup has completed and close the wizard

sccm 1511 upgrade

Verification

Once the setup has completed, there’s a couple of check that you can make to be sure the upgrade process was successful.

  • C:\ConfigMgrSetup.log  – Display detailed installation steps. Funny easter egg here, still written Configuration Manager 2012.

sccm 1511 upgrade

Console

  • Open the SCCM Console and click on the upper left corner on the blue arrow and select About Configuration Manager
  • The Console has been upgraded to SCCM 1511 – 5.00.8325.100

sccm 1511 upgrade

Site

  • Go to Administration / Site Configuration / Sites
  • Right-click your site and select Properties
  • The Site Version and Build Numbers has been upgraded to 5.00.8325.1000

sccm 1511 upgrade

Clients

The site server client version will be upgraded to 5.00.8325.1000. A full list of client version is available on this post.

Boot Image

  • Go to Software Library / Operating Systems / Boot Images
  • Validate that the Boot Images has been automatically upgraded to WinPE 10 on your distribution points

sccm 1511 upgrade

Packages

  • Go to Software Library / Application Management / Packages
  • Validate that the Configuration Manager Client Package has been automatically distributed on your distribution points

sccm 1511 upgrade

Post Upgrade

Upgrading your Secondary Sites

If you have any Secondary Sites, you need to manually upgrade them after the migration.

  • Go to Administration / Site Configuration / Sites
  • Select your Secondary Site and click Upgrade on the top ribbon

SCCM 1511 upgrade

  • Click Yes to confirm
  • You can follow the process by selecting the Show Install Status option on the top ribbon

SCCM 1511 upgrade

Intune

If you use Intune with SCCM, at the top-level site upgrades, install a service connection point. This site system role must also be reconfigured with your Intune subscription.

Database Replication

Enable the database replicas for Management Points,  if it was configured before the upgrade.

Maintenance Tasks

Reconfigure any database maintenance tasks you disabled prior to the upgrade. If you disabled database Maintenance tasks for SCCM at a site prior to the upgrade, reconfigure those tasks at the site using the same settings that were in place prior to the upgrade

Updating the Clients and Consoles

Once your site is successfully upgraded, you need to upgrade the clients and console to SCCM 1511. A lower version of the console won’t be able to connect to a newer site. A outdated client will still be able to communicate with your Management Point but we recommend to update them.

Console

You can manually upgrade by browsing to .\ConfigMgrInstallationFolder\tools\ConsoleSetup and execute ConsoleSetup.exe on each computer running the console.

We suggest to create a package or application pointing on the same directory and deploy it using a collection.

All clients with the SCCM console installed

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = 'System Center 2012 R2 Configuration Manager Console'

Clients

To upgrade the clients, you have various options :

Automatic Client Upgrade

Using the Client Upgrade option, your client will be upgraded automatically within x days using the value specified

  • Go to Administration / Site Configuration / Sites
  • Click on the Hierarchy Settings button on the top ribbon
  • On the Client Upgrade tab
  • Check the Upgrade client automatically when new client updates are available
  • Select the desired number of days you want your upgrade to be run
  • A schedule task will be created on the clients and run within the specified number of days

sccm 1511 upgrade

Client Push

Create manual collection and use the client push function to deploy your clients. This method gives you more control on the group of computer you are upgrading.

SCCM 1511 Upgrade

I like to create a collection that targets clients without the latest SCCM 1511 version. I use it to monitor which client haven’t been upgraded yet.

Here’s the query to achieve this: (You can also refer to our Set of Operational Collection Powershell Script which contain this query and 47 others that you see in the previous screenshot)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ClientVersion != '5.00.8325.1000'

Report

You can run our Client Health Check custom report to track your client versions.

sccm 1511 upgrade

Additional reference

Planning to Upgrade System Center 2012 Configuration Manager

Official Configuration Manager documentation

If you need further help to understand and configure various SCCM site component, consult our Step-by-Step SCCM 1511 Installation Guide blog series. It covers all you need to know.

Happy updating ! :)

sccm 2012 r2 sp1 upgrade

The post Step-by-Step SCCM 1511 Upgrade Guide appeared first on System Center Dudes.

Upgrade to Internet Explorer 11 with SCCM

$
0
0

Last week, Microsoft announced the end of support for older version of Internet Explorer . Many organisations will need to upgrade to Internet Explorer 11 soon. This post will describe how to upgrade to Internet Explorer 11 with SCCM.

There’s multiple ways to upgrade your Internet Explorer :

All of theses options were tested and the fastest installation is by using Task sequence because of the ability to manage restart and multiple consecutive steps to get everything installed in one deployment. IEAK could also do that, but we never had much success with it.

Task sequence are made for OS Deployment, but they can be very useful with complex application deployment.

In this post, we will cover :

Required download to upgrade to Internet Explorer 11 with SCCM

The key to a successful Internet Explorer 11 upgrade is to have all the required files in the right format. Here’s everything that you need :

  • Download Prerequisite KB
    • Validate which KB are required for your environment and download all required
  • Download Internet Explorer 11 for IT Pro
    • X86 – Download all the different language needed
    • X64 – Download all the different language needed
  • Download Enterprise Mode for Internet Explorer
  • If you are using a Windows 7 Enterprise with MUI, you will need to do the same for Internet Explorer 11

Keep all original files as they will be used in different ways to update or to inject in OSD.

SCCM Task Sequence Method

This method is great to have complete control of the deployment and be sure that one deployment will get everything needed for updating to Internet Explorer 11.

Pre-requisite package

  • The downloaded prerequisites KB are MSU files. We need the extracted the .CAB files from those .MSU files.

SCCM internet explorer 11 update

  • Run the following command for each .MSU :
Extract .CAB from .MSU
wusa E:\Source\Microsoft\IE\Source\Prerequisites\Windows6.1-KB2882822-x86.msu /extract:E:\Source\Microsoft\IE\Source

SCCM internet explorer 11 update

  • This provide many files, only the .CAB is important

SCCM internet explorer 11 update

  • Add all .CAB files in a folder

SCCM internet explorer 11 update

  • We will now create a batch file to insert each .CAB using DISM
    • Create a new batch file (install.cmd) in the folder where you saved your .CAB files
    • Add this line for each .CAB files (change the .CAB file name in each line)
DISM Add-Package
dism.exe /online /add-package /packagepath:.\Windows6.1-KB2834140-v2-x86.cab /quiet /norestart

SCCM internet explorer 11 update

  • Create a new package in SCCM that will be use for the IE Prerequisite
  • Open the SCCM Console
  • Go to Software Library / Application Management / Packages
  • Right-Click Package and select Create Package
  • Create a standard program
    • Command line – cmd /c install.cmd
    • After Running – Program controls restart
  • This is required as the task sequence will automatically detect a restart pending error code (3010)

 SCCM internet explorer 11 update

  • Your Internet Explorer Prerequisite package is created and ready to deploy

SCCM internet explorer 11 update

Internet Explorer 11 Package

Create a standard package for each Internet Explorer languages you need.

  • Open the SCCM Console
  • Go to Software Library / Application Management / Packages
  • Right-Click Package and select Create Package
  • Create a standard program. (Be sure to change the .exe file to your language)
    • Command line – IE11-Windows6.1-x86-fr-fr.exe /quiet /closeprograms /norestart /log:C:\temp\
    • After Running – Program controls restart
  • This is required as the task sequence will automatically detect a restart pending error code (3010)

 SCCM internet explorer 11 update

  • Your Internet Explorer 11 package is created and ready to deploy

SCCM internet explorer 11 update

Enterprise Mode for Internet Explorer 11 Package

Create a standard package for Enterprise Mode for Internet Explorer 11

  • Open the SCCM Console
  • Go to Software Library / Application Management / Packages
  • Right-Click Package and select Create Package
  • Create a standard program
    • Command line – wusa.exe IE11-Windows6.1-KB2929437-x86.msu /quiet /norestart
    • After Running – Program controls restart
  • This is required as task sequence automatically detect 3010 restart pending

  SCCM internet explorer 11 update

  • Your Enterprise Mode for Internet Explorer package is created and ready to deploy

SCCM internet explorer 11 update

Multi Language Consideration

Create a standard package for each MUI.

  • Open the SCCM Console
  • Go to Software Library / Application Management / Packages
  • Right-Click Package and select Create Package
  • Create a standard program
    • Command line – wusa.exe IE11-Windows6.1-KB2929437-x86.msu /quiet /norestart
    • After Running – Program controls restart
  • This is required as task sequence automatically detect 3010 restart pending

Task Sequence

We will now create the Task Sequence to deploy our package we just created.

  • Open the SCCM Console
  • Go to Software Library / Operating Systems / Task Sequences
  • Right-click Task Sequence and select Create Task Sequence

SCCM internet explorer 11 update

  • Select Create a new custom task sequence, click Next

SCCM internet explorer 11 update

  • Enter the desired name
  • Do NOT add a boot image, click Next

SCCM internet explorer 11 update

  • On the Summary tab, click Next

SCCM internet explorer 11 update

  • On the Completion tab, click Close

SCCM internet explorer 11 update

  • Select your Task Sequence
  • On the top ribbon, click Edit

SCCM internet explorer 11 update

  • Click Add / Software / Install Package
  • Add your previously created package in this order
    • Prerequisites
    • Internet Explorer 11
    • Internet Explorer Enterprise Mode
  • Each Install Package task has the right to restart the computer if necessary
  • Each task will return a 3010 error code (Success but restart required), the task sequence will automatically initiate a restart
  • At the end of the Task Sequence, we will add a restart to successfully apply GPO for IE11 and Enterprise mode if needed
  • Click Add / General / Restart Computer
  • This is the expected result :

SCCM internet explorer 11 update

Results

This method will automatically reboot the computer 4 times. Overnight deployment and communication plan might be a good idea

On a deployed computer, Internet Explorer 11 will be installed as well as all prerequisite KB and Enterprise mode.

SCCM internet explorer 11 update

SCCM internet explorer 11 update

How to inject Internet Explorer 11 in OS Deployment Task Sequence

Internet Explorer 11 OSD Source Files

As stated in the required downloads section, the downloaded files will be used in a different manner to inject all required updates in OS Deployment.

  • Create a new folder with the following directories

SCCM internet explorer 11 update

  • Add the downloaded Prerequiste MSU files to Prerequisites folder

SCCM internet explorer 11 update

  • Add the downloaded Enterprise Mode MSU file to EnterpriseMode folder

SCCM internet explorer 11 update

  • Extract the required file from Internet Explorer executable
Extract Internet Explorer required files
IE11-Windows6.1-x86-en-us.exe /x:<destination path>

SCCM internet explorer 11 update

  • Add the theses extracted files to the IE11 folder :
    •  IE-Hyphenation-en.MSU
    •  IE-Spelling-en.MSU
    • IE-Win7.CAB

SCCM internet explorer 11 update

  • Add the language pack MSU file to LanguagePack folder
    • This will only work with Windows 7 Enterprise
    •  If you are using Windows 7 Pro, this folder is not necessary.  You will need multiple package for the Internet Explorer 11 extracted file to match the OS language.

SCCM internet explorer 11 update

Internet Explorer 11 OSD Package

  • Open the SCCM Console
  • Go to Software Library / Application Management / Packages
  • Right-Click Package and select Create Package
  • Name – Internet Explorer – OSD
  • No program is needed. We will use this package later.

SCCM internet explorer 11 update

Inject Internet Explorer 11 in Task Sequence

This method can be used in a Build and Capture task sequence as well as a Deploy task sequence. It will add Internet Explorer offline (using DISM) to the Windows Installation.

  • Select your Task Sequence
  • On the top ribbon, click Edit
  • Add a new group under the Apply Driver section and before the Setup Operating system group

SCCM internet explorer 11 update

  • Click Add / General / Run Command Line 3 times to add 3 steps to the new group
  • Command #1 – Install IE 11 Prereq
    • Command line – Dism /image:%OSDrive%\ /ScratchDir:”%OSDRIVE%\Windows\Temp” /Add-Package /PackagePath:”.\Prerequisites”
    • Check the Package box and select the package created in the previous step

SCCM internet explorer 11 update

  • Command #2 – Install IE 11
    • Command line – Dism /image:%OSDrive%\ /ScratchDir:”%OSDRIVE%\Windows\Temp” /Add-Package /PackagePath:”.\IE11″
    • Check the Package box and select the package created in the previous step

SCCM internet explorer 11 update

  • Command #3 – Install Enterprise mode
    • Command line – Dism /image:%OSDrive%\ /ScratchDir:”%OSDRIVE%\Windows\Temp” /Add-Package /PackagePath:”.\EnterpriseMode\IE11-Windows6.1-KB2929437-x86.msu”
    • Check the Package box and select the package created in the previous step

SCCM internet explorer 11 update

  • If needed,
  • Command #4 – Install Language pack
    • Command line – Dism /image:%OSDrive%\ /ScratchDir:”%OSDRIVE%\Windows\Temp” /Add-Package /PackagePath:”.\LanguagePack\IE11-Windows6.1-LanguagePack-x64-fr-fr.msu”
    • Check the Package box and select the package created in the previous step
Important Note
 if you are doing theses steps for Windows 7 x64, you must check the Disable 64-bit file system redirection checkbox on all command line.

SCCM internet explorer 11 update

Happy Upgrade!

The post Upgrade to Internet Explorer 11 with SCCM appeared first on System Center Dudes.


How to perform a Testdbupgrade before SCCM Installation

$
0
0

Before upgrading to SCCM 1511, it’s recommended to perform a test upgrade on a copy of your production database. We briefly cover the topic on our SCCM 1511 Upgrade post but we wanted to provide a step-by-step procedure. This procedure is not mandatory but gives you a head-ups on installation error you may encounter before your upgrade.

Step 1 | Prepare your environment for SCCM Installation Testdbupgrade

To test the database for an upgrade, you must copy the site database to a SQL instance that does not host SCCM. The SQL version must run the same edition and version of your production SQL.

  • Start by creating a new VM or connect to an existing SQL server that can host your SCCM database.
  • Install the right SQL version. Follow our post on how to install SQL Server if needed.

Step 2 | Backup your database

Once your SQL server is ready to receive the database copy, browse to your latest SCCM Backup.

We will use the SCCM Backup Maintenance task for this post but it’s also supported to use the SQL Database backup.

To see where SCCM backups are stored go to :

  • Open the SCCM Console
  • Go to Administration / Site Configuration / Sites
  • Click on Site Maintenance on the top ribbon
  • Select Backup Site Server, click on Edit

SCCM installation testdbupgrade

  • Take note of the path where your backup are done and browse to that location

SCCM installation testdbupgrade

  • Copy the .MDF and .LDF file to the SQL Server that will be performing the test upgrade

SCCM installation testdbupgrade

If you don’t have a backup, enable the task and schedule it. You can also initiate a manual backup if you want the files now.

  • Go to Monitoring / System Status / Site Status
  • Click on Start / Configuration Manager Service Manager

SCCM installation testdbupgrade

  • Browse to SMS_SITE_BACKUP, right-click it select Query then Start

SCCM installation testdbupgrade

Step 3 | Attach the database copy

We are now ready to perform the test upgrade.

  • Connect to your SQL Server
  • Open SQL Management Studio
  • In the Object Explorer pane, right-click Database and select Attach

SCCM installation testdbupgrade

  • In the Attach Databases screen, click on Add

SCCM installation testdbupgrade

  • Select the MDF file that you copied from the SCCM backup, click Ok

SCCM installation testdbupgrade

  • On the bottom pane, resolve any issues displayed in the Message column. In my example the M: and N: drive are Not Found since they don’t exist on this machine. Click on the  button and point correctly at the Data and Log file
  • Click Ok

SCCM installation testdbupgrade

  • The Message box will remove errors

SCCM installation testdbupgrade

  • The database will be attached

SCCM installation testdbupgrade

We will now check that we have the proper rights on the database

  • Click on Security / Logins
  • Right click your user and select Properties (or create a New Login if your Login is not existing)

SCCM installation testdbupgrade

  • In the User Mapping tab, select the database you just attached and select the db_owner role membership

SCCM installation testdbupgrade

Step 4 | Test the upgrade

We will now launch the SCCM Setup using the switch to test the database migration

  • On the same machine that you attach the database
  • Mount the SCCM ISO
  • Go to \SMSSETUP\BIN\X64
  • Run the following command: (change the database name to refect your name)
Setup /testdbupgrade
setup.exe /testdbupgrade CM_SCD

SCCM installation testdbupgrade

  • The Installation Prerequisite Check windows will open
  • Click on Begin TestDBUpgrade button

SCCM installation testdbupgrade

  • On the warning window, click Yes

SCCM installation testdbupgrade

  • The Installation Prerequisite Check windows will close
  • You need to monitor the progress in the log file located on C:\ConfigMgrSetup.log

SCCM installation testdbupgrade

  • The process took about 20 minutes for a 6.7gb database
  • When completed you’ll have the following line in the log : Configuration Manager Setup has successfully upgraded the database
  • Close the log

SCCM installation testdbupgrade

If you had no error, you can delete the file you imported from your backup and proceed to your real SCCM Upgrade on your production server.

The post How to perform a Testdbupgrade before SCCM Installation appeared first on System Center Dudes.

Pull DP Upgrade Consideration in Large Environment

$
0
0

Many challenges come with managing and maintaining  System Center Configuration Manager in large environment. In previous posts, we covered how to limit Pull DP bandwidth and How to manage Pull DP with collections to ease management in large environment. Probably the biggest challenge with large environment,  is to keep SCCM up to date.

In this post, we will provide in depth details, considerations and useful tips on Pull DP upgrade for large SCCM environment. The goal is to provide ways to prevent upgrades of SCCM to become a nightmare by taking more time than planned and/or heavy hit on the network. We will cover theses subjects :

  • Automatic package update and distribution
  • How to work around automatic package update and distribution
  • Pre-requisite checker
  • Upgrade time lapse
  • Distribution point and PullDP upgrade ratio
  • What happen while Distribution point/ Pull DP upgrade

Note that all details and considerations are regarding major upgrade like service pack upgrades and major upgrades.

Warning : this post assume that you already have excellent SCCM knowledge. In Microsoft term, this could be target audience : level 300 :)

Automatic Package Updates and Distribution

After an upgrade, some packages will be automatically updated and distributed to all of your Distribution Point and Pull DP to provide the latest bits to be used by clients.

Here’s the list of what will be updated :

  • The default SCCM client package (Around 200MB)
9972(4)   9972(33)
  • Configuration Manager Client Upgrade Package (Around 2mb)
    • No control on this package
  • Default Windows PE boot images  (Around 200MB for each boot image)
    • The update will happen no matter if ADK is updated or not
      • For example, we can see a change between R2 and R2 SP1 to the default background used in the WinPE
    • If it doesn’t automatically update, it means that it tried and failed because of driver injection
      • Manual update of the boot image is required to fix this issue, by removing faulty drivers

9972(3) 9972(36)

How to Work Around the Automatic Packages Update and Distribution

With the nature of packages automatically updated and distributed, it is possible to work around it prior to the upgrade of the site server.

Remove Boot Images from Distribution Points

Boot images, unlike SCCM client, can’t be pre-distributed on distribution point because of their unique nature.

To prevent a hit on the network, we removed the boot images from DP, Pull DP and DP groups.

9972(1) 9972(2)

This mean that OSD will NOT be available while the upgrade is being processed.

Once all DP/Pull DP are upgraded and system is heatlhy, redistribute boot image on all your DP/PullDP. This will give you total control on when to distribute instead of leaving the upgrade handle it.

Pre-Distribute SCCM Client Package Content

As describe above, the update of the SCCM client package will send around 200 Mb to each DP/ Pull DP.  To prevent a massive hit on the network, we created a standard package, before the upgrade, that has the content of the new SCCM client.

We got the source from another hierarchy (like a lab) that was already to the desired upgrade level.

Path to the client : SCCMInstallationDirectory\Client

9972

The Content Library will only host a single instance of files, this will ease the distribution of the client after the upgrade as it will only validate and not distribute.

Prerequisite Checker

When the prerequisite checker runs, it will communicate with all DP and PullDP.

It takes approximately 5-10 seconds per PullDP… with 1000 PullDP, this could mean hours of waiting for the prerequisite checker to complete. Let it go, and follow the log for details.

9972(6)

You can follow the prerequisite checker in this log : C:\ConfigMgrPrereq.log

9972(7)

Upgrade Time Lapse

Upgrading a primary server will take time. Be patient.

As an example, upgrading a primary site server with 1000 Pull DP, 5000 clients, took more than 1 hour to complete the wizard.

9972(8)

Monitoring  Compmon.log after the upgrade wizard added another hour to the process. This log shows the various Site component status.

Compmon.log must show Waiting until the next polling cycle in 300 secondes from now to consider the upgrade completed.

This log can be find in : SCCMInstallationDirectory\Logs\compmon.log

9972(12)

Distribution Point and Pull Distribution Concurrent Upgrade Ratio

When upgrading a primary site, all child sites will be upgraded. In a large environment, DP and Pull DP are the biggest challenge of the upgrade.

We found this process not to be well documented and with many grey areas.

Change the DPUpgradeThreadLimit

By default, when upgrading a primary site, all Distribution and Pull DP will be upgraded.

As documented in this KB for DPUpgradeThreadLimit, the default limit is 5 concurrent Distribution Point or Pull DP Upgrade.

With 1000 Pull DP, this will take extremely long time. With a large SCCM environment, most probably the server and the network can handle more than 5 concurrent upgrade.

This setting can be changed for a higher rate of concurrent upgrade. We did it at 50 concurrent upgrade. Server and network did handle it quite well.

Here’s how to check if your DP settings :

Get the setting using a script querying the WMI of the primary server.

param(
[string] $siteServerName="."
)

$providerLocation = gcim -ComputerName $siteServerName -Namespace root\sms SMS_ProviderLocation -filter "ProviderForLocalSite='True'"
$providerMachine = $providerLocation.Machine
$sitecode = $providerLocation.SiteCode
$providerNamespace = "root\sms\site_" + $sitecode
$siteFilter = "SiteCode='" + $sitecode + "‘"

write-host $providerLocation



$distmgrConfig = gcim -ComputerName $providerMachine -Namespace $providerNamespace SMS_SCI_Component | ? {$_.ComponentName -eq "SMS_DISTRIBUTION_MANAGER"}

ForEach ($distMgrObject in $distmgrConfig)  {

    $properties = $distMgrObject | select -ExpandProperty Props
    $threadLimitProperty = $properties | ? {$_.PropertyName -eq "DPUpgradeThreadLimit"}
    if($threadLimitProperty -eq $null)
    {
        write-host "Actual setting for DPUpgradeThreadLimit is using default (5)"

    }
    else
    {
        write-host "Actual setting for $($DistMgrObject.SiteCode) DPUpgradeThreadLimit is $($threadLimitProperty.Value)"
        }
    }
Check DP limit setting

Here’s the script to change the setting in the WMI of the primary server.

param(
[string] $siteServerName=".",
#define the new number of DP/PullDP concurrent upgrade limit
[int] $newValue=50
)

$providerLocation = gcim -ComputerName $siteServerName -Namespace root\sms SMS_ProviderLocation -filter "ProviderForLocalSite='True'"
$providerMachine = $providerLocation.Machine
$sitecode = $providerLocation.SiteCode
$providerNamespace = "root\sms\site_" + $sitecode
$siteFilter = "SiteCode='" + $sitecode + "‘"

write-host $providerLocation



$distmgrConfig = gcim -ComputerName $providerMachine -Namespace $providerNamespace SMS_SCI_Component | ? {$_.ComponentName -eq "SMS_DISTRIBUTION_MANAGER"}

ForEach ($distMgrObject in $distmgrConfig)  {

    $properties = $distMgrObject | select -ExpandProperty Props
    $threadLimitProperty = $properties | ? {$_.PropertyName -eq "DPUpgradeThreadLimit"}
    if($threadLimitProperty -eq $null)
    {
        write-host "Previous setting for DPUpgradeThreadLimit was using default, updating to $newValue"
        $newProperty = New-CimInstance -ComputerName $providerMachine -Namespace $providerNamespace -ClassName SMS_EmbeddedProperty
        $newProperty.PropertyName = "DPUpgradeThreadLimit"
        $newProperty.Value = $newValue#

        $newPropertyList = @()
        $properties | % { $newPropertyList += $_}
        $newPropertyList += $newProperty

        $distMgrObject.Props = $newPropertyList
        scim $distMgrObject
    }
    else
    {
        write-host "Previous setting for $($DistMgrObject.SiteCode) DPUpgradeThreadLimit was $($threadLimitProperty.Value), updating to $newValue"
        $newProperty.PropertyName = "DPUpgradeThreadLimit"
        $newProperty.Value = $newValue

        $newPropertyList = @()
        $properties | % {
            if($_.PropertyName -eq "DPUpgradeThreadLimit")
            {
                $_.Value = $newValue
                $newPropertyList += $_
            }
            else
            {
                $newPropertyList += $_
           }
        }

        $distMgrObject.Props = $newPropertyList
        scim $distMgrObject
       }
       }
Change DP/PullDP concurrent upgrade ratio

Script credit : Matt Shadbolt

Here the result after modifying the WMI on our server.

9972(5)

Once modified in the WMI, restart the SMS_Executive so it takes effect.

What Actually Happen while Pull DP Upgrade

Pull DP need the same upgrade as the primary server.

The high-level steps are the following :

  • Update package for Client, Client upgrade and Boot image, if already distributed
  • Pull DP upgrade with PullDP.msi
  • Automatically upgrade SCCM client (no matter what are the setting of Automatic Client upgrade)
9972(30)

In Details…

All those steps and observation occurs after the upgrade of the server. No action are required for the following to occur.

  • First, it will trigger an Update Distribution Point on packages mentioned before:
    • Notice that the actual distribution will fail on all Pull Distribution point because they haven’t been upgraded yet
    • It took more than an hour to see the failure on all Pull DP

9972(14)

  • All Pull DP will turn red in the distribution point configuration status

9972(16)

  • While this happen, Pull DP Upgrade will be running 50 concurrent upgrade at a time
    • Monitor it through DistMgr.log

9972(32)

9972(31)

  • Pull DP will start to report Upgrade successfully completed

9972(18)

  • An SQL query will list the progress of the global PullDP Upgrade successfull
select * from v_DistributionPointMessages where MessageID=’2399′ order by LastStatusTime

9972(17)

  • Once flagged as Upgraded successfull, it will automatically retry to send packages
Pull DP Upgrade
  • Slowly, Pull DP will be back to green state as distribution is successful. At one point, we had close to 2000 active distribution pending.
Pull DP Upgrade
  • Eventually, success distribution will go up
    • This took almost 48 hours to fully complete

Pull DP Upgrade

  • After the packages are sent, the client will automatically update to the new version
Pull DP Upgrade
  • Note that the client didn’t upgrade prior to this point because of the boundary configuration we had
    • The Pull DP was the only available Distribution point for itself

Pull DP Upgrade

Hope this post will help you plan your next upgrade :)

 

 

The post Pull DP Upgrade Consideration in Large Environment appeared first on System Center Dudes.

SCCM Windows 10 Deployment | Prepare your environment

$
0
0

In the first part of this blog series on how to deploy Windows 10 with SCCM, we will prepare our environment for Windows 10. If you’re already deploying other operating systems with SCCM 1511, adding Windows 10 is just a matter of adding a new WIM (which our post covers in part 4). If you’re new to deploying operating system with SCCM, follow this post which will covers all steps needed before you can deploy your first systems.

Overview SCCM Windows 10 Deployment

  1. Upgrade to SCCM 1511
  2. Enable PXE Support
  3. Prepare your boot image
  4. Prepare your Operating Systems
  5. Create your SUG
  6. USMT Packages

Upgrade to SCCM 1511

It’s possible to manage Windows 10 with SCCM 2012 but when it comes to deploying Windows 10, if you want to use the full features, you need SCCM 1511 and further. Follow our guide to upgrade your SCCM server and make sure that you are upgrading your Windows ADK version which is included in the upgrade process.

Enable PXE Support

Follow these steps if you want to deploy your images using PXE boot (recommended)

  • Open the SCCM Console
  • Go to Administration / Site Configuration / Servers and Site System Roles
  • Select your distribution point and right-click on the Distribution point role on the bottom, select Properties

SCCM Windows 10 deployment

  • Select the PXE tab
  • Enable the Enable PXE support for Clients check-box and answer Yes when prompted about firewall ports (UDP ports 67, 68, 69 and 4011 )

SCCM Windows 10 deployment

  • Check the Allow this distribution point to respond to incoming PXE requests check box
  • Check the Enable unknown computer support check box
  • Ensure that the Respond to PXE request on all network interfaces is selected
  • Click Ok

SCCM Windows 10 deployment

Your distribution point will now install Windows Deployment Services (if not already installed) and will copy the necessary files on the distribution point.

You can monitor this process in the SCCM Console :

  • Go to Monitoring / Distribution Status / Distribution Point Configuration Status
  • Click your distribution point on the top and select the Details tab on the bottom
  • You will see that the distribution point PXE settings has changed

SCCM Windows 10 deployment

Prepare your boot image

Important note
If you have created any custom boot images in previous version, you won’t be able to manage it (customize, add drivers, ect…) through the SCCM console. The only manageable version would be PE10 images. Other version could still be used but you’ll have to manage them outside the console using DISM.

Drivers

Before launching your first boot image you must include your Windows 10 drivers into the boot image. Our rule of thumb about drivers is to try to boot a certain model and if it fails, add the drivers. Do not add all your NIC drivers to your boot image, it’s overkill and unnecessary increase the size of the boot image.

To add drivers to the boot image :

  • Open the SCCM Console
  • Go to Software Library / Operating Systems / Boot Images
  • Right-click your Boot Image, select Properties
  • Select the Drivers tab

SCCM Windows 10 deployment

  • Click the Star icon
  • Select the desired drivers and click OK

SCCM Windows 10 deployment

  • The selected drivers are added to the boot image, once you click OK, SCCM will inject the driver in your boot image

SCCM Windows 10 deployment

Customization

We will now make a couple customization to the boot image to enable command support (F8) and add a custom background image to the deployment

  • Open the SCCM Console
  • Go to Software Library / Operating Systems / Boot Images
  • Right-click your Boot Image
  • Select the Customization tab
  • Check the Enable command support checkbox. This allows to have the F8 command line support during deployment
  • Specify a custom background if needed by checking Specify the custom background image file checkbox

SCCM Windows 10 deployment

  • If you’re using a PXE-enable distribution point, select the Data Source tab and check the Deploy this boot image from the PXE-Enabled distributon point checkbox

SCCM Windows 10 deployment

  • Click Apply and Yes to the warning, close the window

SCCM Windows 10 deployment

Distribute your boot image

Since you’ve upgraded your ADK to version 10 and made modifications to your boot image, you need to redistribute it to your distribution points.

  • Right click your boot image and select Update Distribution Points

SCCM Windows 10 deployment

Prepare your Operating Systems

We will now import the Windows 10 WIM file for Windows 10 deployment.

Important
You’ll see both Operating System Images and Operating System Upgrade Packages. One is to import .WIM files and the other one is for Full Media. We will need both for different scenarios. In the case of a vanilla deployment or after a build and capture, you use Operating System Images to import the WIM files. In an Upgrade task Sequence, you will need to have the Full media imported in Operating System Upgrade Packages.

We will start by importing the default Install.Wim from the Windows 10 media for a “vanilla” Windows 10 deployment. You could also import a WIM file that you’ve created through a build and capture process.

  • Open the SCCM Console
  • Go to Software Library / Operating Systems / Operating System Images
  • Right click Operating System Images and select Add Operating System Image

SCCM Windows 10 deployment

  • On the Data Source tab, browse to your WIM file. The path must be in UNC format

SCCM Windows 10 deployment

  • In the General tab, enter the Name, Version and Comment, click Next

SCCM Windows 10 deployment

  • On the Summary tab, review your information and click Next

SCCM Windows 10 deployment

  • Complete the wizard and close this window

SCCM Windows 10 deployment

Distribute your Operating System Image

We now need to send the Operating System Image (WIM file) to our distribution points.

  • Right click your Operating System Image, select Distribute Content and complete the Distribute Content wizard

SCCM Windows 10 deployment

We will now import the complete Windows 10 media in Operating System Upgrade Packages. This package will be used to upgrade a Windows 7 (or 8.1) device to Windows 10 using an Upgrade Task Sequence.

  • Open the SCCM Console
  • Go to Software Library / Operating Systems / Operating System Upgrade Packages
  • Right click Operating System Upgrade Packages and select Add Operating System Upgrade Packages

SCCM Windows 10 deployment

  • In the Data Source tab, browse to the path of your full Windows 10 media. The path must point on an extracted source of a ISO file. You need to point at the top folder where Setup.exe reside

SCCM Windows 10 deployment

SCCM Windows 10 deployment

  • In the General tab, enter the Name, Version and Comment, click Next

SCCM Windows 10 deployment

  • On the Summary tab, review your information and click Next

SCCM Windows 10 deployment

  • Complete the wizard and close this window

SCCM Windows 10 deployment

Distribute your Operating System Upgrade Packages

We now need to send the Operating System Upgrade Package to your distribution points.

  • Right click your Operating System Upgrade Package, select Distribute Content and complete the Distribute Content wizard

SCCM Windows 10 deployment

Create Software Update Group

One important thing in any OSD project, is to make sure that every machines deployments are up to date. Before deploying Windows 10, make sure that your Software Update Point is configured to include Windows 10 patches.

Once Windows 10 is added to your Software Update Point, we will create a Software Update Group that will be deployed to our Windows 10 deployment collection. This way, all patches released after the Windows 10 media creation (or your Capture date) will be deployed during the deployment process.

To create a Windows 10 Software Update Group :

  • Open the SCCM Console
  • Go to Software Library / Software Updates / All Software Updates
  • On the right side, click Add Criteria, select Product, Expired and Superseded
    • Product : Windows 10
    • Expired  : No
    • Superseded : No

SCCM Windows 10 deployment

  • Select all patches and select Create Software Update Group

SCCM Windows 10 deployment

  • Once created, go to Software Library / Software Updates / Software Update Groups
  • Right-click your Windows 10 SUG and deploy it to your OSD deployment collection

USMT Package

If you are planning to use USMT to capture and restore user settings and files, you need to make sure that the USMT package is created and distributed.

  • Open the SCCM Console
  • Go to Software Library / Application Management / Packages
  • Right-click the User State Migration Tool for Windows 10 package and select Properties
  • On the Data Source tab, ensure that the package is using the ADK 10 – Which is per default C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\User State Migration Tool
  • Right-click the User State Migration Tool for Windows 10 package and select Distribute Content

SCCM Windows 10 deployment

That’s it ! You have everything that’s needed to create your first Windows 10 deployment. Read the next parts of this blog series to successfully deploy Windows 10.

The post SCCM Windows 10 Deployment | Prepare your environment appeared first on System Center Dudes.

Step-by-Step SCCM 1602 Upgrade Guide

$
0
0

The first upgrade for SCCM Current Branch (1511) is now available. This post is a complete step-by-step SCCM 1602 upgrade guide. If you’re looking for a complete SCCM 1511 installation guide, see our blog series which covers it all.

Installing SCCM upgrades is very important to your infrastructure. It adds new feature and fixes lots of issues, which some of them are important.

New Update and Servicing

Since SCCM 1511, Microsoft now release update pack differently than services packs and cumulative updates. Downloading and updating is made directly from the console. If you need to make a new SCCM installation, you can’t install SCCM 1602 directly. You need to install SCCM 1511 first and then apply SCCM 1602 from the console. SCCM 1511 is still the baseline version if you’re starting from scratch.

The update process seem quite easy but don’t get confused. Yes, it’s easy to apply, but these updates needs to be planned as much as you planned cumulative updates and service pack in the past. (During the installation process all SCCM services including SMS_Executive service are stopped)

As stated on the Configuration Manager Team blog,  the new servicing methods is designed to support the much faster pace of updates for Windows 10 and Microsoft Intune. (You can expect 3 or 4 of these updates per year). They also mentioned that they plan to support each version/update for 12 months before they require that customers upgrade to the latest one to continue support. This basically means that you can skip SCCM 1602 if you want and apply SCCM 1606 (fictional name) at release. The important thing to remember is to update before the 12 month end-of-support period.

New features and fixes

This update contains new features and applies the latest KB/fixes to fix known bugs.

  • Client Online Status
    • You can now view the online status of devices in Assets and Compliance. New icons indicate the status of a device as online or offline
  • Support for SQL Server AlwaysOn Availability Groups
    • Configuration Manager now supports using SQL Server AlwaysOn Availability Groups to host the site database
  • Windows 10 Device Health Attestation Reporting
    • You can now view the status of Windows 10 Device Health Attestation in the Configuration Manager console to ensure that the client computers have a trustworthy BIOS, TPM, and boot software
  • Office 365 Update Management
    • You can now natively manage Office 365 desktop client updates using the Configuration Manager Software Update Management (SUM) workflow. You can manage Office 365 desktop client updates just like you manage any other Microsoft Update
  • New Antimalware Policy Settings
    • New antimalware settings that can now be configured include protection against potentially unwanted applications, user control of automatic sample submission, and scanning of network drives during a full scan

Our favorite feature is Client Online Status which will greatly help operational tasks. A computer is considered online if it is connected to its assigned management point. To indicate that the computer is online, the client sends ping-like messages to the management point. If the management point doesn’t receive a message after 5 minutes, the client is considered offline.

SCCM 1602 upgrade guide

Before you begin

Downloading and installing this update is done entirely from the console. There’s no download link, the update will appear in your console.

If you’re running a multi-tier hierarchy, start at the top-level site in the hierarchy. After the top-level site upgrades, you can begin the upgrade of each child site. Complete the upgrade of each site before you begin to upgrade the next site. Until all sites in your hierarchy are upgraded, your hierarchy operates in a mixed version mode.

Before applying this update, We strongly recommend that you go through the upgrade check list provided on Technet.

In this post, we’ll be updating a standalone Primary Site Server, console and clients.

Before installing, check if your site is ready for the update :

  • Open the SCCM console
  • Go to Administration \ Cloud Services \ Updates and Servicing
  • In the State column, ensure that the update is Available

SCCM 1602 upgrade guide

If you’re not seeing the update, Microsoft has provided a PowerShell script to force the download. If you’re not in a hurry, just wait and it should appear in the next following days.

Refer to Dmpdownloader.log to see download progress :

SCCM 1602 upgrade guide

The update files gets saved in the EasySetupPayload folder in the Configuration Manger setup folder

SCCM 1602 upgrade guide

SCCM 1602 upgrade guide

Step 1 | SCCM 1602 Prerequisite check

Before launching the update, we recommend to launch the prerequisite check :

  • Open the SCCM console
  • Go to Administration \ Cloud Services \ Updates and Servicing
  • Right-click the Configuration Manager 1602 update and select Run prerequisite check

SCCM 1602 upgrade guide

  • Nothing will happen, the prerequisite check runs in the background. All menu options will be grayed out during the check
  • The only way to see progress is by viewing C:\ConfigMgrPrereq.log

SCCM 1602 upgrade guide

  • When completed the State column will show Prerequisite check passed

SCCM 1602 upgrade guide

Step 2 | Launching the SCCM 1602 update

We are now ready to launch the SCCM 1602 update

  • Right click the Configuration Manager 1602 update and select Install Update Pack

SCCM 1602 upgrade guide

  • On the General tab, click Next

SCCM 1602 upgrade guide

  • On the Features tab, select the features you want to update

SCCM 1602 upgrade guide

  • If you don’t select one of the feature now and want to enable it later, you’ll be able to so by using the console in Administration \ Cloud Services \ Updates and Servicing \ Features

SCCM 1602 upgrade guide

  • In the Client Update Options, select the desired option for your client update
    • This new feature allows to update only clients member of a specific collection. Refer to the Technet article for more details

SCCM 1602 upgrade guide

  • On the License Terms tab, accept the licence terms and click Next

SCCM 1602 upgrade guide

  • On the Summary tab, review your choices and click Next

SCCM 1602 upgrade guide

  • On the Completion tab, close the wizard. The whole process took a minute but the installation is not over, it has been initiated. For now on, no more GUI, you need to use log files to monitor the installation

SCCM 1602 upgrade guide

  • During installation, the State column changes to Installing

SCCM 1602 upgrade guide

  • You can follow installation progress in SCCM Installation Directory\Logs\CMUpdate.log

SCCM 1602 upgrade guide

  • Services are stopped

SCCM 1602 upgrade guide

  • When completed, you’ll notice the message There are no pending update package to be processed

SCCM 1602 upgrade guide

  • Refresh the Updates and Servicing node, the State column will be Installed

SCCM 1602 upgrade guide

Updating the consoles

The console now has an auto-update feature. At console opening, if you are not running the latest version, you will receive a warning and the update will start automatically.

  • Since all updates operations were initiated from the console, we didn’t close it during the process. We received a warning message when clicking certain objects. You will have the same message when opening a new console

SCCM 1602 upgrade guide

  • Click OK,  console update will starts automatically

SCCM 1602 upgrade guide

SCCM 1602 upgrade guide

  • Wait for the process to complete. You can follow the progress in C:\ConfigMgrAdminUISetup.log and C:\ConfigMgrAdminUISetupVerbose.log. Once completed, the console will open and you’ll be running the latest version.

SCCM 1602 upgrade guide

SCCM 1602 upgrade guide

Verification

Consoles

After setup is completed, verify the build number of the console. If the console upgrade was successful, the build number will be 5.0.8355.1000. You can also notice that Version 1602 is stated.

SCCM 1602 upgrade guide

Servers

  • Go to Administration \ Site Configuration \ Sites
  • Right-click your site and select Properties
  • Verify the Version and Build number

SCCM 1602 upgrade guide

Clients

The client version will be updated to 5.0.8355.1000 (after updating, see section below)

SCCM 1602 upgrade guide

SCCM 1602 client Package distribution

You’ll see that 2 client update packages are created :

  • Navigate to Software Library \ Application Management \ Packages

SCCM 1602 upgrade guide

  • Select both package and initiate a Distribute Content to your distribution points

Boot Images

Boot images are automatically updated during setup. See our post on upgrade consideration in large environment to avoid this if you have multiple distribution points.

  • Go to Software Library / Operating Systems / Boot Images
  • Select your boot image and check the last Content Status date. It should match your setup date

Updating the Clients

Our preferred way to update our clients is by using the Client Upgrade feature.

  • Open the SCCM Console
  • Go to Administration / Site Configuration / Sites
  • Click the Hierarchy Settings in the top ribbon
  • Select Client Upgrade tab
  • The Upgrade client automatically when the new client update are available checkbox has been enabled
  • Review your time frame and adjust it to your needs

SCCM 1602 upgrade guide

Once enabled we like to create a collection that targets clients without the latest client version. I use it to monitor which client haven’t been updated yet.

Here’s the query to achieve this: (You can also refer to our Set of Operational Collection Powershell Script which contains this collection)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ClientVersion != '5.00.8355.1000'

Happy updating ! :)

The post Step-by-Step SCCM 1602 Upgrade Guide appeared first on System Center Dudes.

Windows 10 Deployment | SCCM Task Sequence Upgrade Windows 7 to Windows 10

$
0
0

In the fourth post of this blog series about Windows 10 Deployment using SCCM, we will show you how to upgrade a Windows 7 to Windows computer 10 using SCCM task sequence upgrade.

The goal of an upgrade task sequence is to upgrade an existing operating system to Windows 10 without loosing any data and installed software. This post assumes that you are running SCCM 1511 or SCCM 1602 and that you completed the preparation of your environment for Windows 10.

If you are running SCCM 2012 R2 SP1, the product team has release important information about SCCM task sequence upgrade that you can find in this blog post.

In the past, an in-place upgrade scenario was not a reliable and popular option to deploy the latest version of Windows. With Windows 10, it’s now reliable and features an automatic rollback in case something goes wrong. This scenario can also be considered faster than the wipe and reload deployment scenarios, since applications and drivers don’t need to be reinstalled.

When to use In-Place Upgrade Scenario ?

Consider using SCCM upgrade task sequence if :

  • You need to keep all existing applications and settings on a device
  • You need to migrate Windows 10 to a later Windows 10 release (ex: 1511 to 1602)
  • You don’t need to change the system architecture (32 bits to 64 bits)
  • You don’t need to change the operating system base language
  • You don’t need to downgrade a SKU (Enterprise to Pro). The only supported path is Pro to Enterprise or Enterprise to Enterprise)
  • You don’t need to change the BIOS architecture from legacy to UEFI
  • You don’t have multi-boot configuration

Windows 10 is now managed as a service, this upgrade process can also be used to migrate Windows 10 to a later Windows 10 release or you can use the new Windows 10 servicing feature in SCCM 1602 and later.

Possible Upgrade Path when using SCCM Task Sequence Upgrade

  • Windows 7, Windows 8 and Windows 8.1 can use this method to upgrade to Windows 10
  • You can’t upgrade a Windows XP or Windows Vista computer to Windows 10
  • Windows 10 is the only final destination OS (You can’t upgrade a Windows 7 to Windows 8.1 using this method)

Requirements

  • As stated in the start of this blog post, you need at least SCCM 2012 R2 SP1 (or SCCM 2012 SP2) to support the upgrade task sequence
  • You cannot use a custom image for this scenario, you must start from the original WIM from the Windows 10 media
Device using disk encryption
Devices using Bitlocker can be upgraded to Windows 10 using this method. If you are using third-party disk encryption product, it can be done but you need far more effort.

Three major vendors have supported workarounds documented on their support sites :

McAfeehttps://kc.mcafee.com/corporate/index?page=content&id=KB84962&actp=null&viewlocale=en_US&showDraft=false&platinum_status=false&locale=en_US
Symantechttps://support.symantec.com/en_US/article.HOWTO119348.html
CheckPointhttps://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk106433&partition=General&product=FDE

Understanding the In-Place Upgrade Process

If you want to understand all the phases in the upgrade process, we strongly recommend watching the Upgrading to Windows 10: In Depth video from the last Microsoft Ignite event.

Create SCCM Task Sequence Upgrade Windows 7 to Windows 10

Enough writing, let’s create a SCCM task sequence upgrade for a Windows 7 deployment.

  • Open the SCCM Console
  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click Task Sequences and select Upgrade an operating system from upgrade package

SCCM Task Sequence Upgrade

  • In the Task Sequence Information tab, enter a Task Sequence Name and Description

SCCM Task Sequence Upgrade

  • On the Upgrade the Windows Operating System tab, select your upgrade package by using the Browse button. If you don’t have imported an upgrade package yet, use the step provided in our preparation blog post

SCCM Task Sequence Upgrade

  • On the Include Updates tab, select the desired Software Update task
    • All Software Updates will install the updates regardless of whether there is a deadline set on the deployment (on your OSD collection)
    • Mandatory Software Updates will only install updates from deployments that have a scheduled deadline (on your OSD collection)
    • Do not install any software updates will not install any software update during the Task Sequence

SCCM Task Sequence Upgrade

  • On the Install Applications tab, select any application you want to add to your upgrade process

SCCM Task Sequence Upgrade

  • On the Summary tab, review your choices and click Next

SCCM Task Sequence Upgrade

  • On the Competition tab, click Close

SCCM Task Sequence Upgrade

Edit the SCCM Task Sequence Upgrade

Now that we have created the task sequence, let’s see what it looks like under the hood:

  • Open the SCCM Console
  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click your upgrade task sequences and select Edit

As you can see, it’s fairly simple. SCCM will take care of everything in a couple of steps :

SCCM Task Sequence Upgrade

  • The Upgrade Operating System step contains the important step of applying Windows 10

SCCM Task Sequence Upgrade

Deploy the SCCM Upgrade Task Sequence

We are now ready to deploy our task sequence to the computer we want to upgrade. In our case, we are targeting a Windows 7 computer.

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click Task Sequences and select Deploy

SCCM Task Sequence Upgrade

  • On the General pane, select your collection. This is the collection that will receive the Windows 10 upgrade. For testing purposes, we recommend putting only 1 computer to start

SCCM Task Sequence Upgrade

  • On the Deployment Settings tab, select the Purpose of the deployment
    • Available will prompt the user to install at the desired time
    • Required will force the deployment at the deadline (see Scheduling)
  • You cannot change the Make available to the following drop-down since upgrade packages are available to client only

SCCM Task Sequence Upgrade

  • On the Scheduling tab, enter the desired available date and time. On the screenshot, we can’t create an Assignment schedule because we select Available in the previous screen

SCCM Task Sequence Upgrade

  • In the User Experience pane, select the desired options

SCCM Task Sequence Upgrade

  • In the Alerts tab, check Create a deployment alert when the threshold is higher than the following check-box if you want to create an alert on the failures

SCCM Task Sequence Upgrade

  • On the Distribution Point pane, select the desired Deployment options. We will leave the default options

SCCM Task Sequence Upgrade

  • Review the selected options and complete the wizard

SCCM Task Sequence Upgrade

Launch the Upgrade Process

Now that our upgrade task sequence is deployed to our clients, we will log on our Windows 7 computer and launch a Machine Policy Retrieval & Evaluation Cycle from Control Panel / Configration Manager Icon

SCCM Task Sequence Upgrade

  • Open the new Software Center from the Windows 7 Start Menu
  • You’ll see the SCCM upgrade task sequence as available. We could have selected the Required option in our deployment schedule, to launch automatically without user interaction at a specific time

SCCM Task Sequence Upgrade

  • When ready, click on Install

SCCM Task Sequence Upgrade

  • The following warning appears

SCCM Task Sequence Upgrade

Warning
The When you install a new operating system, all the existing data on your computer will be removed warning is not true. This issue will be resolved in future release.
  • Click on Install Operating System
  • The update is starting, the task sequence Installation Progress screen shows the different steps

SCCM Task Sequence Upgrade

SCCM Task Sequence Upgrade

SCCM Task Sequence Upgrade

  • The WIM is downloading on the computer and saved in C:\_SMSTaskSequence

SCCM Task Sequence Upgrade

SCCM Task Sequence Upgrade

  • You can follow task sequence progress in C:\Windows\CCM\Logs\SMSTSLog\SMSTS.log

SCCM Task Sequence Upgrade

  • After downloading, the system will reboot

SCCM Task Sequence Upgrade

  • The computer restart and is loading the files in preparation of the Windows 10 upgrade

SCCM Task Sequence Upgrade

  • WinPE is loading

SCCM Task Sequence Upgrade

  • The upgrade process starts. This step should take about 15 to 30 minutes depending of the device hardware

SCCM Task Sequence Upgrade SCCM Task Sequence Upgrade SCCM Task Sequence Upgrade SCCM Task Sequence Upgrade

  • Windows 10 is getting ready, 2-3 more minutes and the upgrade will be completed

SCCM Task Sequence Upgrade

  • Once completed the SetupComplete.cmd script runs. This step is important to set the task sequence service to the correct state

SCCM Task Sequence Upgrade

  • Windows is now ready, all software and settings are preserved

SCCM Task Sequence Upgrade

The post Windows 10 Deployment | SCCM Task Sequence Upgrade Windows 7 to Windows 10 appeared first on System Center Dudes.

SCCM Windows 10 Customization using Task Sequences

$
0
0

In this post we will describe how to customize your windows 10 image to personalize it to your company. There’s an infinite amount of customization that can be made but i’ll try to cover the more frequent one, those that are asked 95% of every Windows 10 projects I was involved in. You could also do all those modifications through group policies if you want to enforce those settings.

SCCM Windows 10 Customization Package

Before we begin any customization, we will create a Windows 10 Customization package that we will use in our task sequence. It will be empty to start but we will create the folders and scripts during this blog post.

  • Open the SCCM Console
  • Go to Software Library / Application Management / Packages
  • Create a new package
  • On the Package tab, enter a Name, Description, Manufacturer and Source folder (this is where all scripts will be stored)

SCCM Windows 10 customization

  • On the Program Type tab, select Do not create a program

SCCM Windows 10 customization

  • On the Summary tab, review your choices and complete the wizard

SCCM Windows 10 customization

File Association

The first item we will be covering is file association. By default, Windows 10 uses Microsoft Edge to open every PDF files and HTTP links. For this post, we will redirect PDF files to Adobe Reader and HTTP/HTTPS to Internet Explorer. You can redirect any extension to any software. You just need to make sure that the application that you associate is installed during your Windows 10 deployment (or in your image).

The first step is to make the association manually, we will then export the configuration to a XML file and we will use DISM in our task sequence to import the configuration.

  • Log on a Windows 10 machine
  • Open Control Panel / Programs / Default Programs / Set Associations

SCCM Windows 10 customization

  • Navigate to .PDF and click on Change Program

SCCM Windows 10 customization

  • Select Adobe Reader and click OK

SCCM Windows 10 customization

  • Your .PDF files are now associated to Adobe Reader
  • For Internet Explorer association, select HTTP Protocol, .HTM and .HTML files, change program to Internet Explorer

Now that our associations has been done, we need to export the associations to a XML file using DISM :

  • Open an elevated command prompt
  • Run the following command : Dism /Online /Export-DefaultAppAssociations:C:\Temp\SCDAppAssoc.xml
    • (Change the XML file name and path if desired but make sure that the directory exists or you’ll get an error code 3)

SCCM Windows 10 customization

The XML file can be opened using any text editor. You can see our modifications has been made. It’s possible to change manually in this file but it’s a bit tricky to find ProdId and ApplicationName.

SCCM Windows 10 customization

  • Copy the XML file to your Windows 10 customization package in the FileAssociations Folder

SCCM Windows 10 customization

  • Open the SCCM Console and browse to Packages
  • Right-click your Windows 10 Customization package and select Update Distribution Point

SCCM Windows 10 customization

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click and Edit your Windows 10 task sequence
  • Select Add / General / Run Command Line
    • Name : Set File Association
    • Command line : Dism.exe /online /Import-DefaultAppAssociations:FileAssociations\SCDAppAssoc.xml
    • Check the Package box and specify your Windows 10 customization package
  • Position this step after the Windows image has been deployed

SCCM Windows 10 customization

Setting the Default Windows 10 Wallpaper

We will now change the default Windows 10 wallpaper to a corporate one.

  • The default Windows 10 wallpapers are stored in the C:\Windows\Web\Wallpaper\Windows\ folder
  • Windows 10 also support 4K wallpapers which are stored in C:\Windows\Web\4K\Wallpaper\Windows

SCCM Windows 10 customization

SCCM Windows 10 customization

For our post, we will delete the 4K wallpapers and overwrite the default img0.jpg file. If you need to support 4K wallpaper, just place them in the 4K folder before updating your distribution points and the script will copy it to the right location.

By default, you can’t modify those files, we will use a PowerShell script to change the security of the folder and overwrite the wallpaper file. We will grant access to the SYSTEM account since it’s the account used during the SCCM task sequence.

  • Create a new WallPaper\DefaultRes and WallPaper\4K folder in your Windows 10 customization directory
  • Rename your wallpaper to img0.jpg copy it in the WallPaper\DefaultRes directory
  • If 4K support is needed, copy your files in the WallPaper\4K Directory

Create a new Powershell script in the root of the Wallpaper directory and copy this code into it :

#Take OwnerShip of the files
TAKEOWN /f C:\Windows\WEB\Wallpaper\Windows\img0.jpg
TAKEOWN /f C:\Windows\Web\4K\Wallpaper\Windows\*.*
#Set permissions for SYSTEM Account
ICACLS C:\Windows\WEB\Wallpaper\Windows\img0.jpg /Grant 'System:(F)'
ICACLS C:\Windows\Web\4K\Wallpaper\Windows\*.* /Grant 'System:(F)'
#Delete the files
Remove-Item C:\Windows\WEB\Wallpaper\Windows\img0.jpg
Remove-Item C:\Windows\Web\4K\Wallpaper\Windows\*.*
#Copy the files
Copy-Item $PSScriptRoot\DefaultRes\img0.jpg C:\Windows\WEB\Wallpaper\Windows\img0.jpg
Copy-Item $PSScriptRoot\4k\*.* C:\Windows\Web\4K\Wallpaper\Windows

You’ll end up with the following structure :

SCCM Windows 10 customization

  • Open the SCCM Console and browse to Packages
  • Right-click your Windows 10 Customization package and select Update Distribution Point

SCCM Windows 10 customization

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click and Edit your Windows 10 task sequence
  • Select Add / General / Run PowerShell Script
    • Name : Set Wallpaper
    • Script Name : Wallpaper\ChangeWallpaper.ps1
    • PowerShell execution policy : Bypass
  • Position this step after the Windows image has been deployed

SCCM Windows 10 customization

Change Lock Screen Image

The lock screen image is the image you see when the computer is locked. To change it, we must copy our image locally on the computer and then modify a registry key to read it.

  • Create a new LockScreen folder in your Windows 10 customization directory
  • Create a new LockScreen.cmd file and copy the following code
LockScreen.cmd

xcopy LockScreen\LockScreen.jpg C:\SCD\LockScreen\ /Y /S
reg import LockScreen\LockScreen.reg
reg import LockScreen\LockScreen.reg /reg:64

  • Create a new LockScreen.reg file and copy the following code (watch out of the “” when copy/pasting)
LockScreen.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization] “LockScreenImage”=”C:\\SCD\\LockScreen\\LockScreen.jpg”
  • Copy the image you want to set as the lock screen. For this blog post we will call it LockScreen.jpg. If you rename this file, make sure to change the script to fit this name.

You’ll end up with the following structure :

SCCM Windows 10 customization

  • Open the SCCM Console and browse to Packages
  • Right-click your Windows 10 Customization package and select Update Distribution Point

SCCM Windows 10 customization

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click and Edit your Windows 10 task sequence
  • Select Add / General / Run Command Line
    • Name : Set File Association
    • Command line : cmd.exe /c LockScreen\LockScreen.cmd
    • Check the Package box and specify your Windows 10 customization package
  • Position this step after the Windows image has been deployed

SCCM Windows 10 customization

Disable Microsoft Consumer Experiences

The latest Windows 10 feature upgrade includes a new feature that automatically installs a few apps from the Windows Store. Some apps like Candy Crush and Minecraft gets installed, we don’t think that belong to a work environment so we’ll delete it.

SCCM Windows 10 customization

The good news is that it’s quite simple to disable. You need to disable a function called Microsoft Consumer Experiences. We will do this using a registry modification :

  • Create a new ConsumerExperience folder in your Windows 10 customization directory
  • Create a new DisableConsumerExperience.reg file and copy the following code :
DisableConsumerExperience.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent] “DisableWindowsConsumerFeatures”=dword:00000001

You’ll end up with the following structure :

SCCM Windows 10 customization

  • Open the SCCM Console and browse to Packages
  • Right-click your Windows 10 Customization package and select Update Distribution Point

SCCM Windows 10 customization

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click and Edit your Windows 10 task sequence
  • Select Add / General / Run Command Line
    • Name : Disable Consumer Experience
    • Command line : Regedit.exe /s ConsumerExperience\DisableConsumerExperience.reg
    • Check the Package box and specify your Windows 10 customization package
  • Position this step after the Windows image has been deployed

SCCM Windows 10 customization

Create Custom Start Menu

We will now create a default Windows 10 start menu that will be used on every Windows 10 machine by default. If you add shortcuts to applications, make sure that you’ve include them in your task sequence or you’ll end up with a start menu looking like swiss cheese. (empty spots)

SCCM Windows 10 customization

  • Log on a Windows 10 machine
  • Manually configure the Start Menu
  • Create a new StartMenu folder in your Windows 10 customization package
  • Start an elevated PowerShell and run the following command : Export-StartLayout -Path “C:\Temp\StartMenu.bin”
  • Copy the StartMenu.bin file to your Windows 10 customization package in the StartMenu folder

SCCM Windows 10 customization

  • Open the SCCM Console and browse to Packages
  • Right-click your Windows 10 Customization package and select Update Distribution Point

SCCM Windows 10 customization

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click and Edit your Windows 10 task sequence
  • Select Add / General / Run Command Line
    • Name : Set Start Menu Layout
    • Command line : Powershell.exe Import-StartLayout -LayoutPath StartMenu\StartMenu.bin -MountPath C:\
    • Check the Package box and specify your Windows 10 customization package
  • Position this step after the Windows image has been deployed

SCCM Windows 10 customization

Set Windows 10 Pinned Taskbar items

Windows 10 permits to “pin” program on the task bar for easy access. Here’s how to create a standard task-bar for your Windows 10 users.

14361 (35)

  • Create a new PinTaskBar folder in your Windows 10 customization directory
  • Log on a Windows 10 computer
  • Manually pin all the desired program using the Pin to taskbar option

14361 (39)

  • Copy the links from %AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar to your Windows 10 customization package in the PinTaskBar directory. This directory is hidden, so be sure to show Hidden Items

14361 (38)

14361 (30)

  • Open Registry Editor
  • Export the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband key to Win10Taskbar.reg

14361 (31)

  • Copy the Win10Taskbar.reg file to your Windows 10 customization package in the PinTaskBar directory
  • Edit the Win10Taskbar.reg file using a text editor and replace the beginning of the first line
    • Replace HKEY_Current_User to HKEY_LOCAL_MACHINE\defuser

14361 (43)

  • The final string will be : HKEY_LOCAL_MACHINE\defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband
  • Create a new Win10Taskbar.cmd file in your Windows 10 customization package in the PinTaskBar directory and copy the following code :
Win10Taskbar.cmd

Reg.exe load HKEY_LOCAL_MACHINE\defuser C:\users\default\ntuser.dat
Reg.exe import “PinTaskBar\Win10Taskbar.reg”
Reg.exe unload HKEY_LOCAL_MACHINE\defuser

Xcopy PinTaskBar\*.lnk “C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar” /Q /Y /I

14361 (41)

You’ll end up with the following structure :

14361(44)

  • Open the SCCM Console and browse to Packages
  • Right-click your Windows 10 Customization package and select Update Distribution Point

SCCM Windows 10 customization

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click and Edit your Windows 10 task sequence
  • Select Add / General / Run Command Line
    • Name : Set Taskbar Pins
    • Command line : cmd.exe /c PinTaskBar\Win10Taskbar.cmd
    • Check the Package box and specify your Windows 10 customization package
  • Position this step after the Windows image has been deployed

14361 (36)

Conclusion

If you correctly follow this post, you’ll end up with this structure in your Windows 10 Customization package :

14361 (37)

And you’ll have 6 new steps in your Windows 10 task sequence :

14361 (42)

You can now deploy your Windows 10 task sequence to a test machine and all customization should be there. See our post on how to monitor your task sequence if something goes wrong or simply if you want to track the progress.

We hope this post will help you out for your Windows 10 customization. Feel free to post your customization using the comment section. We will update this post on a regular basis when we have more to share.

The post SCCM Windows 10 Customization using Task Sequences appeared first on System Center Dudes.

Refreshing a Windows 7 Computer to Windows 10 using USMT and SCCM

$
0
0

Since SCCM 1511, you can use the new upgrade task sequence to easily upgrade a Windows 7 computer to Windows 10. But what if you want to upgrade a computer from a 32-bits operating system to Windows 10 64-bits ? You can’t use the upgrade task sequence for this specific scenario. Another reason would be that your company decided to use the wipe and reload option in your Windows 10 migration project. In those cases you will need to use USMT to capture data and settings from the users profiles before applying the new operating system.

This post will describe how to upgrade a 32-bits computer to Windows 10 64-bits using USMT and SCCM. This post will be using hard-links without using a State Migration Point. Continue reading if you are not familiar with those terms, we will explain it later.

Since you’re at the step of deploying Windows 10, we assume that you already installed at least SCCM 1511 and the latest Windows ADK before reading this post. If not, read our related posts :

  1. SCCM 1511 Upgrade Guide
  2. Windows 10 Deployment | Prepare your environment

USMT Basics

Let’s start by giving a couple of facts about the User State Migration Tool :

  • Latest USMT version is 5.0
  • Latest Windows ADK 10 includes the latest version
  • Supports capturing data and settings from Windows Vista and later (including Windows 10)
  • Supports restoring the data and settings to Windows 7 and later (including Windows 10)
  • Supports migrating from a 32-bit operating system to a 64-bit operating system, but not the other way around

What gets Migrated

By default, USMT migrates many settings (user profile, Control Panel configurations, files, and more). The default configuration files that are used in Windows 10 deployments are MigUser.xml and MigApp.xml. These two configurations files migrates the following data and settings:

  • Folders from each profile (My Documents, My Video, My Music, My Pictures, desktop files, Start menu, Quick Launch settings, and Favorites folders)
  • USMT templates migrate the following file types: .accdb, .ch3, .csv, .dif, .doc*, .dot*, .dqy, .iqy, .mcw, .mdb*, .mpp, .one*, .oqy, .or6, .pot*, .ppa, .pps*, .ppt*, .pre, .pst, .pub, .qdf, .qel, .qph, .qsd, .rqy, .rtf, .scd, .sh3, .slk, .txt, .vl*, .vsd, .wk*, .wpd, .wps, .wq1, .wri, .xl*, .xla, .xlb, .xls*.
  • Operating system component settings
  • Application settings

If needed, you can create a custom configuration files to includes more files types or settings. See the following Technet post for detailed instructions.

For more details on what USMT migrates, see this Technet article. For more information on the USMT overall references, see this Technet article.

Where to Store the User Data and Settings

You can capture USMT data locally (Hard-links) or remotely using a State Migration Point in SCCM (File Copy).

  • Hard-link migration takes advantage of advanced features of the NTFS file system that allow files to physically remain in-place and intact even after the drive is wiped (not formatted). When restored, pointers to the files are restored, so the files never physically have to be copied or moved outside the machine. To use hard-linking, select the Capture locally by using links instead of copying files option in the Capture User State task
  • File copy: If hard-linking is not selected, the traditional file copy method for storing user state is used. This file copy method literally copies all identified user state data to an alternative location requiring extra disk space and extra time to complete the copy
Warning
You cannot use a State Migration Point and use hard-links to store the user state data at the same time.
  • To store the user state data on a state migration point (File Copy), you must first Configure a state migration point to store the user state data
  • To store the user state data on the destination computer for update deployments (Hard-Link), you must :
    • Add Capture User State steps to your task sequence and configure it to use local folder using links
    • Add Restore User State steps to your task sequence and configure it to restores the user state using those links
Warning
The user state data that the hard-links reference stays on the computer after the task sequence removes the old operating system. For that reason, you cannot format and partition a drive if you are using USMT. The disk is will be wiped during the Apply Operating System step of the task sequence. If you must format and partition but still want to use USMT, consider using user state migration points, which is network based.

This post will focus on the hard-links option and will not describe how to customize the task sequence to use the state migration point.

Verify SCCM Windows 10 USMT Package

To store the user state locally or on a state migration point, you must create a package that contains the USMT source files that you want to use. This package is used in the Capture User State step of the migration task sequence.

  • Open the SCCM Console
  • Go to Software Library / Application Management / Packages
  • Right-click the User State Migration Tool for Windows 10 package and select Properties
  • On the Data Source tab, ensure that the package is using the ADK 10 – Which is per default C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\User State Migration Tool
  • Right-click the User State Migration Tool for Windows 10 package and select Distribute Content

SCCM Windows 10 deployment

  • If you have no User State Migration Tool for Windows 10 package, just create (without any programs) and distribute it

Creating the Capture and Restore User State Data Task Sequence

To capture and restore the user state, you must first create a new task sequence, but before, we’ll explain the different options in the User State Menu :

SCCM Windows 10 USMT

  • Request State Store : This step is needed only if you store the user state on the State Migration Point
  • Capture User State : This step captures the user state data and stores it on the State Migration Point or locally using hard-links
  • Restore User State : This step restores the user state data on the destination computer. It can retrieve the data from a user state migration point or from hard-links
  • Release State Store : This step is needed only if you store the user state on the State Migration Point. This step release this data from the State Migration Point

When you create a new task sequence from the latest SCCM version, the wizard takes care of the essential steps. Let’s create it and see what are the options :

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click Task Sequence and select Create Task Sequence
  • Select Install an existing image package

SCCM Windows 10 USMT

  • On the Task Sequence Information tab, enter your Task sequence name, Description and Boot Image

SCCM Windows 10 USMT

  • On the Install Windows tab, uncheck Partition and format the target computer and Configure task sequence for use with Bitlocker
    • If a format and partition of the disk is selected, it would wipe all data on the drive, including the USMT data. Instead, the Apply Operating System task will delete of all files and directories occurs on the drive minus protected USMT folders

SCCM Windows 10 USMT

  • On the Configure Network tab, select to join your domain and specify the account to use

SCCM Windows 10 USMT

  • On the Install Configuration Manager Client tab, select your client package

SCCM Windows 10 USMT

  • On the State Migration tab, check Capture user settings and files, select your USMT Package
  • Select Save user settings and files locally and check Capture locally by using links instead of by copying files
This is the important part of the post

SCCM Windows 10 USMT

  • In the Include Update tab, select the desired update behavior

SCCM Windows 10 USMT

  • On the Install Applications tab, select any applications that you want to include in your task sequence

SCCM Windows 10 USMT

  • On the Summary tab, review your choices, click Next and complete the wizard

SCCM Windows 10 USMT

  • Now that the task sequence is created, we’ll edit it and review the steps
  • Right-click your newly created task sequence and click Edit
  • You’ll notice 3 USMT steps has been created :
    • Set Local State Location : This step specify the directory where the local state will be saved. We are using the builtin variable OSDStateStorePath and set the value to %_SMSTSUserStatePath% but you can use a specific location if needed

SCCM Windows 10 USMT

  • Capture User Files and Settings : This is the step when USMT will run the ScanState command. You will see this command in SMSTS.log when monitoring your task sequence. (By default : C:\_SMSTaskSequence\Packages\<YourPackageID>\amd64\scanstate.exe C:\_SMSTaskSequence\UserState /o /localonly /efs:copyraw /c /hardlink /nocompress /l:C:\Windows\CCM\Logs\SMSTSLog\scanstate.log /progress:C:\Windows\CCM\Logs\SMSTSLog\scanstateprogress.log /i:C:\_SMSTaskSequence\Packages\<ID>\amd64\migdocs.xml /i:C:\_SMSTaskSequence\Packages\<ID>\amd64\migapp.xml)

SCCM Windows 10 USMT

  • Restore User Files and Settings : This is the step when USMT will run the LoadState command. You will see this command in SMSTS.log when monitoring your task sequence (By default : C:\_SMSTaskSequence\Packages\<YourPackageID>\amd64\loadstate.exe C:\_SMSTaskSequence\UserState /ue:<computername>\* /c /hardlink /nocompress /l:C:\WINDOWS\CCM\Logs\SMSTSLog\loadstate.log /progress:C:\WINDOWS\CCM\Logs\SMSTSLog\loadstateprogress.log /i:C:\_SMSTaskSequence\Packages\<ID>\amd64\migdocs.xml /i:C:\_SMSTaskSequence\Packages\<ID>\amd64\migapp.xml)

SCCM Windows 10 USMT

Add Support for WinPE

Now that we created a basic task sequence for USMT, we suggest to add a step to support offline capture. If you start your task sequence from PXE, you will need this new step because the step we just created will fail in Windows PE. We will add a step and condition to run depending of the environment in which the task sequence is ran.

  • Right-click the task sequence you just created, select Edit
  • Select the Capture User Files and Settings step
  • Duplicate the task by doing CTRL-C, CTRL-V
  • A new Capture User Files and Settings step is created, select the Capture in Off-line mode (Windows PE only) check box and rename the step to add (WinPE) at the end
  • Rename the other Capture User Files and Settings step to (FullOS)
  • You’ll end up with 2 similar Capture User Files and Settings step. One for Online mode (FullOS) and one for Offline mode (WinPE)

SCCM Windows 10 USMT

SCCM Windows 10 USMT

  • Select the Capture User Files and Settings (Full OS) step and click on the Options tab
  • Select Add Condition, Task Sequence Variable
    • Variable : _SMSTSInWinPE
    • Condition : Equals
    • Value : False

SCCM Windows 10 USMT

  • Select the Capture User Files and Settings (WinPE) step and click on the Options tab
  • Select Add Condition, Task Sequence Variable
    • Variable : _SMSTSInWinPE
    • Condition : Equals
    • Value : True

SCCM Windows 10 USMT

  • Click Apply and Ok to close the task sequence

Deploy SCCM Windows 10 USMT Task Sequence

We are now ready to deploy our Windows 10 USMT task sequence to the Windows 7 computer we want to upgrade.

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click your USMT Task Sequence and select Deploy
  • On the General pane, select your collection. This is the collection that will receive the Windows 10 upgrade using USMT. For testing purposes, we recommend putting only 1 computer to start

SCCM Task Sequence Upgrade

  • On the Deployment Settings tab, select the Purpose of the deployment
    • Available will prompt the user to install at the desired time
    • Required will force the deployment at the deadline (see Scheduling)
  • You cannot change the Make available to the following drop-down since upgrade packages are available to client only

SCCM Task Sequence Upgrade

  • On the Scheduling tab, enter the desired available date and time. On the screenshot, we can’t create an Assignment schedule because we select Available in the previous screen

SCCM Task Sequence Upgrade

  • In the User Experience pane, select the desired options

SCCM Task Sequence Upgrade

  • In the Alerts tab, check Create a deployment alert when the threshold is higher than the following check-box if you want to create an alert on the failures

SCCM Task Sequence Upgrade

  • On the Distribution Point pane, select the desired Deployment options. We will leave the default options

SCCM Task Sequence Upgrade

  • Review the selected options and complete the wizard

SCCM Task Sequence Upgrade

Testing on the Target Computer

For the sake of this post we created a VM with Windows 7 32 bits. We will run our newly created task sequence to upgrade to Windows 10 64 bits.

I also created multiple files in the user profile to shows the USMT actions. We simply created text documents in the various libraries and on the desktop.

SCCM Windows 10 USMT

  • We open the Software Center, select our task sequence and click Install

SCCM Windows 10 USMT

  • The computer will launch the USMT action before rebooting in Windows PE and install Windows 10

SCCM Windows 10 USMT SCCM Windows 10 USMT

  • Once the process completed, we have a brand new Windows 10 migrated with my files where I left them. Even the psycho tortoise wallpaper has made the move.

SCCM Windows 10 USMT

We hope this post will ease your Windows 10 migrations. Leave a comment if you have any questions.

 

The post Refreshing a Windows 7 Computer to Windows 10 using USMT and SCCM appeared first on System Center Dudes.


Step-by-Step SCCM 1606 Upgrade Guide

$
0
0

The second upgrade for SCCM Current Branch (1511) is now available. This post is a complete step-by-step SCCM 1606 upgrade guide. If you’re looking for a complete SCCM 1511 installation guide, see our blog series which covers it all. You can’t install this upgrade if you are running SCCM 2012. You need to be at least at SCCM 1511.

Installing SCCM upgrades is very important to your infrastructure. It adds new feature and fixes lots of issues, which some of them are important.

New Update and Servicing model

If you’re not familiar with the new SCCM servicing model, read our New Update and Servicing section of the 1602 upgrade post which explain it all.

Similar to SCCM 1602, if you need to make a new SCCM installation, you can’t install SCCM 1606 directly. You need to install SCCM 1511 first and then apply SCCM 1606 from the console. SCCM 1511 is still the baseline version if you’re starting from scratch.

*If you are running SCCM 1511 or 1602, the latest updates will be replaced by SCCM 1606 in the SCCM Console after installation. If you are on SCCM 1511, you won’t be able to install 1602 after 1606, you can skip it and install SCCM 1606 directly which contains all 1602 features.

SCCM 1606 New features and fixes

If you’ve been installing SCCM Technical Preview in your lab, SCCM 1606 contain most features included in the latest Technical Previews (1603 and up).

Consult this Technet article for a full features list. 1606 also applies the latest KB/fixes to fix known bugs…. Including KB3155482 but not KB3174008 (which was release a week prior to 1606). If you had already installed KB3174008, 1606 will revert the fixes included in KB3174008. Microsoft recommendation is to skip this KB (unless you are really blocked by this), update to 1606 and wait for a new KB that will be available for 1606 soon. (Which will include KB3174008).

This is also the SCCM version that will bring support for the Windows 10 Anniversary update.

Here’s our list of favorite features :

  • Option for clients to switch to a new software update point
    • You can enable the option for Configuration Manager clients to switch to a new software update point when there are issues with the active software update point.
  • Per-app VPN for Windows 10 devices
    • For Windows 10 devices managed using Configuration Manager with Intune, you can add a list of apps that automatically open a VPN connection that you have configured through the Configuration Manager admin console. You have the option of restricting VPN traffic to those apps, or you can continue to allow all traffic through the VPN connection.
  • Customize the RamDisk TFTP block size and window size on PXE-enabled distribution points
    • You can customize the RamDisk TFTP block size and window size for PXE-enabled distribution points. If you have customized your network, it could cause the boot image download to fail with a time-out error because the block or window size is too large. The RamDisk TFTP block size and window size customization allow you to optimize TFTP traffic when using PXE to meet your specific network requirements
  • Improvements to the Install software updates task sequence
    • A new task sequence variable, SMSTSSoftwareUpdateScanTimeout, is available to give you the ability to control the timeout on the software updates scan during the Install software updates task sequence step. The default value is 30 minutes.
    • There have been improvements to logging. The smsts.log log file will contain new log entries that reference other log files that will help you to troubleshoot issues during the software updates installation process.

Before you begin

Downloading and installing this update is done entirely from the console. There’s no download link, the update will appear in your console once synchronized.

If you’re running a multi-tier hierarchy, start at the top-level site in the hierarchy. After the top-level site upgrades, you can begin the upgrade of each child site. Complete the upgrade of each site before you begin to upgrade the next site. Until all sites in your hierarchy are upgraded, your hierarchy operates in a mixed version mode.

Before applying this update, we strongly recommend that you go through the upgrade check list provided on Technet. Most importantly, initiate a site backup before your upgrade.

In this post, we’ll be updating a standalone Primary Site Server, console and clients.

Before installing, check if your site is ready for the update :

  • Open the SCCM console
  • Go to Administration \ Cloud Services \ Updates and Servicing
  • In the State column, ensure that the update is Available

15689 (6)

  • If it’s not available, right-click Updates and Servicing and select Check for Updates

15689 (3)

  • The update state will change to Downloading

15689 (4)

  • You can follow the download in Dmpdownloader.log

15689 (5)

  • The update files are stored in the EasyPayload folder in your SCCM Installation directory

15689 (7)

 

SCCM 1606 Upgrade guide

Step 1 | SCCM 1606 Prerequisite check

Before launching the update, we recommend to launch the prerequisite check :

  • Open the SCCM console
  • Go to Administration \ Cloud Services \ Updates and Servicing
  • Right-click the Configuration Manager 1606 update and select Run prerequisite check

15689 (8)

  • Nothing will happen, the prerequisite check runs in the background. All menu options will be grayed out during the check

15689 (10)

  • One way to see progress is by viewing C:\ConfigMgrPrereq.log

15689 (11)

  • You can also monitor prerequisite check by going to Monitoring / Site Servicing Status, right-click your Update Name and select Show Status

15689 (12)

  • When completed the State column will show Prerequisite check passed

15689 (13)

Step 2 | Launching the SCCM 1606 update

We are now ready to launch the SCCM 1606 update. At this point, plan about 45 minutes for the update installation.

  • Right click the Configuration Manager 1606 update and select Install Update Pack

15689 (9)

  • On the General tab, click Next

15689 (14)

  • On the Features tab, select the features you want to update

15689 (15)

  • If you don’t select one of the feature now and want to enable it later, you’ll be able to so by using the console in Administration \ Cloud Services \ Updates and Servicing \ Features

SCCM 1602 upgrade guide

  • In the Client Update Options, select the desired option for your client update
    • This new feature allows to update only clients member of a specific collection. Refer to the Technet article for more details

15689 (16)

  • On the License Terms tab, accept the licence terms and click Next

15689 (17)

  • On the Summary tab, review your choices and click Next

15689 (18)

  • On the Completion tab, close the wizard. The whole process took a minute but the installation is not over, it has been initiated

15689 (19)

  • During installation, the State column changes to Installing
  • You can  monitor installation by going to Monitoring / Site Servicing Status, right-click your Update Name and select Show Status

15689 (21)

  • … or you can follow detailed installation progress in SCCM Installation Directory\Logs\CMUpdate.log

15689 (20)

Warning
We’ve done numerous SCCM 1606 installation. Some installation start a couple of minutes after you complete the wizard but we’ve seen some installation starts after a 10 minutes delay. Do not reboot or restart any services during this period or your update could be stuck in “Prerequisite check passed” status and all other options greyed out. There’s actually no officially documented methods by Microsoft to fix that. Patience is the key !
  • When completed, you’ll notice the message There are no pending update package to be processed in the log file
  • Monitoring / Site Servicing Status, right-click your Update Name and select Show Status, the last step will be Installation Succeeded

15689 (22)

  • Refresh the Updates and Servicing node, the State column will be Installed

15689 (23)

Updating the consoles

As in 1602, the console has an auto-update feature. At console opening, if you are not running the latest version, you will receive a warning and the update will start automatically.

  • Since all updates operations were initiated from the console, we didn’t close it during the process. We received a warning message when clicking certain objects. You will have the same message when opening a new console
  • Click OK,  console update will starts automatically

SCCM 1602 upgrade guide

SCCM 1602 upgrade guide

  • Wait for the process to complete. You can follow the progress in C:\ConfigMgrAdminUISetup.log and C:\ConfigMgrAdminUISetupVerbose.log. Once completed, the console will open and you’ll be running the latest version

Verification

Consoles

After setup is completed, verify the build number of the console. If the console upgrade was successful, the build number will be 5.0.8412.1003. You can also notice that Version 1606 is stated.

15689 (24)

Servers

  • Go to Administration \ Site Configuration \ Sites
  • Right-click your site and select Properties
  • Verify the Version and Build number

15689 (25)

Clients

The client version will be updated to 5.00.8412.1006 (after updating, see section below)

15689 (27)

SCCM 1606 Client Package distribution

You’ll see that the 2 client packages are updated :

  • Navigate to Software Library \ Application Management \ Packages

SCCM 1602 upgrade guide

  • Check if both package were updated, if not, select both package and initiate a Distribute Content to your distribution points

Boot Images

Boot images are automatically updated during setup. See our post on upgrade consideration in large environment to avoid this if you have multiple distribution points.

  • Go to Software Library / Operating Systems / Boot Images
  • Select your boot image and check the last Content Status date. It should match your setup date

Updating the Clients

Our preferred way to update our clients is by using the Client Upgrade feature :

  • Open the SCCM Console
  • Go to Administration / Site Configuration / Sites
  • Click the Hierarchy Settings in the top ribbon
  • Select Client Upgrade tab
  • The Upgrade client automatically when the new client update are available checkbox has been enabled
  • Review your time frame and adjust it to your needs

15689 (28)

Monitor SCCM client version number

SCCM Reports Client Version

You can see our SCCM Client version reports to give detailed information about every clients versions in your environment. It’s the easiest way to track your client updates.

SCCM 2012 - System Health Configuration Manager SS

Collections

You can also create a collection that targets clients without the latest client version. I use it to monitor which client haven’t been updated yet.

Here’s the query to achieve this: (You can also refer to our Set of Operational Collection Powershell Script which contains this collection)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ClientVersion != '5.00.8412.1006'

Happy updating ! 🙂

The post Step-by-Step SCCM 1606 Upgrade Guide appeared first on System Center Dudes.

Upgrade Windows 10 using SCCM Task Sequence

$
0
0

 

With the introduction of new Windows 10 service branches, you will need to upgrade your Windows 10 devices at a much faster pace. Hopefully, SCCM Current Branch (1511 and higher) has built-in features to help you fulfill this task. You can choose between Upgrade Task Sequence or the new Windows Servicing feature. This post will describe how to upgrade Windows 10 using SCCM Upgrade Task Sequence.

If you are running SCCM 1511 we recommend to use the Upgrade Task Sequence over the new servicing features. There is an issue in SCCM 1511 that make all Windows 10 languages and editions to be downloaded to the device when the ADR runs. This is fixed in SCCM 1602, using a new filter you can exclude unwanted languages and editions.

If you are running SCCM 1602 or later, it’s really a matter of preference of which process to use. Each one has their own advantages, the new servicing features is using the ADR/Software Update engine, the Task Sequence one is using Task Sequence engine. The Task Sequence method allows to run additional tasks after the upgrade or install new applications. Read both our post before making your decision or use both if needed.

In this post, we will be upgrading a Windows 10 1511 to Windows 10 1607 using SCCM 1606. You can use this method to upgrade any upcoming Windows 10 release. Refer to our other blog post if you’re looking to upgrade Windows 7 to Windows 10 using task sequences.

Requirement for Windows 10 SCCM Task Sequence Upgrade

In an upgrade task sequence, you will need to have the full Windows 10 1607 media imported in Operating System Upgrade Packages node in SCCM :

  • Open the SCCM Console
  • Go to Software Library \ Operating Systems \ Operating System Upgrade Packages
  • Select Add Operating System Upgrade Packages

Windows 10 SCCM Task Sequence Upgrade

  • Select the path where you extracted the Windows 10 ISO

Windows 10 SCCM Task Sequence Upgrade

  • In the General tab, edit Name, Version and Comment fields, click Next

Windows 10 SCCM Task Sequence Upgrade

  • In the Summary tab, review your choices and click Next

Windows 10 SCCM Task Sequence Upgrade

  • Your operating system upgrade package is imported and ready to use in an upgrade task sequence

Windows 10 SCCM Task Sequence Upgrade

Distribute Operating System Upgrade Packages

  • Select your newly imported operating system upgrade packages and select Distribute Content

Windows 10 SCCM Task Sequence Upgrade

Send it to all your distribution points where you will be doing Windows 10 upgrade

Create Windows 10 Upgrade Task Sequence

  • Open the SCCM Console
  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click Task Sequence and select Create Task Sequence

Windows 10 SCCM Task Sequence Upgrade

  • Select Upgrade an operating system from an upgrade package, click Next

Windows 10 SCCM Task Sequence Upgrade

  • In the Task Sequence Information tab, modify the Task sequence name and description if needed, click Next

Windows 10 SCCM Task Sequence Upgrade

  • In the Upgrade the Window Operating System tab, click Browse and select your imported package, click Ok then Next

Windows 10 SCCM Task Sequence Upgrade

  • In the Include Updates tab, we’ll select Do not install any software updates

Windows 10 SCCM Task Sequence Upgrade

  • In the Install Applications tab, add any applications you want to install after the upgrade, click Next

Windows 10 SCCM Task Sequence Upgrade

  • Review your choices, click Next and close the Create Task Sequence Wizard

Windows 10 SCCM Task Sequence Upgrade Windows 10 SCCM Task Sequence Upgrade

  • If you right click your newly created task sequence and select Edit, you’ll notice that the task sequence is really simple. You can add additional steps if required

Windows 10 SCCM Task Sequence Upgrade

Deploy the Task Sequence

  • Right click your newly created task sequence and select Deploy

Windows 10 SCCM Task Sequence Upgrade

  • In the General tab, click Browse and select a collection that contains your Windows 10 devices to be upgraded. At this point, we recommend to select a collection containing a couple of devices to test your deployment. Click Next

Windows 10 SCCM Task Sequence Upgrade

  • In the Deployment Settings tab, select the Purpose (Available or Required). For this post we will select Available, click Next

Windows 10 SCCM Task Sequence Upgrade

  • In the Scheduling tab, select the desired date and time, click Next

Windows 10 SCCM Task Sequence Upgrade

  • In the User Experience tab, select desired options and click Next

Windows 10 SCCM Task Sequence Upgrade

  • In the Alerts tab, decide if you want to create alerts for the deployment and click Next

Windows 10 SCCM Task Sequence Upgrade

  • In the Distribution Points tab, select desired options, click Next

Windows 10 SCCM Task Sequence Upgrade

  • Review your settings, click Next and close the wizard

Windows 10 SCCM Task Sequence Upgrade Windows 10 SCCM Task Sequence Upgrade

Deploy the Task Sequence on a Device

Now that our task sequence is targeted to our Windows 10 device, we need to open the Software Center to initiate the upgrade process.

Before launching, let’s look at our current Windows 10 version :

  • Open a command prompt and enter ver
  • We are running Windows 10 1511 (Build 10586)

Windows 10 SCCM Task Sequence Upgrade

  • In the Start Menu, select Software Center. We are using the new Software Center, your screens may differ if you’re not.
  • Browse to Operating Systems and select your task sequence

Windows 10 SCCM Task Sequence Upgrade

  • Select Install

Windows 10 SCCM Task Sequence Upgrade

  • Accept the warning by selecting Install Operating System (No, your data won’t be lost !)

Windows 10 SCCM Task Sequence Upgrade

  • The installation process starts. You can monitor the progress in C:\Windows\CCM\Logs\SMSTSLog\SMSTS.log

Windows 10 SCCM Task Sequence Upgrade

Windows 10 SCCM Task Sequence Upgrade

  • The computer will restart after about 5 minutes
  • The whole upgrade process takes about 30 to 45 minutes and your device will be rebooted several time

Windows 10 SCCM Task Sequence Upgrade Windows 10 SCCM Task Sequence Upgrade

  • Once completed, log on the computer using your account. Windows is happy to tell you that it’s updated

Windows 10 SCCM Task Sequence Upgrade

  • Open a command prompt and enter ver
  • We are now running Windows 10 1607 (Build 14393)

Windows 10 SCCM Task Sequence Upgrade

Use the comment section to tell which upgrade method you are preferring.

The post Upgrade Windows 10 using SCCM Task Sequence appeared first on System Center Dudes.

Upgrade Windows 10 using SCCM Servicing Plans

$
0
0

 

With the introduction of new Windows 10 service branches, you will need to upgrade your Windows 10 devices at a much faster pace. Hopefully, SCCM Current Branch (1511 and higher) has built-in features to help you fulfill this task. You can choose between Upgrade Task Sequence or the new Windows Servicing feature. This post will describe how to use SCCM Windows 10 servicing plans to upgrade Windows 10 devices.

If you are running SCCM 1511 we recommend to use the Upgrade Task Sequence over servicing plans. SCCM 1511 has an issue that make all Windows 10 languages and editions to be downloaded to the device when the ADR runs. This is fixed in SCCM 1602, using a new filter you can exclude unwanted languages and editions.

If you are running SCCM 1602 or later, it’s really a matter of preference of which process to use. Each one has their own advantages, the new servicing features is using the ADR/Software Update engine, the Task Sequence one is using Task Sequence engine. The Task Sequence method allows to run additional tasks after the upgrade or install new applications. Read both our post before making your decision or use both if needed.

In this post, we will be upgrading a Windows 10 1511 to Windows 10 1607 using SCCM 1606 serving plans. You can use this method to upgrade any upcoming Windows 10 release. You can’t use servicing plans to upgrade Windows 7 or Windows 8 computers.

SCCM Windows 10 Servicing Plans Requirements

Before using Windows 10 servicing plans you need :

  • An Active Software Update Point
  • Enable Heartbeat Discovery – Data displayed in the Windows 10 servicing dashboard is found by using discovery
  • Install WSUS hotfixes and follow the required manual installation steps that are outlined in the KB3159706 article
  • Install WSUS hotfix to enable WSUS support for Windows 10 feature upgrades
  • Enable Windows 10 product and Upgrade classification in your software update point

Once the first 4 steps are completed, let’s bring Windows 10 upgrade packages to your software update point :

  • Open the SCCM Console
  • Go to Administration \ Site Configuration \ Sites
  • On the top ribbon, select Configure Site component and Software Update Point

sccm windows 10 servicing plans

  • In the Products tab, select Windows 10

sccm windows 10 servicing plans

  • In the Classifications tab, select Upgrades

sccm windows 10 servicing plans

  • Accept the prerequisite warning. Go back and install these hotfix if you haven’t done it before

sccm windows 10 servicing plans

  • Close the Software Update Point component properties window
  • Go to Software Library \ Windows 10 Servicing
  • Right-click Windows 10 Servicing, select Synchronize Software Updates

sccm windows 10 servicing plans

  • As for any Software Update synchronization process, follow the action in Wsyncmgr.log in your SCCM installation directory
  • Once completed, go to Software Library \ Windows 10 Servicing \ All Windows 10 Updates
  • You should have Windows 10 Upgrade packages listed

sccm windows 10 servicing plans

Feature Updates vs Upgrades

After your synchronization, you’ll notice 2 types of packages. This is a bit confusing. As you can see in the screenshot, for Windows 1607 Enterprise, we only has Feature Update to Windows 10 Enterprise we don’t have an Upgrade to Windows 10 Enterprise package for 1607… yet.

sccm windows 10 servicing plans

Why ?

The short story : At the time of this writing, the 1607 build is in the Current Branch readiness state. (listed as Feature Update). When this build falls into Current Branch for Business (Approximately 4 months), a new release will be available in Windows Update and then in SCCM (listed as Upgrade).

  • Feature Upgrade : New build at the time of the release
  • Upgrade : Feature Update + Servicing Update (Patches) since media first published

sccm windows 10 servicing plans

In this post, we’ll be using Feature Updates. During our tests, we also tried the Upgrade package on a 1507 computer (1507 -> 1511) without issues. If you have both available at the time of creating your servicing plan, use the Upgrade package since it include Servicing Updates.

Long Story : If you want the Microsoft version, refer to the complete Technet documentation.

The 2 key phrases from this documentation are :

  • Feature upgrades that install the latest new features, experiences, and capabilities on devices that are already running Windows 10. Because feature upgrades contain an entire copy of Windows, they are also what customers use to install Windows 10 on existing devices running Windows 7 or Windows 8.1, and on new devices where no operating system is installed
  • Approximately four months after publishing the feature upgrade, Microsoft uses Servicing Branch #1 again to republish/updated installation media for Windows 10 Pro, Education, and Enterprise editions. The updated media contains the exact same feature upgrade as contained in the original media except Microsoft also includes all the servicing updates that were published since the feature upgrade was first made available. This enables the feature upgrade to be installed on a device more quickly, and in a way that is potentially less obtrusive to users.

Create Servicing Plans

Now that we have Windows 10 upgrade packages in SCCM, we can create a servicing plan for our Windows 10 devices. Servicing Plan and Automatic Deployment Rules shares the same engine so you won’t be disoriented by servicing plans.

Warning
Servicing plans are designed to upgrade Windows 10 from one build to another build only. You can’t use that to upgrade Windows 7 to Windows 10. If you need to upgrade your Windows 7 to Windows 10 use the Upgrade Task Sequence instead.

Looking at the Windows 10 Servicing dashboard, our 3 Windows 10 1511 are near expiration (Expire Soon).

sccm windows 10 servicing plans

  • Go to Software Library \ Windows 10 Servicing \ Servicing Plan
  • Right-click Servicing Plan and select Create Servicing Plan

sccm windows 10 servicing plans

  • In the General Pane, give a Name and Description, click Next

sccm windows 10 servicing plans

  • On the Servicing Plan tab, click Browse and select your Target Collection

sccm windows 10 servicing plans

  • In the Deployment Ring tab :
    • Specify the Windows readiness state to which your servicing plan should apply
    • Specify how many days you want to wait before deploying

sccm windows 10 servicing plans

  • In the Upgrade tab, specify the Language, Required and Title of the upgrade packages you want to deploy. This is a nice addition to the SCCM 1602 release, in 1511 all languages were downloaded

sccm windows 10 servicing plans

  • Use the Preview button to ensure that you are targeting the right version (We are targeting Windows 10 1607 Enterprise en-us devices that are Required)

sccm windows 10 servicing plans

  • In the Deployment Schedule tab, select the desired behavior

sccm windows 10 servicing plans

  • In the User Experience tab, select the desired options

sccm windows 10 servicing plans

  • In the Deployment Package tab, select Create a new deployment package and enter your Package Source path

sccm windows 10 servicing plans

  • In the Distribution Points tab, select your distribution point

sccm windows 10 servicing plans

  • In the Download Location tab, select Download software updates from the Internet

sccm windows 10 servicing plans

  • In the Language Selection tab, select your language

sccm windows 10 servicing plans

  • In the Summary tab, review your settings and close the Create Servicing Plan wizard

sccm windows 10 servicing plans sccm windows 10 servicing plans

  • Right-click your newly created Servicing Plan and select Run Now

sccm windows 10 servicing plans

  • You can see that the deployment gets created in the Monitoring / Deployments section

sccm windows 10 servicing plans

Servicing Plan Deployment

Now that the deployment are triggered for clients, we will launch the installation manually using software center.

sccm windows 10 servicing plans

  • Open the Software Center, under Updates, Feature Update to Windows 10 Enterprise 1607 is listed

sccm windows 10 servicing plans

  • Select it and select Install

sccm windows 10 servicing plans

  • Accept the warning by clicking Install Operating System. (Your data won’t be lost)

sccm windows 10 servicing plans

  • Installation is running

sccm windows 10 servicing plans

  • The computer will restart after about 5 minutes
  • The whole upgrade process takes about 30 to 45 minutes and your device will be rebooted several time

sccm windows 10 servicing plans

  • Once completed, log on the computer using your account. Windows is happy to tell you that it’s updated

sccm windows 10 servicing plans

  • We are now running Windows 10 Enterprise version 1607 (Build 14393)

sccm windows 10 servicing plans

  • Back in the Software Library \ Windows 10 Servicing \ Servicing Plan node
  • Our machine is now listed as version 1607 and is no longer listed as Expire Soon
  • The Service Plan Monitoring section can be used to monitor compliance and you can use the Deploy Now button to deploy the same service plan to a new collection

sccm windows 10 servicing plans

Use the comment section to tell which upgrade method you are preferring.

The post Upgrade Windows 10 using SCCM Servicing Plans appeared first on System Center Dudes.

Step-by-Step SCCM 1610 Upgrade Guide

$
0
0

The third upgrade for SCCM Current Branch is now available. This post is a complete step-by-step SCCM 1610 upgrade guide. If you’re looking for a complete SCCM installation guide, see our blog series which covers it all. You can’t install this upgrade if you are running SCCM 2012. You need to be at least at SCCM 1511.

Installing SCCM upgrades is very important to your infrastructure. It adds new feature and fixes lots of issues, which some of them are important.

New Update and Servicing Model

If you’re not familiar with the new SCCM servicing model, read our New Update and Servicing section of the 1602 upgrade post which explain it all.

Similar to SCCM 1606, if you need to make a new SCCM installation, you can’t install SCCM 1610 directly. You need to install SCCM 1511 (or 1606) first and then apply SCCM 1610 from the console. SCCM 1606 is the baseline version if you’re starting from scratch.

*If you are running SCCM 1511, 1602 or 1606, the latest updates will be replaced by SCCM 1610 in the SCCM Console after installation. If you are on SCCM 1511, you won’t be able to install 1602 or 1606 after 1610. You can skip all previous versions and install SCCM 1610 directly which contains all 1602 and 1606 fixes and features.

SCCM 1610 New Features and Fixes

If you’ve been installing SCCM Technical Preview in your lab, SCCM 1606 contain most features included in the latest Technical Previews (1605 and up).

1610 includes lots of new features and enhancements in Windows 10 and Office 365 management, application management, end user experience, client management and also includes new functionality for customers using Configuration Manager in hybrid mode with Microsoft Intune.

Consult the Summary of changes in System Center Configuration Manager version 1610 article for a full list of changes.

Consult this Technet article for a full features list. 1606 also applies the latest KB/fixes to fix known bugs, including KB3202796, KB3192616, KB3186654 and KB3180992

Here’s our list of favorite features :

  • Office 365 Servicing Dashboard and app deployment to clients features help you to deploy Office 365 apps to clients as well as track Office 365 usage and update deployments.
  • Software Updates Compliance Dashboard allows you to view the current compliance status of devices in your organization and quickly analyze the data to see which devices are at risk.
  • Cloud Management Gateway provides a simpler way to manage Configuration Manager clients on the Internet. You can use the SCCM console to deploy the service in Microsoft Azure and configure the supported roles to allow cloud management gateway traffic.
  • Client Peer Cache is a new built-in solution in Configuration Manager that allows clients to share content with other clients directly from their local cache with monitoring and troubleshooting capabilities.
  • Enhancements in Software Center including customizable branding in more dialogs, notifications of new software, improvements to the notification experience for high-impact task sequence deployments, and ability for users to request applications and view request history directly in Software Center.

Before you begin

Downloading and installing this update is done entirely from the console. There’s no download link, the update will appear in your console once the Service Connection Point is synchronized.

If you’re running a multi-tier hierarchy, start at the top-level site in the hierarchy. After the top-level site upgrades, you can begin the upgrade of each child site. Complete the upgrade of each site before you begin to upgrade the next site. Until all sites in your hierarchy are upgraded, your hierarchy operates in a mixed version mode.

Before applying this update, we strongly recommend that you go through the upgrade check list provided on Technet. Most importantly, initiate a site backup before your upgrade.

In this post, we’ll be updating a standalone Primary Site Server, consoles and clients.

Before installing, check if your site is ready for the update :

  • Open the SCCM console
  • Go to Administration \ Cloud Services \ Updates and Servicing
  • In the State column, ensure that the update is Available

SCCM 1610 upgrade guide

  • If it’s not available, right-click Updates and Servicing and select Check for Updates

SCCM 1610 upgrade guide

  • The update state will change to Downloading

SCCM 1610 upgrade guide

  • You can follow the download in Dmpdownloader.log or by going to Monitoring / Site Servicing Status, right-click your Update Name and select Show Status

SCCM 1610 upgrade guide

SCCM 1610 upgrade guide

  • The process will first download a .CAB file and will then extract the file in the EasyPayload folder in your SCCM Installation directory. It can take up to 15 minutes to extract all files.

SCCM 1610 upgrade guide

SCCM 1610 Upgrade guide

Step 1 | SCCM 1610 Prerequisite check

Before launching the update, we recommend to launch the prerequisite check :

  • Open the SCCM console
  • Go to Administration \ Cloud Services \ Updates and Servicing
  • Right-click the Configuration Manager 1610 update and select Run prerequisite check

SCCM 1610 upgrade guide

  • Nothing will happen, the prerequisite check runs in the background. All menu options will be grayed out during the check

SCCM 1610 upgrade guide

  • One way to see progress is by viewing C:\ConfigMgrPrereq.log

SCCM 1610 upgrade guide

  • You can also monitor prerequisite check by going to Monitoring / Site Servicing Status, right-click your Update Name and select Show Status

SCCM 1610 upgrade guide

  • When completed the State column will show Prerequisite check passed

SCCM 1610 upgrade guide

Step 2 | Launching the SCCM 1610 update

We are now ready to launch the SCCM 1610 update. At this point, plan about 45 minutes for the update installation.

  • Right click the Configuration Manager 1610 update and select Install Update Pack

SCCM 1610 upgrade guide

  • On the General tab, click Next

SCCM 1610 upgrade guide

  • On the Features tab, select the features you want to update

SCCM 1610 upgrade guide

  • If you don’t select one of the feature now and want to enable it later, you’ll be able to so by using the console in Administration \ Cloud Services \ Updates and Servicing \ Features

SCCM 1602 upgrade guide

  • In the Client Update Options, select the desired option for your client update

SCCM 1610 upgrade guide

  • On the License Terms tab, accept the licence terms and click Next

SCCM 1610 upgrade guide

  • On the Summary tab, review your choices and click Next

SCCM 1610 upgrade guide

  • On the Completion tab, close the wizard. The whole process took a minute but the installation is not over, it has been initiated

SCCM 1610 upgrade guide

  • During installation, the State column changes to Installing

SCCM 1610 upgrade guide

  • You can  monitor installation by going to Monitoring / Site Servicing Status, right-click your Update Name and select Show Status

SCCM 1610 upgrade guide

  • … or you can follow detailed installation progress in SCCM Installation Directory\Logs\CMUpdate.log

SCCM 1610 upgrade guide

Warning
We’ve done numerous SCCM 1610 installation. Some installation start a couple of minutes after you complete the wizard but we’ve seen some installation starts after a 10 minutes delay. Do not reboot or restart any services during this period or your update could be stuck in “Prerequisite check passed” status and all other options greyed out. There’s actually no officially documented methods by Microsoft to fix that. Patience is the key !
  • When completed, you’ll notice the message There are no pending update package to be processed in the log file
  • Monitoring / Site Servicing Status, right-click your Update Name and select Show Status, the last step will be Installation Succeeded

SCCM 1610 upgrade guide

  • Refresh the Updates and Servicing node, the State column will be Installed

SCCM 1610 upgrade guide

Updating the consoles

As previous Cumulative update, the console has an auto-update feature. At console opening, if you are not running the latest version, you will receive a warning and the update will start automatically.

  • Since all updates operations were initiated from the console, we didn’t close it during the process. We received a warning message when clicking certain objects. You will have the same message when opening a new console
  • Click OK,  console update will starts automatically

SCCM 1602 upgrade guide

SCCM 1602 upgrade guide

  • Wait for the process to complete. You can follow the progress in C:\ConfigMgrAdminUISetup.log and C:\ConfigMgrAdminUISetupVerbose.log. Once completed, the console will open and you’ll be running the latest version

Verification

Consoles

After setup is completed, verify the build number of the console. If the console upgrade was successful, the build number will be 5.0.8458.1500. You can also notice that Version 1610 is stated.

SCCM 1610 upgrade guide

Servers

  • Go to Administration \ Site Configuration \ Sites
  • Right-click your site and select Properties
  • Verify the Version and Build number

SCCM 1610 upgrade guide

Clients

The client version will be updated to 5.00.8458.1005 (after updating, see section below)

SCCM 1610 upgrade guide

SCCM 1610 Client Package distribution

You’ll see that the 2 client packages are updated :

  • Navigate to Software Library \ Application Management \ Packages

SCCM 1602 upgrade guide

  • Check if both package were updated, if not, select both package and initiate a Distribute Content to your distribution points

Boot Images

Boot images are automatically updated during setup. See our post on upgrade consideration in large environment to avoid this if you have multiple distribution points.

  • Go to Software Library / Operating Systems / Boot Images
  • Select your boot image and check the last Content Status date. It should match your setup date

Updating the Clients

Our preferred way to update our clients is by using the Client Upgrade feature : (You can refer to our complete post documenting this feature)

  • Open the SCCM Console
  • Go to Administration / Site Configuration / Sites
  • Click the Hierarchy Settings in the top ribbon
  • Select Client Upgrade tab
  • The Upgrade client automatically when the new client update are available checkbox has been enabled
  • Review your time frame and adjust it to your needs

SCCM 1610 upgrade guide

Monitor SCCM Client Version Number

SCCM Reports Client Version

You can see our SCCM Client version reports to give detailed information about every clients versions in your environment. It’s the easiest way to track your client updates.

SCCM 2012 - System Health Configuration Manager SS

Collections

You can also create a collection that targets clients without the latest client version. I use it to monitor which client haven’t been updated yet.

Here’s the query to achieve this: (You can also refer to our Set of Operational Collection Powershell Script which contains this collection)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ClientVersion != '5.00.8458.1005'

Happy updating ! 🙂

Founder of System Center Dudes. Based in Montreal, Canada, Senior Microsoft SCCM Consultant, 4 times Enterprise Mobility MVP. Working in the industry since 1999. His specialization is designing, deploying and configuring SCCM, mass deployment of Windows operating systems, Office 365 and Intunes deployments.

The post Step-by-Step SCCM 1610 Upgrade Guide appeared first on System Center Dudes.

How to upgrade SCCM SQL version

$
0
0

SQL Server is obviously a key component to take care of, for a healthy SCCM infrastructure. While SCCM supports a wide variety of SQL Server versions, keeping it up to date may be a good idea to avoid getting out of support.

In this post, we will detail how to upgrade SCCM SQL 2014 to SQL 2017. SQL 2019 is available for a couple of weeks, but it’s still not listed as supported in the SCCM documentation.

If you’re looking to install SQL 2017 from scratch, jump to our post on this topic.

Important Info

At the time of writing, the latest supported SQL Server version is still 2017 with at least Cumulative Update 2

Upgrade SCCM SQL version Requirements

  • Current SQL versions must be one of the following :
    • SQL Server 2008 SP4 or later
    • SQL Server 2008 R2 SP3 or later
    • SQL Server 2012 SP2 or later
    • SQL Server 2014 or later
    • SQL Server 2016 or later
  • Download SQL reporting services
  • Download SQL Management studio
  • The operating system is still under support, which means Windows server 2012 or higher
  • Destination edition of SQL must match or higher than current installation
    • Meaning Standard can be upgraded to Standard but as well to Enterprise.
    • See below link for compatibility table

For more details about requirements, see this Microsoft docs page.

Pre-Upgrade tasks

  • Validate SQL functionality used are supported by the destination edition, which should be for SCCM
  • Make sure Windows authentication is enabled, which should be for SCCM
  • Uninstall SQL Management Studio, as this is no longer included in the SQL installation.
  • Make sure there’s no pending restart
  • Stop SMS_EXECUTIVE to stop all SCCM components
    • Go to Monitoring/System Status/Component Status and select Start/Configuration Manager Service manager
Upgrade SCCM SQL version
  • Select the SMS_Executive component and stop it
Upgrade SCCM SQL version
  • Make sure all components are stopped
Upgrade SCCM SQL version

Upgrade SQL Reporting services 2017

Before upgrading the SQL server, Reporting services must be updated. This component is no longer part of the main installation and comes as a standalone download. Upgrade will be prevented until the current version of SQL Reporting services is still installed on the server.

  • Backup any custom reports from the Report Server.
Upgrade SCCM SQL version
  • In Reporting services configuration manager, backup SQL reporting services Encryption keys
Upgrade SCCM SQL version
  • Install SQL server 2017 reporting services
Upgrade SCCM SQL version
  • Provide the cd-key. It can be found in the install wizard from the SQL 2017 ISO as well as your licensing website.
Upgrade SCCM SQL version
  • Accept license terms
Upgrade SCCM SQL version
  • This will only install the reporting services. It will not connect to current reporting database
Upgrade SCCM SQL version
  • Select the install path and click Install
Upgrade SCCM SQL version
  • Start configuring SQL reporting services
Upgrade SCCM SQL version
  • Configure Reporting services as it was with the previous version.
Important Info
  • Use the same ReportServer database that was used before.
  • Restore Encryption keys
  • Remember links and ports to use the same

Upgrade SCCM SQL version

  • Mount the ISO and select Upgrade
Upgrade SCCM SQL version
  • Provide Product Key or continue as an evaluation. Make sure current and future edition support this upgrade path
Upgrade SCCM SQL version
  • Accept license terms
Upgrade SCCM SQL version
  • Select the desired instance to upgrade
Upgrade SCCM SQL version
  • Check the box to uninstall Reporting services if it was not previously done.
Upgrade SCCM SQL version
  • Confirm features that will be upgraded
Upgrade SCCM SQL version
  • Confirm the instance to be upgraded
Upgrade SCCM SQL version
  • Click Upgrade to begin
Upgrade SCCM SQL version
  • Upgrade completed!
Upgrade SCCM SQL version

Post upgrade tasks

  • SCCM requires a minimum CU2 to be installed on SQL 2017. At the time of writing this article, CU18 is the latest available. Make sure to install the latest cumulative update for SQL server 2017
  • Uninstall unnecessary SQL server components from the previous version, if any are still there like the Management Studio
  • Review SCCM status
  • Review SCCM reports on the web and in console

Hope this helps!

Note: There is a rating embedded within this post, please visit this post to rate it.

Share this Post

The post How to upgrade SCCM SQL version appeared first on System Center Dudes.

Viewing all 35 articles
Browse latest View live