SCCM and Dell 7040
SCCM offline Servicing, can you apply Windows 10 upgrade to image?
David L. Hanny
SCCM 2012 TFTP Download stuck. PXE not working.
Hello, guys
From client side TFTP stuck to download packages, pxe still not working
Client: Repeating tftp requests.
2) SMS pxe log. still looking of image, but image succesfully distributed here.
Problem with Offline servicing and framework updates
Hi,
Someone suggest me to not inject Framework updates with Offline servicing? Any body had problem or aware of any problems with that?
Thanks,
Win7 Devices No Longer Auto-Approved
About 2 weeks ago we had to do a site recovery on our SCCM 2012 R2 SP1 environment. It was recently reported to me that our Win7 pc's are not being auto-approved after reload with OSD and the problem appears to have started after the site recovery.
My testing found:
- OSD with Win10 works fine, 1 object in SCCM (no manual approval)
- OSD wipe/reload of that Win10 pc with Win7 image works fine, 1 object in SCCM (no manual approval)
- OSD wipe/reload of Win7 pc with Win7 image completes without error, but leaves 2 objects in SCCM
(all of these were done on the same physical device)
The old object is 'disabled' and the new object is pending approval. Once manually approved and triggering manual policy update, the pc will get software. The old object does not go away.
We have never had to manually approve devices under any OSD scenario.
Has anyone seen this before? Can you point me in the right direction?
Thanks in advance!
running scripts from TS
In our task sequence we of course run many scripts, many of which are powershell scripts. I have this code:
$computers = (get-ItemProperty hklm:\SOFTWARE\Microsoft\MPSD\OSD).OSDComputerName$Description= (get-ItemProperty hklm:\SOFTWARE\MG).Description
$dom = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
$root = $dom.GetDirectoryEntry()
foreach($computer in $computers){
$search = [System.DirectoryServices.DirectorySearcher]$root
$search.Filter = "(cn=$computer)"
$result = $search.FindOne()
$computerToUpdate = [ADSI]$result.path
$computerToUpdate.Description = $description
$computerToUpdate.SetInfo()
}
the $Description registry key gets populated via UDI and a manual entry from the build tech. At the very end of the TS I run this:
powershell.exe -noprofile -executionpolicy bypass -file SetPCDesc.ps1 (note: I have even said "run this program as" and I've used my own Domain Admin account)
My issue is this does not update the description field in Active Directory like it should.
so I did the following. On a newly built Windows 7 PC I opened up PowerShell ISE. I copy/paste my PowerShell code in and run it. Now it works!! My Active Directory computer description now shows what I have in my registry key value.
How come it won't work via the task sequence?
mqh7
OSD Issues Using I219-LM Integrated Network Card (Dell in particular)
Hey Everyone
This is more of a general question rather than a specific problem and I wanted to know if others are seeing the same issues we are.
We testing on Dell Optiplex 5040 and 7040 desktops that have the I219-LM NIC pushing out an SCCM/MDT UDI task sequence using 2012 R2 SP1 CU3. If we select our Win 7 .wim everything works perfectly but where we're seeing issues is if we pick our Win 10 1511 deployment. Our results are mixed. Sometimes it works perfectly, other times it won't add to the domain but installs the client, other times it adds to the domain but doesn't install the client, and yet other times when the doesn't do either and when the system comes up it says there's no network cable attached even though there is and just opening the adapter settings is enough to reconnect the network. When it fails it's always after the forced reboot by the "Setup Windows and ConfigMgr" step and looking at the logs (when no client is installed we end up losing all the logs) the errors are because the system isn't on the domain so it can't talk to the distribution points.
I'm down to pointing at flaky drivers released by Intel/Dell (we're using the latest from Dell) but wanted to check with the rest of the community to see if they're seeing the same results.
Thanks
Language Pack prompts user input for language selection during OSD build
Hi folks,
I am trying to install additional language pack during OSD build process and everything is fine except little hiccup where it prompts for language selection. I have been searching for solution and applied what has been recommended (see below) but unfortunately the prompt does not want to go away..
I am using SCCM CB 1606 integrated with MDT 2013 Update 2. The UILanguage variable is passed on from MDT database during build process. I am using MDT version of Unattend.XML with following changes in it
--------------------------Starts Here-------------------------------------
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>%Keyboardlocale%</InputLocale>
<SystemLocale>%InputLocale%</SystemLocale>
<UILanguage>%UILanguage%</UILanguage>
<UserLocale>%InputLocale%</UserLocale>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>%Keyboardlocale%</InputLocale>
<SystemLocale>%InputLocale%</SystemLocale>
<UILanguage>%UILanguage%</UILanguage>
<UserLocale>%InputLocale%</UserLocale>
--------------------Ends Here------------------------------
Screenshot of MDT Database Settings
I am running out of ideas what else I should do to prevent language selection prompt.
Is there any other variable I need to declare during TS to avoid the prompt?
Thank you in advance!
Win 7 OSD: Black Screen and Very Long Delay on Reboot Right Before "Setup Windows and ConfigMgr" Step
When deploying Windows 7 to a device, it goes through all the first steps normally, installs the reference image to the disk, it restart, goes through the "Installing devices..." step, then reboots again, shows the first of two "Setup is preparing
your computer for first use" and then reboots...
All this happens normally, but after that and before the "Setup Windows and ConfigMgr" (TS Engine) loads, there is a very long pause with a black screen and only a mouse cursor (on physical devices).
This is having a massive impact on how long it takes to build devices (from 1 hour to nearly 2 hours) and is a major issues for us.
This also occurs on Hyper-V so I do not believe this is driver related.
Once the machine is built, there doesnt seem to be any issue.
So I am under the impression this relates to something on the base reference image (Win 7 x64) but I have not had issues with my build and capture process before. I have run a couple more build and captures, with the same result at deployment time so something
installed in the B&C must be the cause, but there are so many patches that I need something to go on.
Does any have an ideas? Has anyone else seen this before?
SCCM 2012 R2 install warning “SQL Server process memory allocation” ?
In SQL Server properties,Memory Setting:
Minimum server memory 8129 MB
Maximum server memory 8129 MB
No bootable medium found...system halted
USMT vs path lenght
Hi,
Am I right to understand in some circumstance a my documents too long might make fail USMT?
https://technet.microsoft.com/en-us/itpro/windows/deploy/usmt-common-issues
"I received the following error message: "Usage Error: You cannot specify a file path with any of the command-line options that exceeds 256 characters."
Cause: You might receive this error message in some cases even if you do not specify a long store or file path, because the path length is calculated based on the absolute path. For example, if you run thescanstate.exe /o store command from C:\Program Files\USMT40, then each character in "C:\Program Files\USMT40
" will be added to the length of "store" to get the length of the path.
Resolution: Ensure that the total path length—the store path plus the current directory—does not exceed 256 characters."
As you never know what is the directory structure on each computer, is it a way to be sure USMT will work or discovering there will be a problem on a computer?
Thanks,
SCCM and MDT with multiple OSD images
server 2012, sccm 2012 sp1, MDT/UDI
I was trying to build a one size fits all MDT OSD task but couldn't figure out how to add mutiple OS keys so now I'm trying to at least build one that has Windows 8 32 and 64 bit types but only the 32 bit works even when I select the 64 bit image. Here is a picture from the UDI:
So I selected them and they are on the right. Any ideas what I'm doing wrong?
I can't imagine why that would be a drop down list if we couldn't select from multiple OS's.
I found an article that said to change the variable OSDImageIndex to OSDImageName in the
UDIWizard_Config.xml package file them update content but that changed nothing.
And lastly is this something we should even want to do. I was always told to keep drivers in our PE strickly to each type (32/64) and deploying 64 bit images from a single 32 bt would not contain all the drivers we need. So even if I add 2 images to a wim file I'd still be using a 32 bit PE right?
Just looking for a better way, good advice and best practice with this new product, thanks.
Edit default user from TS
Hi,
With Windows 8.1 during a TS, what is the best way to customize user profile? Reg load the default user and then push the reg files? I got a lot of reg files and worry about Scripting them. We don't use very much GPO...
Thanks,
François
Unable to create new boot images after installing Windows ADK for Windows 10, version 1607
OSD Task Sequence Stuck at Apply Operating System
Hi,
We have been using OSD for years but recently, few Lenovo computers are freezing in the task sequence without any errors. Other computers, exact same models, have no problem going through the task sequence.
The PC boot in WinPE, partition the disk, go through the 7 first steps of the TS and get stuck at "Apply Operating System". The deployment have been sitting like this for hours without success.
Every time I run the Task Sequence on this computer, it stops at the same step.
I have checked with diskpart and the formatting and partitioning of the hard drive is ok.
EDIT : I started to write this post yesterday. This afternoon, as I was finishing the post, I double checked my test of yesterday that was stuck and realized it completed the TS.
Looking at the Configuration Manager Status Message Viewer, it took 15 hours to apply the OS.
Can someone help me troubleshoot this ?
Task Sequence Editor screenshot : http://i.imgur.com/0lHUrXF.png
Status message viewer : http://i.imgur.com/8nQmTYh.png
Installing Applications Dynamically during OS using AD group
am trying to follow below blog post,
http://ccmexec.com/2016/05/installing-applications-dynamically-during-os-using-ad-group/
install applications from variable is getting skipped ....
I have followed asitis... any hints... why it is now entering into the loop ?
The Machine is added to Group.... When i executed.. by little bit modifications (see below), am able to see the membership of groups....
I mean to say.. till this path
$Prefix = "A." $Suffix = ".i"
#changed 1 to i (small i)
#Commenting below as testing in Windows mode #$tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment $CmpName = "MYTEST-PC" #if($CmpName -eq "") { $CmpName = $tsenv.Value("MYTEST-PC") } $ADObjectDN = ([ADSISEARCHER]"samaccountname=$($CmpName)`$").Findone().Properties.distinguishedname $AllGroups =([ADSISEARCHER]"member:1.2.840.113556.1.4.1941:=$ADObjectDN").FindAll() $DescList = $AllGroups.Path ` | Where { ($_ -replace '^LDAP://CN=([^,]+).+$','$1').StartsWith($Prefix) -and ($_ -replace '^LDAP://CN=([^,]+).+$','$1').EndsWith($Suffix) } ` | Foreach { ([ADSI]"$_").Description } $AppCount = 1 #if i echo $AllGroups i am able to retrieve Group membership information #However below code is not working... $DescList | Foreach { $tsenv.Value("COALESCEDAPPS" + ($AppCount++).ToString("00")) = "$_" }
any hint why it is not holding COALESCEDAPPS value ?
HunBoy Started learning from this page
1511 - Repair SCCM Client issue
Installing Packages and Apps Dynamically during OSD via AD groups - Web service Edition
As per the article, After add below two command executions
cscript.exe "%deployroot%\scripts\ZTIListP
cscript.exe "%deployroot%\scripts\ZTIListA
Do we need to add any further step ?
I could see a sequence step as “Install Software”, I do not know what to add in this, if can anyone has already done this, help me to explain what step to be included.
Do I need to give any variable there ?

HunBoy Started learning from this page
How to exclude Taskbar customization (settings) from migration During OSD??
we are using OSD task Seq to migrate win7 to win10.
1. it backs up all users profiles locally (Hard link).
2. apply the windows 10 image.
3. restore the data.
my problem is: when the user logs in he can see only Microsoft store and Edge icons in Taskbar. but when a new user logs in he can see all the expected customization which is replicated from Default user profile.
what i am trying to do now is to exclude taskbar settings from migration. any body can help with USMT xml customization OR any other way to accomplish this???? thank you in advance.