How can I easily prompt for a computer name in Configuration Manager 2012

When you install new computers it would be nice to be able to easily name the computer as part of the deployment, otherwise the new computer could end up with a name like MININT-XRGHJTF unless you import it into Configuration Manager first. You can script around this in your task sequence or use web services or HTA’s but the easiest method of all is to set a Collection variable called OSDComputerName. This method does not require any scripting all you need to do is to Enable Unknown Computer support in the Distribution Point PXE tab settings.

enable unknown computer support.png

To prompt the end user to enter a computer name In Configuration Manager 2012 by using the OSDComputerName variable you first need to think about the computers you are aiming this at, and in this case the computers are unknown computers, that is, they are unknown to Configuration Manager.

Step 1. add the collection variable

Now that we know that they are unknown we need to select the Unknown Computers collection called All Unknown Computers. Right click and choose Properties.

all unknown computers properties.png

select the Collection Variables tab and click on the Yellow star burst button as shown below

collection variables.png

enter the following variable name when prompted OSDComputerName, remove the checkmark from Do Not Display this value in the Configuration Manager console as in the screenshot below

new variable.png

click ok and apply so that it looks like this

OSDComputerName.png

Step 2. Make sure you have Deployed a task sequence to the Unknown Computers collection

Verify that you have deployed your chosen task sequence to the Unknown Computers collection by selecting the task sequence and clicking on the Deployments tab. The deployments listed should include one for the All Unknown Computers collection as shown below. If not, then create a new deployment for the task sequence and choose the All Unknown Computers collection for that deployment.

deployed to all unknown computers.png

Step 3. PXE boot a new computer

PXE boot a new computer. Press F12 when prompted

Note: make sure the computer is NOT present in Configuration Manager prior to this, either as a previous computername or as an UNKNOWN object, if it is, highlight it in All Systems and delete it.

computer pxe booting.png

select your task sequence and click next

select task sequence.png

now you will see a Task Sequence window called Edit Task Sequence Variables

edit task sequence variables.png

double click on OSDComputerName, the following should appear

OSDComputerName double click.png

type in a computername

computername entered.png

click ok and the computername value should be listed to the right of the variable name as shown below

value listed.png

click next and the task sequence completes as normal

Step 4. Verify that it worked

Now that the Task Sequence is complete you can logon to your computer, bring up the computer properties and note the computername is what you entered earlier.

computername.png

the variable is set during the Apply Windows settings step of the task sequence and you can see the collection variable being added in the SMSTS.log file (found in C:\Windows\CCM\Logs)

adding collection variable.png

that’s it, I told you it was easy !

cheers
niall

Posted in computername, ConfigMgr 2012, OSD | Leave a comment

Congratulations on earning your Administering and Deploying System Center 2012 Configuration certification!

got this in the mail today, great ! :-)

if you are interested in taking the exam (70-243) then please see this post.

cheers

niall

 

Congratulations on earning your Administering and Deploying System Center 2012 Configuration certification! We hope you enjoy the benefits of your certification and of membership in the Microsoft Certified Professional community.

WHAT IS NEXT?

Visit the MCP member site (www.microsoft.com/mcp) to download your new logo, certificate, view and share your transcript, and access additional MCP resources.

KEEP IN TOUCH!

Visit the profile center and make sure you are subscribed to the MCP newsletter for updates on exams, training, and program benefits: http://www.microsoft.com/learning/newsletters/default.mspx.

Connect with your peers for networking and advice in the Born to Learn blog:
http://blogs.technet.com/mslcommunity

Congratulations once again,
The Microsoft Certification Program Team

Posted in 70-243, ConfigMgr 2012 | 1 Comment

using System Center 2012 Configuration Manager – Part 2. Install the primary server – P01

In Part 1 of this series we created our new LAB, we got the System Center 2012 Configuration Manager ISO and extracted it, then copied it to our Active Directory server. We then created the System Management container in AD, delegated permissions to the container, extended the Schema for Configuration Manager. We then opened TCP ports 1433 and 4022 for SQL replication between sites, installed some prerequisites like .NET Framework 4.0, added some features and then downloaded and installed SQL Server 2008 R2 SP1 CU6. We then configured SQL Server using SQL Server Management Studio for security and memory configurations prior to running the Configuration Manager 2012 setup to assess server readiness. Finally we installed a central administration site (CAS) and will now install our primary server.

The primary server will be called P01 (P for primary, 01 as it’s the first primary, if you were to have more primaries connected to your CAS, you could call the next one P02 and so on). Prior to installing our primary server I want you to set this server up the same way as you did the CAS, install the pre-reqs including .NET Framework 4.0, install SQL Server 2008 R2 SP1 CU6 and configure it (security and memory) before doing anything else. You do not need to extend the schema again that is a one time operation. The primary server (p01.server2008r2.lab.local) should therefore now have SQL installed and you should have copied the Configuration Manager 2012 source files from our active directory server AD1 to C:\Temp\CM12RTM before starting step 1 below.

Note: Determine Whether to Install a Primary Site – The below is from Technet

Use primary sites to manage clients. Consider installing a primary site for any of the following reasons:

  • To manage clients directly.
  • To increase the number of clients to manage. Each primary site can support up to 100,000 clients.
  • To provide a local point of connectivity for administration.
  • To meet organizational management requirements. For example, you might install a primary site at a remote location to manage the transfer of deployment content across a low-bandwidth network.

Use the following information to help you plan for primary sites:

  • A primary site can be a stand-alone primary site or a member of a hierarchy.
  • A primary site only supports a central administration site as a parent site.
  • A primary site only supports secondary sites as child sites and can support one or more secondary child sites.
  • A primary site cannot change its parent site relationship after installation.
  • Primary sites are responsible for processing all client data from their assigned clients.
  • When a primary site is installed, it automatically configures database replication with its designated central administration site.
  • Primary sites use database replication to communicate directly to their central administration site.
  • You can install typically used site system roles when you install a primary site. For a list of site system roles that are supported on primary sites, see Planning Where to Install Sites System Roles in the Hierarchy.

Step 1. Start the System Center 2012 Configuration Manager setup
Note: Perform the following on the Primary server (P01) as SMSadmin

It is important to note that the user you use to run the Configuration Manager setup wizard has the correct rights assigned, if you are using the domain user, SMSadmin then you should be ok. We added this user as a Local Administrator of both the CAS and P01 servers in Step 1 of Part 1. If you try to run the setup wizard as a user that doesn’t have the correct rights or if you are logged onto this computer as the local administrator and not a domain user, you may see all sorts of warnings in the server readiness check including Active Directory Schema warnings even though you’ve extended the schema. Therefore please take note of the following requirements for the user prior to running setup and login as that domain user (server2008r2\SMSadmin).

Verify the user that runs Setup has the following security rights:

  • Local Administrator rights on the central administration site server.
  • Local Administrator rights on the remote site database server for the central administration site, if it is remote.
  • Sysadmin rights on the site database of the central administration site.
  • Local Administrator rights on the primary site computer.
  • Local Administrator rights on the remote site database server for the primary site, if it is remote.
  • User name associated with the Infrastructure Administrator or Full Administrator security role on the central administration site.

Browse to C:\Temp\CM12RTM on your Primary server, and double click on splash.hta

splash hta.png

the System Center 2012 Configuration Manager Setup screen appears.

setup screen.png

click on Assess Server Readiness, if you did everything outlined above then the only warning (in yellow, errors are in red) you’ll see is about WSUS SDK on site server, and that is ok to ignore as we’ll be installing it later on in this series.

wsus sdk on site server.png

click Ok and then click on Install to start the setup wizard, answer yes to any UAC prompts..

install.png

review the wizard Before you Begin page…and click next

before you begin.png

The option we need will already be selected (Install a Configuration Manager primary site), do NOT place a checkmark in the box below as this will install a standalone site instead of allowing us to join our Primary to our Central Administration Site server. If you want to install a standalone primary then read this guide instead.

install a configuration manager primary site.png

enter your Product Key or choose the evaluation option, yes you can upgrade from evaluation to full version (read this post from Ronni).

product key.png

Accept the Microsoft Software License Terms

eula.png

followed by the Prerequisite Licenses

prereq licenses.png

The Prerequite Downloads screen offers you the choice to use previously downloaded files, as we already downloaded them when installing our CAS I copied these files to C:\Temp\downloads

prereq downloads.png

click next and they’ll be verified..

verified.png

and you get to see the Server Language Selection

Server Language Selection.png

closely followed by the Client Language Selection, choose the language that you want displayed on the display language of the client computer (eg: if your client computers are in Swedish, choose Swedish). You can always modify these options later by running Setup again and choosing Site Maintenance.

client language selection.png

for Site and Installation Settings fill in your desired Site Code (P01) and name, and install it to D:\, make sure you are happy with the choices as you can’t change them later…

site and installation settings.png

now you get to join it to our CAS in the Primary Site Installation screen, type in the FQDN of your CAS server (if you want it to be a standalone you could choose that option now…)

primary site installation.png

next we have the Database Information, it should auto populate

database information.png

followed by the SMS Provider settings, you can have multiple SMS Providers depending on your needs but we will just be using one in this LAB

SMS Provider settings.png

next we get to configure Client Computer Communication Settings (HTTP or HTTPS). Select Configure the communication method on each site system role.

Client Computer Communication Settings.png

and the Site System Roles screen appears, note that the site server Computer Account must be a member of the Local Administrators Group in order to install these roles.

Site System Roles.png

and next you get the Customer Experience Improvement Program Configuration options

CEIP.png

review the Settings Summary

settings summary.png

before seeing our Prerequisite Check being performed again, click Begin Install to start installing our Primary Server

Prerequisite Check.png

and off it goes !

install beginning.png

Tip: click on View Log to see the C:\ConfigMgrSetup.log file scrolling by in real time. CMTrace should be run once first to associate itself with log files. You can find CMTrace in the ConfigMgr media which you copied to C:\Temp\CM12RTM\SMSSetup\Tools\

view log.png

Core setup will be done in approx 37 minutes on reasonable hardware (read: a nice laptop) but you want to wait until all the components listed are green before patting yourself on the back for a job well done and that takes considerably longer. Note that the time doesn’t progress after core setup, you can review the log for details of what was actually done.

install done.png

After that you can close the wizard and start the Configuration Manager console on your newly installed primary.

primary done.png

navigate to Monitoring and Site Heirarchy in the console

site heirarchy.png

congratulations, you now have a System Center 2012 Configuration Manager 2012 heirarchy !. In the next part we’ll start configuring it.

The original post is here on windows-noob.com

Posted in ConfigMgr 2012, windows-noob | Leave a comment

ConfigMgr 2012 Toolkit and other goodies

if you are looking for the Configuration Manager 2012 Toolkit you can download it from here, note that the Package Conversion Manager and Physical to virtual tools are also listed there as described below:-

Package Conversion Manager (PCM) The Microsoft System Center 2012 Configuration Manager Package Conversion Manager allows for converting packages and programs into applications and deployment types in System Center Configuration Manager 2012. There is a migration feature which will be released with the Configuration Manager 2012 that allows packages to be migrated from 2007 to 2012. Once you have migrated your package objects and installed PCM then it is just a matter analyzing your packages in order to determine which readiness state each are in, and then converting those packages that are in the appropriate readiness state. . This release comes in 4 languages.

Physical to Virtual (P2V) Migration Toolkit
The System Center 2012 Configuration Manager P2V Migration Toolkit facilitates the re-utilization of existing x64 server hardware using virtualization technologies, Windows Server 2008 R2 and Hyper-V. The P2V Migration Toolkit was specifically designed to assist in situations where there are remote Configuration Manager 2007 SP 2 site servers that need to be retained during side-by-side migration process to System Center 2012 Configuration Manager. The P2V Migration Toolkit is geared to supporting P2V migrations at remote, branch offices that do not have existing onsite Virtual Machine Manager infrastructure.

System Center 2012 Configuration Manager ToolkitThe Microsoft System Center 2012 Configuration Manager Toolkit contains nine downloadable tools to help you manage and troubleshoot Microsoft System Center 2012 Configuration Manager. The following list provides specific information about each tool in the toolkit.

  • Client Spy – A tool that helps you troubleshoot issues related to software distribution, inventory, and software metering on System Center 2012 Configuration Manager clients.
  • Policy Spy – A policy viewer that helps you review and troubleshoot the policy system on System Center 2012 Configuration Manager clients.
  • Security Configuration Wizard Template for Microsoft System Center 2012 Configuration Manager – The Security Configuration Wizard (SCW) is an attack-surface reduction tool for the Microsoft Windows Server 2008 R2 operating system. Security Configuration Wizard determines the minimum functionality required for a server’s role or roles, and disables functionality that is not required.
  • Send Schedule Tool – A tool used to trigger a schedule on a client or trigger the evaluation of a specified DCM Baseline. You can trigger a schedule either locally or remotely.
  • Power Viewer Tool – A tool to view the status of power management feature on System Center 2012 Configuration Manager clients.
  • Deployment Monitoring Tool – The Deployment Monitoring Tool is a graphical user interface designed help troubleshoot Applications, Updates, and Baseline deployments on System Center 2012 Configuration Manager clients.
  • Run Metering Summarization Tool – The purpose of this tool is to run the metering summarization task to analyze raw metering data
  • Role-based Administration Modeling and Auditing Tool – This tool helps administrators to model and audit RBA configurations.
  • License Tracking PowerShell Cmdlets – The PowerShell cmdlet “Get-ConfigMgrAccessLicense” is used to get license usage information for all the servers and clients within scope of System Center 2012 Configuration Manager. The cmdlet returns a list of licensable features and a list of unique users and devices per unique licensable feature.

cheers

niall

Posted in ConfigMgr 2012, toolkit | 1 Comment

using System Center 2012 Configuration Manager – Part 1. Installation – CAS

Introduction

System Center 2012 Configuration Manager was released to General Availability (GA) April 17th, 2012 at MMS 2012. If you’ve been following my previous series of Step by Step guides on System Center 2012 Configuration Manager (from Beta 1 through to Release Candidate 2) then you’ll know where this is going, we are going to install System Center 2012 Configuration Manager in a LAB from scratch and configure it, use it, test it, learn it, love it :-)

This is Part 1 of a new series which will cover the installation, setup, configuration and usage of Microsoft System Center 2012 Configuration Manager.

To see the an index of all parts please refer to (and bookmark) this link.

Technet Recommended Reading:-
Release Notes for System Center 2012 Configuration Manager - http://technet.micro…y/hh691020.aspx
Fundamentals of Configuration Managerhttp://technet.micro…y/gg682106.aspx
Supported Configurations for Configuration Managerhttp://technet.micro…y/gg682077.aspx
Planning for Configuration Manager Sites and Hierarchyhttp://technet.micro…y/gg682075.aspx

Getting Started with Configuration Manager 2012 – http://technet.micro…y/gg682144.aspx
What’s New in Configuration Manager – http://technet.micro…y/gg699359.aspx
Planning for Site Systems in Configuration Manager – http://technet.micro…y/gg712282.aspx
Install Sites and Create a Hierarchy for Configuration Manager – http://technet.micro…y/gg712320.aspx
Technical Reference for Site Communications in Configuration Manager – http://technet.micro…y/gg712990.aspx
Migrating from Configuration Manager 2007 to Configuration Manager 2012 – http://technet.micro…y/gg682006.aspx
Frequently Asked Questions for Configuration Manager – http://technet.micro…y/gg682088.aspx

Site Types

Configuration Manager 2012 introduces the central administration site (often referred to as the CAS) and some changes to primary and secondary sites. The following tables summaries these sites and how they compare to sites in Configuration Manager 2007.

Central administration site
The central administration site coordinates inter-site data replication across the hierarchy by using Configuration Manager database replication. It also enables the administration of hierarchy-wide configurations for client agents, discovery, and other operations. Use this site for all administration and reporting for the hierarchy. You should probably only consider installing a CAS if you intend to manage more than 100,000 clients, why ? because the limit for Primary sites is 100,000 clients so if you want to manage more than that you’ll need more than one primary and therefore will need a CAS. There are other reasons for installing or not installing a CAS (and opinions too!) and a quick search on the internet will reveal them.

Here’s some information about a CAS that you need to know:-

  • A central administration site can support up to 25 child primary sites.
  • When using SQL Server Enterprise for the site database at the central administration site, the shared database and hierarchy supports up to 400,000 clients. The maximum number of supported clients per hierarchy depends on the SQL Server edition in the central administration site, and is independent of the SQL Server edition at primary or secondary sites. Configuration Manager supports up to 400,000 clients per hierarchy when you use the default settings for all Configuration Manager features.
  • When you use SQL Server Standard for the site database at the central administration site, the shared database and hierarchy supports up to 50,000 clients. This is because of how the database is partitioned. After you install Configuration Manager, if you then upgrade the edition of SQL Server at the central administration site from Standard to Enterprise, the database does not repartition and this limitation remains.

Although this is the site at the top of the hierarchyin Configuration Manager 2012, it has the following differences from a central site in Configuration Manager 2007:

  • Does not process client data.
  • Does not accept client assignments.
  • Does not support all site system roles.
  • Participates in database replication

Primary site
Manages clients in well-connected networks. When you use SQL Server that is installed on the same computer as the site server, the primary site can support up to 50,000 clients. When you use SQL Server that is installed on a computer that is remote from the site server, the primary site can support up to 100,000 clients.

Primary sites in Configuration Manager 2012 have the following differences from primary sites in Configuration Manager 2007:

  • Additional primary sites allow the hierarchy to support more clients.
  • Cannot be tiered below other primary sites.
  • No longer used as a boundary for client agent settings or security.
  • Participates in database replication.

Secondary site
Controls content distribution for clients in remote locations across links that have limited network bandwidth.
Secondary sites in Configuration Manager 2012 have the following differences from secondary sites in Configuration Manager 2007:

  • SQL Server is required and SQL Server Express will be installed during site installation if required.
  • A proxy management point and distribution point are automatically deployed during the site installation.
  • Secondary sites can be tiered to support content distribution to remote locations.
  • Participates in database replication.

Step 1. Create the Lab Environment

In previous Guides you’ve seen how to create a standalone ConfigMgr server. For this guide you are going to create a a small hierarchy in your LAB consisting of a CAS and a Primary. In Production you should most likely not use a CAS unless you are managing over 100,000 clients (as stated above), however being familiar with how a small hierarchy works is good for you to know. I use Hyper-v exclusively in my LAB and that’s what all these virtual machines will be running on. I chose to install Windows Server 2008 R2 standard as the server OS for the three lab computers below.

Active Directory, DNS, DHCP

  • AD1 512mb, 30gb hdd, server 2008r2sp1 Standard

Central Administration Site Server

  • CAS 2048mb, 127gb hdd, server 2008r2sp1 standard, os on C:\ 30gb part, D:\ rest of drive

Primary Server

  • P01 2048mb, 127gb hdd, server 2008r2sp1 standard, os on C:\ 30gb part, D:\ rest of drive

Once done I joined CAS and P01 to my domain (SERVER2008R2), verified DNS was working correctly via nslookup and was ready to begin the steps below.

Create AD users:
Note: Perform the following on the Active Directory Domain Controller server (AD1) as Local Administrator

In addition I created some accounts in AD, namely:

* SMSadmin, a domain user
* Testuser, a domain user
* Testuser2, a domain user
* Testuser3, a domain user
* DomJoin, a domain user,(for joining computers to the domain)
* ReportsUser, a domain user for reporting services.
* ClientInstall, a domain user used when installing the Configuration Manager Client for Client Push. This user must be a local administrator on computers you want to install the Configuration Manager Client.
* SCCMNAA, a domain user, (Network Access Account) used during OSD

Create Local Administrator accounts:

Note: Perform the following on the SCCM 2012 server as Local Administrator

On both the CAS and P01 ConfigMgr servers add the SMSadmin and ClientInstall users to the Local Administrators group.

Step 2. Get the ConfigMgr 2012 ISO and extract it

Download your Configuration Manager 2012 ISO (I used the following ISO for this Guide SW_DVD5_Sys_Ctr_ConfigMgrClt_ML_2012_MultiLang_Client_SCEP_MLF_X17-95285.ISO) from Technet or MSDN and mount the iso so that you can copy it’s contents to a temporary folder on your Active Directory computer (AD1) like so.

C:\Temp\CM12RTM

cm12rtm temp folder.png

Step 3. Create The System ManageMent Container

Note: Perform the following on the Active Directory Domain Controller as a Domain Administrator

Open ADSI Edit, click on Action, Connect To and click Ok, Double Click on Default Naming Context and the DC= that appears below it. Click on the + and scroll down to CN=System.

Right Click on CN=System and choose New, Object

adsiedit new object.png

Choose Container from the options, click Next and enter System Management as the value.

system management.png

Click Next and Finish. Press F5 to refresh ADSI Edit and you should now see the new System Management Container.

container made.png

Close ADSI Edit.

Step 4. Delegate Permission to the System Management Container.

Note: Perform the following on the Active Directory Domain Controller as a Domain Administrator

Open Active Directory Users and Computers. Click on view, select Advanced Features.

Select the System Management Container, and right click it, choose All Tasks and Delegate Control.

delegate control.png

When the Welcome to Delegation of Control Wizard appears click next, then click Add. click on Object Types, select Computers. Type in your Configuration Manager server name for the CAS Server (CAS) and click on Check Names, it should resolve.

cas.png

Click Ok, then Next. Choose Create a Custom Task to Delegate, click next, make sure This folder, existing objects in this folder and creation of new objects in this folder is selected.

this folder.png

click next, select the 3 permissions General, Property-Specific and Creation-deletion of specific child objects are selected then place a check mark in FULL CONTROL

full control.png

click next then Finish.

cas added.png

Repeat all the above steps for P01 (our Primary Server).
p01 added.png

Failure to do the above will mean that the System Management Container in AD will NOT POPULATE with ConfigMgr site info needed by the Clients and you will see many errors in your site status warning you about this.

Note: Repeat the above for Each site server that you install in a Hierarchy.

Step 5. Extend the Active Directory schema for Configuration Manager

Note: Perform the following on the Active Directory Domain Controller as a Domain Administrator

Note:-

The Active Directory schema extensions for Configuration Manager 2012 are unchanged from those used by Configuration Manager 2007. If you extended the schema for Configuration Manager 2007, you do not need to extend the schema again for Configuration Manager 2012.

Perform the below on your Active Directory server, simply browse the network to your Active Directory server \\ad1\c$\ and locate the folder where you uncompressed ConfigMgr (temp\CM12RTM) and find \SMSSetup\Bin\x64\Extadsch.exe, right click and choose Run As Administrator.

extadsch.png

A command prompt window will appear briefly as the schema is extended, check in c:\ for a log file called ExtADSch.log it should look similar to this
Quote

<04-17-2012 21:40:59> Modifying Active Directory Schema – with SMS extensions.
<04-17-2012 21:40:59> DS Root:CN=Schema,CN=Configuration,DC=server2008r2,DC=lab,DC=local
<04-17-2012 21:41:02> Defined attribute cn=MS-SMS-Site-Code.
<04-17-2012 21:41:02> Defined attribute cn=mS-SMS-Assignment-Site-Code.
<04-17-2012 21:41:02> Defined attribute cn=MS-SMS-Site-Boundaries.
<04-17-2012 21:41:02> Defined attribute cn=MS-SMS-Roaming-Boundaries.
<04-17-2012 21:41:02> Defined attribute cn=MS-SMS-Default-MP.
<04-17-2012 21:41:03> Defined attribute cn=mS-SMS-Device-Management-Point.
<04-17-2012 21:41:03> Defined attribute cn=MS-SMS-MP-Name.
<04-17-2012 21:41:03> Defined attribute cn=MS-SMS-MP-Address.
<04-17-2012 21:41:03> Defined attribute cn=mS-SMS-Health-State.
<04-17-2012 21:41:03> Defined attribute cn=mS-SMS-Source-Forest.
<04-17-2012 21:41:03> Defined attribute cn=MS-SMS-Ranged-IP-Low.
<04-17-2012 21:41:03> Defined attribute cn=MS-SMS-Ranged-IP-High.
<04-17-2012 21:41:03> Defined attribute cn=mS-SMS-Version.
<04-17-2012 21:41:03> Defined attribute cn=mS-SMS-Capabilities.
<04-17-2012 21:41:05> Defined class cn=MS-SMS-Management-Point.
<04-17-2012 21:41:06> Defined class cn=MS-SMS-Server-Locator-Point.
<04-17-2012 21:41:07> Defined class cn=MS-SMS-Site.
<04-17-2012 21:41:07> Defined class cn=MS-SMS-Roaming-Boundary-Range.
<04-17-2012 21:41:08> Successfully extended the Active Directory schema.<04-17-2012 21:41:08> Please refer to the ConfigMgr documentation for instructions on the manual
<04-17-2012 21:41:08> configuration of access rights in active directory which may still
<04-17-2012 21:41:08> need to be performed. (Although the AD schema has now be extended,
<04-17-2012 21:41:08> AD must be configured to allow each ConfigMgr Site security rights to
<04-17-2012 21:41:08> publish in each of their domains.)

Step 6. Open TCP port 1433 and 4022 for SQL replication

Note: Perform the following on the Active Directory Domain Controller as a Domain Administrator

Start the Group Policy Management tool and create a new GPO.

create a gpo in this domain.png

Give the GPO a name such as SQL Ports for CM12. When done, right click on the GPO and choose Edit.

edit gpo.png

Select Computer Configuration, Policies, Windows Settings, Security Settings, Windows Firewall with Advanced Security and select Inbound Rules, choose New Rule and follow the wizard for opening up TCP port 1433 as per this guide on Technet. Once done, repeat the above for Port 4022.

tcp ports.png

Step 7. Install .NET 3.5.1 and WCF Activation

Note: Perform the following on the Configuration Manager 2012 servers (CAS and P01) as SMSadmin

In Server Manager select Features, Add Features, Select .NET Framework 3.5.1, also select WCF Activation and when prompted answer Add Required Role Services click next and next again

Verify the following IIS components are installed in addition to the ones preselected by the wizard.

Quote

Common HTTP Features
Static Content
Default Document
Directory Browsing
HTTP Errors
HTTP RedirectionApplication Development
ASP.NET
.NET Extensibility
ASP
ISAPI Extensions
ISAPI Filters

Health and Diagnostics
HTTP logging
Logging tools
Request Monitor
Tracing

Security
Basic Authentication
Windows Authentication
URL Authorization
Request Filtering
IP and Domain Restrictions

Performance
Static Content Compression

Management Tools
IIS Management Console
IIS Management Scripts and Tools
Management Service
IIS 6 Management Compatibilty
IIS 6 Metabase Compatibility
IIS 6 WMI Compatibility
IIS 6 Scripting Tools
IIS 6 Management Console

answer yes to any additional prompts, then Click Next and Install and close when done.

Step 8. Download and install .NET 4

Note: Perform the following on the Configuration Manager 2012 servers (CAS and P01) as SMSadmin

Download .NET 4 from here (webinstall) or here (Standalone). Double click the file, After a while it will complete, Click Finish when done

restart when prompted

Tip: In some scenarios, such as when IIS is installed or reconfigured after the .NET Framework version 4.0 is installed, you must explicitly enable ASP.NET version 4.0. For example, on a 64-bit computer that runs the .NET Framework version 4.0.30319, run the following command:%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe –i –enable

Step 9. Add BITS and Remote Differential Compression

Note: Perform the following on the Configuration Manager 2012 servers (CAS and P01) as SMSadmin

Finally, in Server Manager click on Add Features, place a selection mark in BITS and RDC.

bits and rdc.png

Step 10. Download Microsoft SQL Server 2008 R2 SP1 CU6

Note: Perform the following on the Active Directory server AD1 as an Administrator

The supported versions of SQL Server 2008 and SQL Server 2008 R2 are listed here on Technet:- http://technet.micro…nfigSQLDBconfig

In this guide I will be installing SQL Server 2008 R2 SP1 CU6. The currently supported version for Configuration Manager 2012 is SQL Server 2008 R2 SP1 CU6.

Download the following from Technet:- File Name: en_sql_server_2008_r2_standard_x86_x64_ia64_dvd_521546.iso (4177 MB)

Download Microsoft® SQL Server® 2008 R2 Service Pack 1

Download Cumulative update package 6 for SQL Server 2008 R2 Service Pack 1

Step 11. Install SQL Server 2008 R2

Note: Perform the following on the Configuration Manager 2012 servers (CAS and P01) as SMSadmin

Note: If you use SQL Server Standard, your server will only support 50k clients.

Database collation

The instance of SQL Server in use at each site must use the following collation: SQL_Latin1_General_CP1_CI_AS. (more info below)

SQL Server instance

You must use a dedicated instance of SQL Server for each site.

As we are setting up more than one server with SQL Server, we’ll copy the source files to our Active Directory server (AD1) temp folder (C: emp) or to a temp folder on both the CAS and P01 servers and run each install script from the directory where you copied those files, so if installing CU6 then run the script from the directory where the CU6 SQLServer2008R2-KB2679367-x64.exe file is present.

sql copied.png

For SQL Collation note that you must use SQL_Latin1_General_CP1_CI_AS. If you want to change the collation or find out what the collation is set to on an already installed SQL Server please see the following post.

To Install SQL server you can follow this guide but please install SQL on D:\Program Files\Microsoft SQL Server and when running setup.exe right click and choose Run as Administrator, alternatively you can script the installation by using the scripts below. Test them first to make sure you have no typos.

SQL Server 2008 R2 RTM Setup:

This will install to D:\Program Files\Microsoft SQL Server if you don’t want to use that location you can change it by changing the /INSTANCEDIR below.

setup.exe /q /ACTION=Install /ERRORREPORTING="False" /FEATURES=SQLENGINE,RS,AS,IS,SSMS,TOOLS,BIDS,ADV_SSMS,CONN /INSTANCENAME=MSSQLSERVER /INSTANCEDIR="D:\Program Files\Microsoft SQL Server" /SQLSVCACCOUNT="NT AUTHORITY\System" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /SQLSVCSTARTUPTYPE=Automatic /AGTSVCACCOUNT="NT AUTHORITY\SYSTEM" /AGTSVCSTARTUPTYPE=Automatic /RSSVCACCOUNT="NT AUTHORITY\System" /RSSVCSTARTUPTYPE=Automatic /ASSVCACCOUNT="NT AUTHORITY\System" /ASSVCSTARTUPTYPE=Disabled /ASSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /ISSVCACCOUNT="NT AUTHORITY\System" /ISSVCSTARTUPTYPE=Disabled /ASCOLLATION="Latin1_General_CI_AS" /SQLCOLLATION="SQL_Latin1_General_CP1_CI_AS" /TCPENABLED="1" /NPENABLED="1" /IAcceptSQLServerLicenseTerms

SQL Server 2008 R2 SP1 Setup:

SQLServer2008R2SP1-KB2528583-x64-ENU.exe /Action=Patch /IAcceptSQLServerLicenseTerms /AllInstances /Quiet

SQL Server 2008 R2 SP1 CU6 Setup:

SQLServer2008R2-KB2679367-x64.exe /Action=Patch /IAcceptSQLServerLicenseTerms /AllInstances /Quiet

Reboot when the above is complete.

SQL Memory Configuration.

Depending on your memory configuration and server setup, you may also want to configure SQL memory limits as per the following guidance prior to installing ConfigMgr otherwise you’ll get warnings when you run the Server Readiness checks.

  • Configuration Manager requires SQL Server to reserve a minimum of 8 gigabytes (GB) of memory for the central administration site and primary site and a minimum of 4 gigabytes (GB) for the secondary site. This memory is reserved by using the Minimum server memory setting under Server Memory Options and is configured by using SQL Server Management Studio. For more information about how to set a fixed amount of memory, see here.
  • If your SQL Server is configured for unlimited memory usage, you should configure SQL Server memory to have a maximum limit.

Based on the above recommendations i’ve configured the SQL Server memory for CAS as follows:

cas memory.png

SQL Server security

You will also want to think about what security to grant your users, in my Lab I grant the Server2008r2\Smsadmin the sysadmin role by adding the user to the SQL server security Logins (do this as a local or domain administrator in SQL Server Enterprise).

smsadmin sql server roles.png

Step 12. Install Configuration Manager 2012 on CAS.

Note: Perform the following on the CAS server as SMSadmin

In windows Explorer, browse to the Active Directory domain controller (AD1) and locate the temp folder where you extracted CM12. Copy the temp folder and all it’s contents to C:\ on your CAS server.

cm12 rtm over the network.png

Browse to C: emp\CM12RTM on your CAS server, and double click on Setup, the System Center 2012 Configuration Manager Setup screen appears, note the various options available to you.

cm12 wizard.png

Click on the Assess Server Readiness link and answer yes when prompted. This allows you to do a quick check to see that you havn’t forget anything important or that you are not running some unsupported setup. Provided that you’ve followed my advice above, you should see something similar to below, warnings are in Yellow and you can click on them for more info.

wsus sdk.png

we will be installing WSUS later in the series so we can ignore this warning. Click ok to close the Server Readiness Check.

Tip: The ConfigMgrPrereq.log file will provide more details about the checks performed etc, you can find this in the root of c:\, open the file in CMTrace for best viewing results.

After you have read the release notes, click on Install to start the installation process.

install.png

The Before you Begin screen is displayed, read it and click Next to continue

before you begin.png

we are installing a Central Administration Site so select that option and click next

install a cas.png

next enter your Product key and click next or if you just want to evaluate the software select the first option

product key.png

and accept the License terms to continue

eula.png

next up are the SQL Server R2 Express and Microsoft Silverlight license terms, select them to continue..

sql server license.png
Select the file location for the Configuration Manager prerequisite downloads (internet connection required) or point to previously downloaded files. Note that you need to create this folder prior to clicking next.

Tip:If you don’t have internet on your Configuration Manager server then you can download the required updates on another computer by doing like so:-

  • Open a command prompt with administrative permissions
  • Navigate to .\Configuration Manager 2012 Install source\smssetup\bin\X64
  • Run SetupDL.exe target dir (in my example SetupDL.exe C: emp\downloads)

c temp downloads.png

click Next and the downloading begins,

downloading updates.png

and then you can select the Language that you want the Configuration Manager Server console and reports to appear in

language.png

and then the Client Languages that you wish to support

client languages.png

fill in your desired Site Code and name, and install it to D:\, make sure you are happy with the choices as you can’t change them later…

site code and name.png

next you have the Database Information screen, verify everything is ok,

database info.png

and where do you want to install the SMS Provider, select the default and continue

sms provider.png

if you are interested in CEIP join it, if not, don’t. It helps Microsoft to improve their products via feedback.

ceip.png

review the Summary

summary.png

click next and the Prerequisite check runs, we did this already so all should be good, click Begin Install to start installing

begin install.png

TIP: now is a very good time to look at the C:\ConfigMgrSetup.log with CMtrace, watch it for any errors (in Red)

configmgrsetup.png

The installation of System Center 2012 Configuration Manager begins nd you can review the overall progress

installation overall progress.png

after a long install (approximately 45 minutes to one hour or so depending on the speed of your hardware) you should see the installer finish, verify all progress is listed in Green (scroll up and down) and if all is ok click on Close.

cm12 done.png

reboot the Configuration Manager server and then login again as SMSadmin, start the Configmgr console,

cas done.png

navigate to Monitoring and Site Heirarchy in the console

site heirarchy.png

congratulations, you now have a System Center 2012 Configuration Manager 2012 heirarchy !. In the next part we’ll start configuring it.

The original post is here on windows-noob.com.

Posted in ConfigMgr 2012, windows-noob | Leave a comment