Quantcast
Channel: Configuration Manager 2012 - Operating System Deployment forum
Viewing all 9126 articles
Browse latest View live

Domain Join to a specific OU based on Computer Name - ConfigMgr 2012 R2 / MDT 2013

$
0
0

Hi all

i need to build an OS deployment task sequence with ConfigMgr 2012 R2 and MDT 2013. my requirement is to be able to join a computer based on its computer name. there are three types of computers. Sales / Marketing and Technical. based on the prefix of the computer name i need to place them on 3 different OUs. Computer Names would be SAL1100, MKT1100 or TEC1100, i would like to refer first three characters of the computer name and the decided on which OU they need to be allocated to. 

i would appreciate if someone could tell me how i can do this within my task sequence 


Please help configure SCCM

$
0
0

Hi Team,

I'm new to SCCM and have trouble in configuring a testing environment.

1. I download system center configuration manager and endpoint protection(current branch -version 1511) from https://www.microsoft.com/en-us/evalcenter/evaluate-system-center-2012-configuration-manager-and-endpoint-protection 

2.I download SQL server from https://www.microsoft.com/en-sg/download/details.aspx?id=29066 

i'm continously experience the following issue 

i searched internet and install many updates, but they don't work. could you let me know which update i should install, can you provide some URL?

Meanwhile, i find some articles said we need to launch post-installation tasks, some are not. Please clarify:

as  i am new to SCCM, please be patient with me.

many thx

sky  


Since upgrade to SCCM 2012 SP2 CU3 from SP1 my OSD stops after Setup Windows and ConfigMgr

$
0
0

Please note this is NOT R2 as as far as I am aware its a paid upgrade to 2012.

We recently upgraded from 2012 SP1 to Sp2 CU3 along with the required AIK trying to fix some issues with new HP's not loading network drivers. this has been resolved but now our images are not completing. They are loading the OS and driver packs then it starts to install the SCCM client does a reboot and finishes installing the SCCM client which all seems to go ok but then it reboots and go into windows with the SCCM wallpaper up and nothing else done. I've changed things around and reimaged this machine so many times trying to fix it i'm out of ideas other than creating a basic image task sans the MDT stuff.

Here is the smaller of my smsts logs after the reboot hoping someone might have an idea. I can provide the other log is needed but its much larger.

<![LOG[Expand a string: %_SMSTSMDataPath%\Logs]LOG]!><time="13:02:25.028+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="executionenv.cxx:782"><![LOG[Clear local default environment]LOG]!><time="13:02:25.060+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="executionenv.cxx:807"><![LOG[The action (Setup Windows and ConfigMgr) requested a retry]LOG]!><time="13:02:25.122+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="engine.cxx:263"><![LOG[Reboot to local harddisk]LOG]!><time="13:02:25.122+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="engine.cxx:458"><![LOG[_OSDGinaIsConfigured variable set to TRUE]LOG]!><time="13:02:25.122+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="engine.cxx:537"><![LOG[_SMSTSServiceStartType variable set to ]LOG]!><time="13:02:25.122+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="engine.cxx:549"><![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="13:02:25.122+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="commandline.cpp:228"><![LOG[Set command line: "bcdedit.exe"]LOG]!><time="13:02:25.122+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="commandline.cpp:731"><![LOG[Executing command line: "bcdedit.exe"]LOG]!><time="13:02:25.122+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="commandline.cpp:827"><![LOG[Process completed with exit code 0]LOG]!><time="13:02:25.524+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="commandline.cpp:1123"><![LOG[Calling RebootSystem()]LOG]!><time="13:02:25.524+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="engine.cxx:570"><![LOG[OSD type of task sequence. ignore the service window setting]LOG]!><time="13:02:25.524+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="engine.cxx:672"><![LOG[Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.]LOG]!><time="13:02:25.524+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="utils.cpp:1121"><![LOG[Path variable OSDisk converted from C: to E0A1EA650000100000000000:]LOG]!><time="13:02:25.524+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="resolvesource.cpp:1633"><![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="13:02:25.735+420" date="08-03-2016" component="TSManager" context="" type="1" thread="1512" file="utils.cpp:1121"><![LOG[Set a global environment variable _SMSTSNextInstructionPointer=65]LOG]!><time="13:02:25.735+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="executionenv.cxx:668"><![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=65]LOG]!><time="13:02:25.735+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="executionenv.cxx:386"><![LOG[Set a global environment variable _SMSTSInstructionStackString=0 42]LOG]!><time="13:02:25.735+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="executionenv.cxx:668"><![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=0 42]LOG]!><time="13:02:25.735+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="executionenv.cxx:414"><![LOG[Save the current environment block]LOG]!><time="13:02:25.735+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="executionenv.cxx:833"><![LOG[Expand a string: %_SMSTSMDataPath%\Logs]LOG]!><time="13:02:25.875+420" date="08-03-2016" component="TSManager" context="" type="0" thread="1512" file="executionenv.cxx:782"><![LOG[==============================[ OSDSetupHook.exe ]==============================]LOG]!><time="13:14:27.041+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="osdsetuphook.cpp:186"><![LOG[Logging successfully initialized to C:\_SMSTaskSequence\Logs]LOG]!><time="13:14:27.290+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="osdsetuphook.cpp:187"><![LOG[Executing task sequence]LOG]!><time="13:14:27.290+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="osdsetuphook.cpp:279"><![LOG[Loading the Task Sequencing Environment from "C:\_SMSTaskSequence\TSEnv.dat".]LOG]!><time="13:14:27.914+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="basesetuphook.cpp:366"><![LOG[Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}]LOG]!><time="13:14:27.914+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="environmentscope.cpp:659"><![LOG[Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}]LOG]!><time="13:14:27.930+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="environmentscope.cpp:659"><![LOG[Saving existing desktop wallpaper settings.]LOG]!><time="13:14:29.660+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="wallpaperselector.cpp:36"><![LOG[Setting desktop wallpaper.]LOG]!><time="13:14:29.660+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="wallpaperselector.cpp:57"><![LOG[Debug shell is enabled]LOG]!><time="13:14:30.409+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="basesetuphook.cpp:1440"><![LOG[Spawning system message loop thread.]LOG]!><time="13:14:30.409+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="debugwindow.cpp:143"><![LOG[Waiting for system message loop to initialize.]LOG]!><time="13:14:30.409+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="debugwindow.cpp:152"><![LOG[Signaling initialized event.]LOG]!><time="13:14:30.409+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3428" file="debugwindow.cpp:182"><![LOG[Entering system message loop.]LOG]!><time="13:14:30.409+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3428" file="debugwindow.cpp:187"><![LOG[Successfully enabled debug command shell support.]LOG]!><time="13:14:30.409+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="debugwindow.cpp:156"><![LOG[Configuring local administrator account]LOG]!><time="13:14:30.409+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="basesetuphook.cpp:1462"><![LOG[Enabling local administrator account]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="basesetuphook.cpp:1219"><![LOG[Account was already enabled]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="basesetuphook.cpp:1228"><![LOG[Re-assign all drive letters...]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="diskutils.cpp:1941"><![LOG[Partition without driver letter: ]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="diskutils.cpp:1948"><![LOG[Partition with driver letter: 0-1]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="diskutils.cpp:1949"><![LOG[Active partition is 0-1. New OS partition info: 0-1.]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="diskutils.cpp:1950"><![LOG[sPartitionNoDriveLetter.length() > 0, HRESULT=00000000 (e:\qfe\nts\sms\framework\tscore\diskutils.cpp,1951)]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="diskutils.cpp:1951"><![LOG[The drive information which has no drive letter can not be found. No need to re-assign driver letters.]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="diskutils.cpp:1951"><![LOG[Installing SMS client]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="basesetuphook.cpp:1474"><![LOG[Setting variable to indicate client installation attempted]LOG]!><time="13:14:30.424+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="installclient.cpp:934"><![LOG[Clearing existing client configuration.]LOG]!><time="13:14:30.440+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="installclient.cpp:291"><![LOG[Cleaning existing client certificates from SMS certificate store]LOG]!><time="13:14:30.440+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="installclient.cpp:138"><![LOG[Restoring SMS client identity.]LOG]!><time="13:14:30.440+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="installclient.cpp:321"><![LOG[The client certificates were not found in the environment. New certificates will be generated.]LOG]!><time="13:14:30.440+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="installclient.cpp:355"><![LOG[Successfully restored the client identity.]LOG]!><time="13:14:30.440+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="installclient.cpp:359"><![LOG[TS started from an unknown machine... Using submitted GUID GUID:9256de7e-4d1c-484d-ad8e-d1db5b7c419e]LOG]!><time="13:14:30.440+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="installclient.cpp:376"><![LOG[Using CRL: ]LOG]!><time="13:14:30.440+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="installclient.cpp:952"><![LOG[Unable to read SMS client cert from environment. Not restoring SMS client cert.]LOG]!><time="13:14:30.440+420" date="08-03-2016" component="OSDSetupHook" context="" type="2" thread="3260" file="installclient.cpp:962"><![LOG[Succeeded loading resource DLL 'C:\WINDOWS\system32\_SMSOSDSetup\1033\TSRES.DLL']LOG]!><time="13:14:31.032+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="util.cpp:963"><![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="13:14:31.188+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="commandline.cpp:228"><![LOG[Set command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE]LOG]!><time="13:14:31.188+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="commandline.cpp:731"><![LOG[Executing command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE]LOG]!><time="13:14:31.188+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="commandline.cpp:827"><![LOG[==========[ TsProgressUI started in process 3448 ]==========]LOG]!><time="13:14:32.046+420" date="08-03-2016" component="TsProgressUI" context="" type="1" thread="3452" file="winmain.cpp:330"><![LOG[Command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE]LOG]!><time="13:14:32.062+420" date="08-03-2016" component="TsProgressUI" context="" type="0" thread="3452" file="winmain.cpp:332"><![LOG[Registering COM classes]LOG]!><time="13:14:32.062+420" date="08-03-2016" component="TsProgressUI" context="" type="1" thread="3452" file="winmain.cpp:187"><![LOG[sbModulePath = C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe]LOG]!><time="13:14:32.062+420" date="08-03-2016" component="TsProgressUI" context="" type="1" thread="3452" file="tsprogressuiclass.cpp:625"><![LOG[Unregistering class objects]LOG]!><time="13:14:32.155+420" date="08-03-2016" component="TsProgressUI" context="" type="1" thread="3452" file="winmain.cpp:495"><![LOG[Shutdown complete.]LOG]!><time="13:14:32.155+420" date="08-03-2016" component="TsProgressUI" context="" type="1" thread="3452" file="winmain.cpp:512"><![LOG[Process completed with exit code 0]LOG]!><time="13:14:32.155+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="commandline.cpp:1123"><![LOG[Successfully registered TS Progress UI.]LOG]!><time="13:14:32.155+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="utils.cpp:2279"><![LOG[Executing C:\_SMSTaskSequence\OSD\01200002\ccmsetup.exe /useronly /source:C:\_SMSTaskSequence\OSD\01200002 /config:MobileClient.TCF /status:596]LOG]!><time="13:14:32.732+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="installclient.cpp:1084"><![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="13:14:32.732+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="commandline.cpp:228"><![LOG[Set command line: "C:\_SMSTaskSequence\OSD\01200002\ccmsetup.exe" /useronly /source:C:\_SMSTaskSequence\OSD\01200002 /config:MobileClient.TCF /status:596]LOG]!><time="13:14:32.732+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="commandline.cpp:731"><![LOG[Executing command line: "C:\_SMSTaskSequence\OSD\01200002\ccmsetup.exe" /useronly /source:C:\_SMSTaskSequence\OSD\01200002 /config:MobileClient.TCF /status:596]LOG]!><time="13:14:32.732+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="commandline.cpp:827"><![LOG[Process completed with exit code 0]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="commandline.cpp:1123"><![LOG[Install succeeded. Blocking other instances of ccmsetup.]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="installclient.cpp:1097"><![LOG[Installed Client]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="installclient.cpp:1155"><![LOG[Start to cleanup TS policy]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="utils.cpp:3056"><![LOG[TS Deleted 0 instances]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="utils.cpp:3099"><![LOG[TS Policy cleanup done]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="utils.cpp:3100"><![LOG[End TS policy cleanup]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="utils.cpp:3104"><![LOG[Setting variable to indicate a client installation was done]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="installclient.cpp:1166"><![LOG[Registering the task sequence with the execution manager in the newly installed operating system.]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="installclient.cpp:1170"><![LOG[Active request handle is empty, registering with new active request handle. This is expected if the TS was started from a media/PXE.]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="2" thread="3260" file="utils.cpp:4523"><![LOG[Saving the new active request handle for the task sequence: {2EE435DC-A6F9-461E-A5E3-6DFE0115A440}]LOG]!><time="13:19:24.248+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="utils.cpp:4536"><![LOG[CoCreateInstance succeeded]LOG]!><time="13:19:25.792+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="utils.cpp:4565"><![LOG[Succesfully registered the tasksequence with the execution manager]LOG]!><time="13:19:26.244+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="utils.cpp:4598"><![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="13:19:27.258+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="commandline.cpp:228"><![LOG[Set command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister]LOG]!><time="13:19:27.258+420" date="08-03-2016" component="OSDSetupHook" context="" type="0" thread="3260" file="commandline.cpp:731"><![LOG[Executing command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister]LOG]!><time="13:19:27.258+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="commandline.cpp:827"><![LOG[==========[ TsProgressUI started in process 2088 ]==========]LOG]!><time="13:19:27.274+420" date="08-03-2016" component="TsProgressUI" context="" type="1" thread="3328" file="winmain.cpp:330"><![LOG[Unregistering COM classes]LOG]!><time="13:19:27.274+420" date="08-03-2016" component="TsProgressUI" context="" type="1" thread="3328" file="winmain.cpp:204"><![LOG[Shutdown complete.]LOG]!><time="13:19:27.274+420" date="08-03-2016" component="TsProgressUI" context="" type="1" thread="3328" file="winmain.cpp:512"><![LOG[Process completed with exit code 0]LOG]!><time="13:19:27.274+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="commandline.cpp:1123"><![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="13:19:27.274+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="utils.cpp:2320"><![LOG[Moving logs to SMS client directory]LOG]!><time="13:19:27.274+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="basesetuphook.cpp:1495"><![LOG[LOGGING: Resetting log path.]LOG]!><time="13:19:27.274+420" date="08-03-2016" component="OSDSetupHook" context="" type="1" thread="3260" file="tslogging.cpp:1803">

 

AppXbundle deployment in OSD

$
0
0

Can we deploy AppXbundles during OSD?

We want to ensure that all users of specified devices get the Apps, but only whilst on those devices and that they get them as soon as they first log on. The best way to do this is to install the App during OSD but we can't get it to work.

https://technet.microsoft.com/en-us/library/dn645520.aspx indicates that it cannot be done, but that article is from 2014 and for Windows 8.1. I was hoping that SCCM 1602 and Windows 10 would have improved matters.

We wondered whether it wouldn't work due to SCCM using the SYSTEM account whereas MDT (where it does work) uses a user account?

WinPE behind firewall - which ports to open?

$
0
0

Hello all,

When we boot bare metal machines using WinPE, on our network they are treated as "untrusted" and placed within a restricted vlan.  Is there any documentation that details the ports that need to be open in this scenario?  For instance, we obviously need access to the SCCM server on ports TCP 80/443 but what else?  Do we need to be open ICMP also to the SCCM server?  We are using PKI for all internal SCCM client communication so would we also need to open this up during WinPE?

Many thanks,

Graham 

UDI Wizard Page: Suggestion for How to Handle OU Selection

$
0
0

Hey Guys - 

I'm building a new OSD TS for the company I work for and decided to implement MDT's UDI Wizard into the mix.  As you know, it comes with a Domain / OU combo page where you may configure a drop down menu to list specific OUs.  Whichever one is selected is the one the system will be placed into - simple enough.

My prediciment is that after running a PowerShell scritp for inventory, this organization has a total of 378 OUs which potentially contain workstations.  Even if I spent all the time adding & labeling them in the default UDI page, scrolling through them to find what you were looking for would take forever - if it even worked correctly with that many.

I decided to post and see if anyone had a suggestion or could share a link for how I could implement this in the best possible way.  Ideally, I currently think the best approach would be to create a custom page which listed all the OUs in a grouped menu by location or a type of tree which would be much easier to navigate and select from.  The problem is, I'm on somewhat of a deadline and wouldn't know where to start.

Anyone have suggestions for a solution or possibly links to something that could help me with this?  Thank you!


Ben K.

SCCM 2012 image process, "Failed to run task Sequence"

$
0
0

Boot the machine of the ISO cd and when trying to run the task to get the image load from the SCCM server to the laptop, its failing with the error "Failed to run task Sequence".

The network drivers are matching what we have SCCM and a working machine.

Any ideas?

Thanks in advance for your help.  I am unable to get any machine imaged.

running scripts from TS

$
0
0

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



Initializing Windows PE error

$
0
0

When capturing image of system and doing all works like running sysprep during task sequence and On reboot getting below error during initializing Windows PE in sccm 1511

On checking this error it is suggested to follow below link for hotfix installation. Pl suggest further

https://support.microsoft.com/en-us/kb/3143760


Neeraj

Task Sequence Icon in Software Center

$
0
0

The default icon of a task sequence that we can see in software center is shown below

Is there a way we can change this icon?

Tasksequence fails in OSD on Lenovo Laptop with error code (0x80004005)

$
0
0

Hello everyone,

I bought a new Lenovo T460p and have to push Win7 x64 on it via PXE OSD.

First the Tasksequence would not even start, I figured to add the right driver packages for the T460p to the boot image.

Now the Tasksequence will start and run trough the first steps: Atfter it sucessfully formats the disk, it wants to apply the OS Image and instantly stop with the error code (0x80004005).

Since i could not find any more detailed information on the error i looked into the smsts.log.

When i look trough it with CMTrace it doesnt show me any error and the last line of the log exits the formatting process with exit code 0 so it really went sucessful.

The only lines following are:

<![LOG[MP server http://SRV-DTP-MP01.server. Ports 80,443. CRL=false.]LOG]!><time="10:24:17.797-120" date="08-04-2016" component="TSManager" context="" type="1" thread="1468" file="utils.cpp:6075"><![LOG[Setting authenticator]LOG]!><time="10:24:17.828-120" date="08-04-2016" component="TSManager" context="" type="1" thread="1468" file="utils.cpp:6097"><![LOG[Set authenticator in transport]LOG]!><time="10:24:17.828-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="libsmsmessaging.cpp:7908"><![LOG[Sending StatusMessage]LOG]!><time="10:24:17.844-120" date="08-04-2016" component="TSManager" context="" type="1" thread="1468" file="libsmsmessaging.cpp:4107"><![LOG[Setting message signatures.]LOG]!><time="10:24:17.860-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="libsmsmessaging.cpp:1379"><![LOG[Setting the authenticator.]LOG]!><time="10:24:17.864-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="libsmsmessaging.cpp:1409"><![LOG[CLibSMSMessageWinHttpTransport::Send: URL: SRV-DTP-MP01.server:80  CCM_POST /ccm_system/request]LOG]!><time="10:24:17.865-120" date="08-04-2016" component="TSManager" context="" type="1" thread="1468" file="libsmsmessaging.cpp:8778"><![LOG[Request was successful.]LOG]!><time="10:24:17.868-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="libsmsmessaging.cpp:9113"><![LOG[Set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="10:24:17.868-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:669"><![LOG[Set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="10:24:17.868-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:669"><![LOG[Expand a string: %_SMSTSMDataPath%\Logs]LOG]!><time="10:24:17.883-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:783">


When I search for "fail" it shows me some other lines a little bit above:

<![LOG[Failed to save environment to  (80070057)]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="2" thread="1468" file="environmentlib.cpp:739"><![LOG[TS::Environment::SharedEnvironment.saveEnvironment(szPath), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\executionengine\executionenv.cxx,843)]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:843"><![LOG[Failed to save the current environment block. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
The parameter is incorrect. (Error: 80070057; Source: Windows)]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="3" thread="1468" file="executionenv.cxx:843"><![LOG[SaveEnvironment(), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\executionengine\executionenv.cxx,421)]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:421"><![LOG[Failed to persist execution state. Error 0x(80070057)]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="2" thread="1468" file="executionenv.cxx:427"><![LOG[Failed to save execution state and environment to local hard disk]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="2" thread="1468" file="engine.cxx:258"><![LOG[Set a global environment variable _SMSTSLastActionRetryCount=0]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:669"><![LOG[Start executing an instruction. Instruction name: Neustart mit Windows PE ausführen. Instruction pointer: 11]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="1" thread="1468" file="engine.cxx:117"><![LOG[Set a global environment variable _SMSTSCurrentActionName=Neustart mit Windows PE ausführen]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:669"><![LOG[Set a global environment variable _SMSTSNextInstructionPointer=11]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:669"><![LOG[Set a local default variable SMSRebootMessage]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:701"><![LOG[Set a local default variable SMSRebootTimeout]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:701"><![LOG[Set a global environment variable _SMSTSLogPath=X:\WINDOWS\TEMP\SMSTSLog]LOG]!><time="10:23:53.625-120" date="08-04-2016" component="TSManager" context="" type="0" thread="1468" file="executionenv.cxx:669">

I dont think thats the reason it fails but I dont have another idea...

Also the error only occurs on the Lenovo, the Tasksequence runs perfect on every other client.
And because I allready red it alot: Yes the Bios Clock is set to the right time on the computer.

Anyone got a way to solve the problem?

Regards, Paxz.

Dell Optiplex 390 not allowing keyboard/mouse to work on SCCM 2012 R2 WinPE 4.0

$
0
0

Dell Optiplex 390 not allowing keyboard/mouse to work on SCCM 2012 R2 WinPE 4.0 when asking for a password to continue imaging process.

Incinsistant OSD fail while installing the first application

$
0
0

Hey Guys,

 In my SCCM environment the OSD fails while installing the first app with the below error

Invoking App Management SDK to evaluate app polices    InstallApplication    20.07.2016 09:56:18    5380 (0x1504)
Process completed with exit code 2147500037    TSManager    20.07.2016 09:57:07    4288 (0x10C0)
Failed to run the action: Install Application 1.
Unspecified error (Error: 80004005; Source: Windows)    TSManager    20.07.2016 09:57:07    4288 (0x10C0)
MP server http://Server2012MP.Domain.Com. Ports 1450,443. CRL=false.    TSManager    20.07.2016 09:57:07    4288 (0x10C0)

We recently installed server 2012 MPs and Removed Server 2008 R2 MPs. The OS image was captured during the time when only the Server2008R2 MPs were operational. We have the MP published in DNS but not in AD. We pass SMSMP and SMSSLP during the OSD client installation step, But still once the client install succeeded, the client query server2008R2 MPs(Which is no more) for location requests.

Can I ask you guys to direct me to make the client query the new server2012 MPs instead of the old ones ?


Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. Delphin

How to schedule OSD to repeat, at interval(s)...?

$
0
0

Scenario:

We're being asked to refresh/reimage operating system images on training room workstations, on a schedule, (weekly, roughly), using SCCM 2012 R2.  We're still working out the kinks of OSD/imaging in general, (we're close to being done), & we're trying to get a handle on possible ways to accomplish automation of OSD to a particular collection on a schedule.

We can't add other tools into the mix, (we do have MDT installed & integrated with SCCM 2012 R2), so it has to be something we can accomplish through SCCM/MDT/Powershell, etc.

The searching I've done hasn't come up with any methodology that we can use to this point & I would appreciate any input folks might have.  

Thanks in advance for any assistance/direction/input...  :)

Charles

Setup Windows and Configuration Manager not completing

$
0
0

Recently setup a new SCCM 2012 environment, fully patched. I cannot seem to get the Configuration Manager client to run when using a distribute image task sequence. Basically here is what I've tried.  Setup a reference PC with Windows 7 SP1 x64 like I've been doing for years, i.e. NOT joined to a domain, very little added software installed, using a local admin user to setup some basic profile preferences.  From there I have tried 2 different methods to capture/create the image, both which seem to work fine. The first method is using MDT 2013 toolkit package job ultimately using ZTIBackup.wsf script. When I use this method I manually run sysprep myself, pointing to an answer file, and shut the machine down.

The 2nd method is using standard Capture Media (Cd-rom) created from the SCCM 2012 environment.  Once captured I then use an 'Install existing image package' task sequence.  Nothing fancy here, the usual steps, ending with the Setup Windows and Configuration Manager step.  Everything runs fine, I see that last step happen in WinPE, I even see the config manager client package get downloaded, and once done it finally says the computer will restart.

Once it restarts the pc kicks into mini setup, does it regular installing devices, etc, reboots one last time, checks video performance, and ultimately boots to Windows.  The image seems fine, it joined the domain as specified in the TS, but it never runs the config mgr client part.  The smsts.log file does not appear to show me any glaring errors, except one line that says 'SMS client is not installed.'  But it also says 'Successfully completed the action (Setup Windows and Configuration Manager).  I'm also left with the _SMSTaskSequence folder on the root of the C drive since the TS never knows it's finished and thus never deletes it.  I have googled for days and can't seem to find a solution.  I will add a copy of the SMSts.log file shortly.  Any help would be greatly appreciated, thanks!


Brian Stein


Operating System Image memberships?

$
0
0

Hi, can someone tell me how/or if possible  to see if an operating system is part of a task sequence?  I am inventorying our server and see numerous Windows 7-10 images files.  If they aren't being used I want to delete them. I really don't want to do a task sequence by task sequence inventory.

Thanks

Skylake chipset intermittent error during OSD "The computer restarted unexpectedly or encountered an unexpected error."

$
0
0

Environment:

  • ConfigMgr 1511
  • ADK v10 RTM (v10.0.26624.0)
  • PXE Image (No MSD drivers)
  • Win7 WIM Image contains KB2990941 and KB3087873 (to allow NVMe drives to function in Win 7)
    https://support.microsoft.com/en-us/kb/2990941
    https://support.microsoft.com/en-us/kb/3087873
  • Hardware:
  • Dell 7470 (Legacy boot mode)
  • Dell 7270 (Legacy boot mode)

I am receiving "Hit and Miss" results with this setup and getting an error of "The computer restarted unexpectedly or encountered an unexpected error" after the OSD process has completed and the drivers are attempting to boot in to Windows for the first time. During the process for detecting the hardware the machine may Blue Screen and restart, after which the error will show and send the end user in to a loop of reboot and error message.

This is NOT consistent.

I can build that same machine, on the same network point, to the same TS and the same PXE image 3 or 4 times successfully, but then at some random build time this error will occur.

It is almost like a driver fails to work (read: Crashes the PC) but not all the time.

Has anyone seen similar behavior with these new chipsets on Win 7?
If the driver initialization process fails, what log file does it write to to give you some idea of the driver that is causing the issue?


Brett Moffett

Task Sequence for Encrypted drive, for migrating from win7 to win10.

$
0
0

Hello team,

I need a help in creating Task Sequence for Encrypted drive, for migrating/deploying from win7 to win10.


OSD Task Sequence doesn't install SCCM Client

$
0
0

Hi

I want to install Windows Server 2012 R2 on a VM. The VM has a drive C: of 40GB and 196GB RAM. I use a OSD Task Sequence.

The task "Setup Windows and ConfigMgr" fails. There is not enough space on C:. The size of the page file is 22GB. The SCCM client can't be installed. In the ccmsetup.log I find the following lines.

....
Downloading file C:\_SMSTaskSequence\OSD\ZT100002\ccmsetup.exe    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
Downloading C:\_SMSTaskSequence\OSD\ZT100002\ccmsetup.exe to C:\WINDOWS\ccmsetup\ccmsetup.exe    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
File download 14% complete (262144 of 1800888 bytes).    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
File download 29% complete (524288 of 1800888 bytes).    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
File download 43% complete (786432 of 1800888 bytes).    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
File download 58% complete (1048576 of 1800888 bytes).    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
File download 72% complete (1310720 of 1800888 bytes).    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
File download 87% complete (1572864 of 1800888 bytes).    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
File download 100% complete (1800888 of 1800888 bytes).    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
Download complete.    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
Detected 7 MB free disk space on system drive.    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
========================================================================================================    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
WARNING: There may not be enough free disk space available. Minimum free disk space recommended for client installtion is 350 MB.    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
========================================================================================================    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
Client OS Version 6.2 Service Pack 0.0    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
Unable to open WMI namespace, "root\standardcimv2\embedded". HRESULT = 0x8004100e    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
Running as user "SYSTEM"    ccmsetup    08.08.2016 15:02:06    1692 (0x069C)
......

If the size of the RAM is smaller (for example 128GB) the OSD Task Sequence works.

Does anyone have anyadvice?
How can I change the pagefile size?

Marcel

Setup will continue after restarting your computer taking a LONG time after OSD build

$
0
0

At a customer site they are seeing long wait times at the end of the OSD process for a Dell latitude 7470 on the screen saying "setup will continue after restarting your computer"

This seems to related to the Intel graphics driver as when it is taken out of the driver package and installed after the fact there seems to be no delay what so ever.

My plan is to treat this driver as an install package and move it to the end of the TS but i was wondering if anyone has nay troubleshooting or diagnostic methods they use to identify these sorts of delays and what would be causing this to take so long?

Also, Is anyone else any seeing issues with the Dell 7470?


Brett Moffett

Viewing all 9126 articles
Browse latest View live