Author Description

raphael Raphael Perez is a Enterprise Client Management MVP based in UK, he specialises in System Center Configuration Manager (including OS Deployment) and other System Center products (Operations Manager, Service Manager, etc.). He is a Community leader attending the physical and virtual meetings and engaging with the community across forums, twitter, LinkedIn and his blog. He is RFL Systems‘ owner, a System Center specialized consultancy and training services within the United Kingdom.

Author Posts

SCCM 2012 R2 & MDT 2013 – Pausing task sequence

Hi All, have you ever wonder why and how to pause a task sequence?? well…the why is simple, troubleshooting…but how, that is the complicated part… Actually not, and if you stop a bit and think, there are many ways: 1- create a script to wait many minutes (lets say, 120min), i think this is enough to do any troubleshooting 🙂 2- create a script to look for something (ie. a file) and when the file exist, it deletes and continue… 3- create a script… 4- create a script… as you can see, everything is down to a script, unfortunately, there is no “out-of-the-box” step to do it… but now that you know how to pause a TS (ok, you still don’t know how to create a script, do you?) let’s look at the options 1- create a script that waits for 120min… and if you finish your troubleshooting before?!?!!? you…

SCCM 2012 R2 & MDT 2013 – Unattend.xml

Hi All, Customizing Unattend.xml is always fun, including when things does not work as expected and how to troubleshoot this when things are not going as planned? the way i find is simple…copy the xml file to a temp folder after changes to it happen, and i do this manually… 1- after the configure step and before the setup and configure windows, add a pause on your task sequence (i’ll be posting how to do it on a later post) 2-copy the file from c:\windows\panther\unattended\unattended.xml to c:\temp\phase1.xml 3- continue your task sequence and the setup and configure windows will happen… 4- once the restart countdown start copy the same file again to c:\temp\phase2.xml now it is time to leave the installation to happen and your task sequence to finish and troubleshoot your xml files… couple of problems i already found when customizing the xml: 1- order of the items… when…

UNDERSTANDING SYSTEM CENTER 2012 SP1 CONFIGURATION MANAGER: The Walkthrough Book @ Amazon

Hi All, Today i’m happy to share with you that my CM12 Book is available via Amazon (US, UK and European) Deutschland: http://www.amazon.de/Understanding-System-Center-Configuration-Manager/dp/1490320679/ref=sr_1_1?ie=UTF8&qid=1385052882&sr=8-1&keywords=sccm+perez France: http://www.amazon.fr/Understanding-System-Center-Configuration-Manager/dp/1490320679/ref=sr_1_1?ie=UTF8&qid=1385052929&sr=8-1&keywords=Understanding+System+Center+2012+SP1+Configuration+Manager%3A+The+Walkthrough+Book Italy: http://www.amazon.it/Understanding-System-Center-Configuration-Manager/dp/1490320679/ref=sr_1_1?ie=UTF8&qid=1385052894&sr=8-1&keywords=sccm+perez Spain: http://www.amazon.es/s/ref=nb_sb_noss?__mk_es_ES=%C3%85M%C3%85%C5%BD%C3%95%C3%91&url=search-alias%3Daps&field-keywords=Understanding%20System%20Center%202012%20SP1%20Configuration%20Manager%3A%20The%20Walkthrough%20Book United Kingdom: http://www.amazon.co.uk/Understanding-System-Center-Configuration-Manager/dp/1490320679/ref=sr_1_1?ie=UTF8&qid=1385052959&sr=8-1&keywords=Understanding+System+Center+2012+SP1+Configuration+Manager%3A+The+Walkthrough+Book United States: http://www.amazon.com/Understanding-System-Center-Configuration-Manager/dp/1490320679/ref=sr_1_1?ie=UTF8&qid=1385052970&sr=8-1&keywords=Understanding+System+Center+2012+SP1+Configuration+Manager%3A+The+Walkthrough+Book  

Change PXE Password on all DP’s

Have you ever tried to change the PXE password for your DP’s?? it is easy isn’t it?!?!?! go to the properties of your DP and change the password there… but if you have 100+ DP’s, it will take a bit of time, don’t it? This is what happen with a good friend of mine and he asked help… if you’re in the same situation, the following powershell script is here to help :), you’ll only need to change the sdkserver, sitecode and password to the values you want $sdkserver=”SDKSERVERNAME” $sitecode=”SITECODE” $password=”PASSWORD” $property=”PXEPassword” $passwordclass = [wmiclass]”” $passwordclass.psbase.Path = “\\” + $sdkserver + “\ROOT\SMS\site_” + $SiteCode + “:SMS_Site” $inParams = $passwordclass.GetMethodParameters(“EncryptDataEx”) $inParams[“Data”] = $password $inParams[“SiteCode”] = $SiteCode $outParams = $passwordclass.InvokeMethod(“EncryptDataEx”, $inParams, $null) $PXEpassword = $outParams.EncryptedData.ToString() #Write-Output “PXE Password is set to the following encrypted value: ” $PXEpassword $listofDP = gwmi -computer $sdkserver -namespace “root\sms\site_$sitecode” -query “select * from SMS_SCI_SysResUse where RoleName =…

SCCM 2012 R2 and MDT 2013 – UDI

Hi All, 1 of my clients is using SCCM 2012 R2 with MDT 2013 for the UDI (User driven installation). The UDI is really simple, ask name of the computer, OU/Domain, User primary user as well as language. As you can see here, UDI does not format the PC. Based on this, we created a new UDI XML file and created our task sequence with the 1st step when in winpe is to format the disk. The problem start after the UDI Wizard runs, as it clear the OSDisk variable. After this, you’ll see the error The parameter is incorrect. (Error: 80070057; Source: Windows) when trying to apply the OS as i described here Looking at the MDT code, i found that if the OSDDiskpart is set to TRUE, mdt will clear the OSDisk Variable and if it is set to anything else, it will get the value from OSDTargetDrive. Easy enough…

SCCM 2012 R2 and MDT 2013 – UDI (Locale)

Hi All, 1 of my clients is using SCCM 2012 R2 with MDT 2013 for the UDI (User driven installation). The UDI is really simple, ask name of the computer, OU/Domain, User primary user as well as language. As you can see here, UDI does not format the PC. Based on this, we created a new UDI XML file and changed the default unattended.xml to add the UDI variables to the new OS. We changed/added the following from en-us for the code it was <InputLocale>%KeyboardLocale%</InputLocale> <SystemLocale>%UserLocale%</SystemLocale> <UILanguage>%UILanguage%</UILanguage> <UserLocale>%UserLocale%</UserLocale> the problem is when we apply the XML file, it did not change the keyboard and locale to our test location (UK), instead, it kept en-us. searching, we found a blog post for MDT 2012 Update 01 from Cameron (you can find the post here) and applying the workaround fixed the issue. after that, i found that the MDT 2013 documentation (that…

Local Administrators Group and Compliance Settings

Hi All, how do you manage the local administrators group? Many companies use the Restricted Group in the Active Directory/GPO to do it, but unfortunately, this settings is not an “add” rule, it is a replace. What i mean by this is simple: Imagine the scenario where you have 3 groups that always need be member of the admin group (Group1, Group2 and Group3). It is simple, you create a group policy and add this group of users to the restricted group. Now, you have few servers that need to have a 4th group. For server1 and server2, you need to add the group4 and for server3 and server4, you need to add group5. You can think that it is easy, just create a restricted group for those 2 set of servers adding the group4 or group5… in this scenario, once the 2nd GPO is applied, it will replace the…

Robocopy and Task Sequence

Hi all, Sometimes we need copy files from the server to the client during OS deployment, but if you’re a large organization with many physical locations, copying files from a specific location may not be suitable as it may cause copying files from the WAN link. Due this, people of use DFS or use SCCM to do it creating CMD files to run as a program and execute this via TS. This is an interesting way to do, but i always try to avoid creating CMD files (I prefer use VBS to Powershell), and the reason is simple….it is another script that people need to know and need to maintain. In this world where people start early using computers, creating CMD file and maintain a CMD file may not be as simples as it was when I started..anyway… As i said, i like to avoid creating scripts and as I…

SCCM 2012 R2 and MDT 2013

Hi All, today i started testing the SCCM 2012 R2 and MDT 2013 integration and for my surprise, the Task Sequence i created (and modified) was failing with the following error: Set command line: “OSDApplyOS.exe” /image:PS100007,1 “/config:PS10000B,unattend.xml” /target:%OSDisk% The /target parameter specifies an invalid target location. Failed to run the action: Apply Operating System Image. The parameter is incorrect. (Error: 80070057; Source: Windows) at the 1st, i though that was something wrong with my image and just to be sure, did a DP update but it was not… looking at the internet I found Johan similar issue on MDT 2012 RC (http://www.deploymentresearch.com/Research/tabid/62/EntryId/53/Troubleshooting-tips-Refreshing-clients-with-SCCM-2012-and-MDT-2012-RC1.aspx) and because this, I went back to my TS and started validating the format steps… for my surprise, the MDT format step for UFDI (Format and Partition Disk (UEFI)) that i copied from the MDT TS itself had the OSDisk (Primary) a variable called OSDTemporaryDrive instead of OSDisk. i changed…

System Center 2012 R2 is out

Hi All, Today, 1 day before the official release, Microsoft released the System Center 2012 R2 RTM on MSDN. For me it means that i’ll be sleeping really late today and tomorrow and my weekend will be fun…lots of fun rebuilding my VM’s. thanks