SCCM 2012 Migration Account Permissions for 2007 Hierarchy

Benoit LecoursSCCMLeave a Comment

Each time I’ve done an SCCM 2012 migration from 2007, someone asks “How do I give access to the migration account?”. Looking at some blogs and technet you can read that the account requires : Read & Execute Access to the SCCM 2007 Database Full Access to the SMS Provider Read access to all objects Fine but how do I do that ? I decided to do a step-by-step guide : In the CM07 console, navigate to Site Database > Security Rights > Users > Right Click Manage ConfigMgr Users and follow the wizard. In the user name tab, add a new user … Read More

How to Find SCCM Server Log Files

Benoit LecoursSCCM1 Comment

Here’s a simple tip to know which SCCM server logs files to check if you want to dig an error returned by an SCCM Component. In SCCM, client and site server components record process information in individual log files. You can use the information in these log files to help you troubleshoot issues that might occur. By default, Configuration Manager enables logging for client and server components. In the SCCM Console, Navigate to : Monitoring/System Status/Component Status For this article we’ll assume that the SMS_Database_Notification _Monitor is giving an error (sorry my site is clean !) You can simply go on … Read More

SCCM Move Content Library to another drive

Benoit LecoursSCCM3 Comments

Did you know you can move the ConfigMgr content library folder to another drive on your ConfigMgr Distribution Point? It’s quite simple. This post will describe how to SCCM Move Content Library. If you’re not aware of what’s exactly is the SCCM content library, here’s Microsoft definition : The content library is a single-instance store of content in Configuration Manager. The site uses it to reduce the overall size of the combined body of content that you distribute. The content library stores all content files for software deployments, for example: software updates, applications, and OS deployments. SCCM Move Content Library … Read More

Orchestrator 2012 R2 Installation Guide

Benoit LecoursOrchestrator, SCCM1 Comment

Here’s a guide to install a SCORCH instance on a single server. Use this setup for a lab, it’s not optimized for a production environment. Prerequisites Mminimum hardware configuration required for a full installation of Orchestrator: Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 Minimum 1 gigabyte (GB) of RAM, 2 GB or more recommended 200 megabyte (MB) of available hard disk space Dual-core Intel microprocessor, 2.1 gigahertz (GHz) or better  SQL Specific SQL Server 2008 R2 or Microsoft SQL Server 2012 Orchestrator requires only the basic SQL Server features found in the Database Engine Service. Orchestrator … Read More

Manage SCCM Maintenance Windows with Powershell

Benoit LecoursPowershell, SCCM1 Comment

If you’re not aware, you can manage your SCCM maintenance Windows using PowerShell. Here’s a simple example but you can get creative. #Import SCCM Module Import-Module $env:SMS_ADMIN_UI_PATH.Replace(“bini386″,”binconfigurationmanager.psd1”) #Get SiteCode $SiteCode = Get-PSDrive -PSProvider CMSITE # Set Location to SCCM Set-Location “$($SiteCode.Name):” #Occurs Fourth day of every 3 months effective the time you create it at 3:00 AM $Schedule = New-CMSchedule -DurationCount 1 -DurationInterval Hours -RecurCount 3 -DayOfMonth 4 -Start ([Datetime]”3:00″) $Collection = Get-CMDeviceCollection -Name “Your Collection Name” New-CMMaintenanceWindow -CollectionID $Collection.CollectionID -Schedule $Schedule -Name “Your Schedule Name” More information and example on technet @ http://technet.microsoft.com/library/dn472934(v=sc.20).aspx You can also verify if your … Read More

sccm query imported computer

Benoit LecoursSCCM, SQL, SSRSLeave a Comment

This sccm query imported computer might be helpful to know which user imported a specific computer. You add a new computer directly to the SCCM database by calling the ImportMachineEntry Method in Class SMS_Site. This can be used to deploy operating systems to computers that have not yet been discovered automatically by SCCM. You can view this information in the Status Message Queries and search for MessageID #30213. But this query will target only the information you need. You can use this query to create a report or directly in SQL MS. This query won’t work to create a collection since it’s … Read More

The Microsoft Software License Terms have not been Completely Downloaded

Benoit LecoursSCCM, SQL7 Comments

Problem – the Microsoft software license terms have not been completely downloaded SMS_WSUS_SYNC_MANAGER state is critical even if it worked in the previous months. Wsyncmgr.log shows the error on 2 updates : The Microsoft Software License Terms have not been completely downloaded and cannot be accepted Environment in use when this issue occurs SCCM 2012 R2 SQL 2012 Windows 2012 R2 Event viewer/Application Logs shows Access Denied errors on a different patch. Resolution of this issue The Wsuscontent directory was missing an NTFS permission. I added the “Network Service” account full control on the directory and sub-directory and launch a … Read More

SCCM Task Sequence Page File Location change using PowerShell

Benoit LecoursPowershell, SCCM7 Comments

SmsSwDistCacheDirDelete in ccmsetup.log 03

You can script the placement of the Windows page file in your SCCM Task Sequence. Sure you could use the good old wmic pagefileset but we’re in 2014, Powershell is your new friend! SCCM Task Sequence Page File Location Script My clients needed a script that : Disable page file on OS drive Move it to D: Set the page file based on the allocated memory installed (x1.5) I used a Powershell module found here. My Script then uses a function of this modules to fits my needs. Save this script in a .ps1 file. #Reads the physical memory and multiplies … Read More

SCCM Change Drive Letter using Powershell in OSD Task Sequence

Benoit LecoursPowershell, SCCM5 Comments

SmsSwDistCacheDirDelete in ccmsetup.log 03

By default, Windows will assign the next available letter to your CD/DVD ROM drive. For servers and even workstation, it could be useful to change it to a standard value. This post will describe how SCCM Change Drive Letter in an OSD task sequence. In computer data storage, drive letter assignment is the process of assigning alphabetical identifiers to volumes. As an SCCM admin, you should always find ways to optimize your work and stop doing repetitive tasks. Add a Run Command Line step at the end of your task sequence that runs a PowerShell command. The latest SCCM 1902 Version can now directly … Read More

SCCM 2012 Resultant Client Settings

Nicolas PilonSCCMLeave a Comment

There’s a new feature that come with the release is SCCM 2012 Resultant Client Settings. If you are familiar with GPO, it does exactly the same thing as GPResult except for the client settings configuration. Very useful when it’s time to troubleshoot client settings or you want to double check one of your change before releasing in production. It is really simple to use, in your console, right click on a device, user or user group in the Asset and Compliance section. Click on Client Settings and Resultant Client Settings. As a side dish, this tool need a minimum requirement in RBAC to use … Read More