SCCM 2012 Prestage media - and bootwim prestart commands?

Hi,
I am using SCCM 2012 SP1 with MDT 2012 and will be using the Bootwim prestart commands.
Prestart Commands for Task Sequence Media in Configuration Manager
http://technet.microsoft.com/en-us/library/jj651034.aspx
Specifically:
"Enable prestart command - Commaand line"
"Include files for prestart command - Source directory"
Windows PE Background - specify custom background image (UNC Path):"
Ok so far so good. Now we want to create prestart media - to give to our
hardware vendor. Am I going to have an issue that the prestage media might
include the bootwim plus its customizations - and can go out of date.
So lets save I give it to the vendor on Monday - all fine. I then make a
change to it on Tuesday - update something inside the boot wim.
How smart is this prestage media will it check the server for a later copy
and use that or am it going to be locked in from when I give it to them.
I also might want to put things like active directory lookups for machine
validate as well.
So can somebody please clarify how the above would work.
Thanks,
Ward.

Normally when you run a Task Sequence and the assigned boot image is different from the boot media you initiated the Task Sequence from, it will download the correct boot image, stage it, and reboot.  By default though this creates an issue because
it assumes you booted from removable media and will prompt you to remove it before rebooting to continue.  There's a way to bypass this via the tsmbootstrap.ini file, but the default behavior is to prompt.
I have also seen issues with boot image concurrence between prestaged media images and the selected Task Sequence when the functionality was originally introduced in CM07 (http://myitforum.com/myitforumwp/2012/07/12/multi-site-dell-cfi-follow-up/) but I
have not heard of it being an issue recently.  It should be relatively easy to test; apply the prestaged media image to a test machine, change or update the assigned boot image for the Task Sequence, then see if it successfully pulls down and boots to
the updated WinPE.
Another option is to have your prestart script be relatively generic and have it download the files from a server at run time (ex - download a .CAB from a web server, expand the contents, and launch a script from those downloaded files). That way all you
have to do to update functionality is update the .CAB file, not the prestaged media or boot image.

Similar Messages

  • SCCM 2012 - Problems running vbscript or simple command line

    Hey everybody, I'm having a heck of a time trying to get SCCM 2012 to deploy some very simple Vbscripts or even a simple command line.  I need to deploy some registry fixes across the company as well as a Vbscript that uninstalls some old applications. 
    If I run these scripts/commands outside of SCCM everything works fine, inside of SCCM it always shows "succeeded" but it doesn't actually run correct on the client.
    What's confusing to me is the use of distribution points when you're running a command line that doesn't actually have any source files.  For instance this is what I'm trying to run "regedit /s \\servername\folder\registryfix.reg".  I've also tried
    a similar bat file as well with the same result.  I've tried it with a source folder specified, I've tried it using Run Program From Server or Download locally.  I've gone through everything I can think of but can't get it to work.
    Similarly with a vbscript I'm trying "cscript.exe /s \\servername\folder\uninstallapps.wsf" and various different settings in the package deployment.
    I'm really confused here guys so any help would be greatly appreciated.  Thanks

    What I have found is that if you try and run the REG.EXE command line directly, either as a program or via a CMD/BAT file, the 64-bit redirection will occur.  So, if you had something like this in a program or via a CMD/BAT file that ran against a 64-bit
    system:
    REG ADD HKLM\Software\Microsoft\Test /v Test /d Test
    You would end up with this registry entry existing under:
    HKLM\Software\Wow6432Node\Microsoft\Test
    That's because SCCM uses the 32-bit launcher to take care of this and redirection occurs - You can see this via the "CCM32BitLauncher.log" on the client.
    To work around this problem, I have done the following:
    On a reference machine, create/export the registry entry I want into a *.reg file - An example export of "Test.reg" for the above mentioned registry entry would look something like this:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Test]
    "Test"="Test"
      2.  Stick our "Test.reg" file in a source share, create a package with the share as the source content, and distribute it
      3.  Create a program for the package with a command line like this: 
    REG IMPORT Test.reg
    This is obviously not as clean as having a command line with a package to distribute, but I find it works fine for me and gets around the redirection for registry entries.

  • SCCM 2012 SP1 - Build and Capture - ReCapture impossible

    Hi all
    i upgrade my SCCM 2012 RTM to SCCM 2012 SP1 yesterday. Today i started a recapture of my Windows 7 and Windows 2008 R2 Base Image.
    For that i have 2 VMs located in different SCCM Collections. And a Build and Capture Task Sequence is deployed to the collections.
    Before SP1 the behavior was:
    - Reset Required PXE Deployment in SCCM for the VMs
    - Start VM
    - VM boots with PXE
    - VM installs and capture the Installation
    And that i could do all the time so often as i want.
    Now with SP1 it is the same procedure but just for one time. After one success Build and Capture Task, the vm is unable to do the task sequence again. The VM is booting into the PXE and then i can see in the smsts log:
    There are no task sequences available to this computer
    But there are. The Task Sequence is set to "Always rerun".
    The only "fix" is to completely recreate the computer item in sccm.
    What is here wrong? Is this a known bug?
    best
    JBAB

    Hi, your problem is that when you deploy the task over the collation you only specified "media and PXE" was available to and probably the machines that you try to capture already had the sccm client. You can try to deploy the sequence task to a collation
    including the the option "configuration manager, media and PXE", or you can also deploy the task sequence to de "unknown devices" collation and delete the objects of the two virtual machines in configuration manager

  • Huge wim files with sccm 2012 capture media.

    So I'm making new image of two new HP models. 850/840 G2.
    Win 7 and Win8.1
    Image will have only newest win updates
    Newest device drivers
    Problem is that when I use capture media from SCCM 2012 R2, the WIM files are around 40-50Gb. And I'm a bit lost with this and don't know what to do. 
    I did all the things in same way like it was with G1 models. And then the WIM size was 9-11Gb. 
    I checked the inside of the wim file and there was hiberfil.sys files etc  that are 16Gb as the RAM on the machine is the same ammount. Ram ammount was same in the G1 models also and this didn't happen. Also winsxs folder was under windows and that was
    way over 10Gb. 
    Also one thing that is strange is that during capture, it captures 3 volumes. Disk should only have that 350MB and the windows installation. 
    Anyone have had this kind of experience?

    Hi
    I don't know exactly how I should go with the virtual machine thing .
    This is just a small part in my work that I do, so I have done it the most "fastest" way for my self.
    Basically I just need 2-3 images with machine drivers and windows update installed. 
    If making image trough virtual machine would require me to create driver package for each model and then notice that x amount of devices still don't get installed and I would need to create installation package of those missing drivers. That is something I
    don't have time for...
    Also when using driver package and installation for some special drivers from their won packages it feels that it takes long. And if i have my stuff already in the WIM file, things go smoothly much faster.
    But if the virtualmachine trick is somehow superior, hit me with url. Thank you!
    Strange thing is that some time ago all worked fine. And I was thinking that if someone has seen this kind of problem before. 
    It somewhow feels that it's capturing all the drives I have attached to machine. Volyme 3 of 3. And volyme is a disk? Not a partition?
    I had usb stick (sccm capture media), machine harddriver with 350mb partition and the windows partition. Also external USB disk that it should save the WIM into.
    Probaply next I will test the same machine with different harddrive...

  • SCCM 2012 Packages - Software and apply license

    HI All,
    I think I already know the answer, but I just want to check that the package options are selected correctly as I'm a newbie when it comes to packaging;
    We are trying to install Trapeze viewer (from Onstream, part of our Idox solution). The software calls for the License to be applied manually after the install (just double click the file and it applies itself, the users are able to do this). We are migrating
    our estate onto Win 7 x64 and this will have to be done on 400+ machines.
    I've created a SCCM 2012 Package with two Programs; 1 to install the software from MSI file and the 2 to run the license file in hoping that when a new user of a machine logs in the Trapeze license is applied for the first time;
    1- Software -
    General
    Name: Install Trapeze
    Command line: "TrapezeDesktop_9_05.msi"
    Run: Hidden
    After Running: No Action Required
    Environment
    Program can Run: Whether or not user is logged on
    Run Mode: Run with Admin rights
    Allow user interaction: Unchecked
    Advanced
    When program is assed to Computer: Run once for computer
    Supress Program notification: Checked
    2-License -
    General
    Name: Trapeze License
    Command line: license.tpz
    Run: Hidden
    After Running: No Action Required
    Environment
    Program can Run: Only when a user is logged on
    Run Mode: Run withUser rights
    Allow user interaction: Unchecked
    Advanced
    Run another Program First: Checked
    Package: Onstream Trapeze
    Program: Install Trapeze
    Always run this program first: Checked
    When program is assed to Computer: Run once for every user who logs on
    Supress Program notification: Checked
    Many Thanks
    Becki

    Hi Torsten,
    license.tpz applies a license to the trapeze software, manually it is just double clicked, and then the trapeze software opens stating that the license will take affect next time the software is ran.
    Is it worth me pointing it to the trapeze.exe file in the command line, such as:
    "C:\Program Files (x86)\Onstream Trapeze\trapeze.exe" REGLICENSE=\\server\share\Onstream Trapeze\license.tpz
    on my initial testing it did work to one of my test machines, but didn't re-run the license when another user logged in and came up with a license not found message.

  • SCCM 2012 sp1: howto remotely execute powershell commands?

    Hi,
    Please advise on howto run remote powershell scripts to an SCCM 2012 SP1-server.
    Locally importing the module (on sccm 2012) works fine, but not remotely. It tells I should run from x86 console, but I am!
    Please advise.
    J.
    Jan Hoedt

    Start the SCCM Console and start Powershell from there. (left-top "Connect via Windows Powershell")
    This will register the CM PSDrive for the user who started the console.
    The PSDrive will not be available to a PowerShell IDE or another editor. However in looking at this, it shows that it's loading "Microsoft.ConfigurationManagement.PowerShell.Types.ps1xml". So I tried the following:
    Update-TypeData
    -PrependPath
    ($Env:SMS_ADMIN_UI_PATH.Substring(0,$Env:SMS_ADMIN_UI_PATH.Length-5)
    +
    '\Microsoft.ConfigurationManagement.PowerShell.Types.ps1xml')
    That seems to load the correct datatype. However I still get an error doing the following command (example):
    New-PSDrive
    -Name
    "CAS"
    -PSProvider
    CMSite
    -Root
    "ServerUNC"
    Error:
    New-PSDrive : Object reference not set to an instance of an object.
    Hopefully someone knows more about TypeData...
    -Ken

  • SCCM 2012 R2: Build and Capture - Windows 8.1 prompting for network

    I have upgraded my SCCM 2012 SP1 (CU2) to SCCM 2012 R2 and I am attempting to Build and Capture Windows 8.1 Enterprise. Everything is perfect except for the OS prompting for a network selection during the process, if I click "next" on that screen
    the Capture finishes without incident. The same is true of the Deploy as well...
    Is this a bug from my upgrade?
    Portland Public Schools / Systems Administrator II

    Hi LillonelC
    Can you point out how and where to do this?
    When capturing with MDT 2013 on VMware I do not see this, naturaly, since the "machine" only has one network adapter.
    But when deploying to a Laptop I get the wireless Setup screen...
    On beforehand Thank You!
    With kind regards
    We aren't using MDT but what we did was create a package called Windows 8.1 - Compnents. In it  placed a file named "32Bit-Unattend.xml" and 1 named "64Bit-Unattend.xml". 
    During the capture in the "Apply Operating System Image" I put a check in the box "Use an unattended or Sysprep answer file for a custom installation". The package was Windows 8.1 - Compnents the File name was "32Bit-Unattend.xml".
    I did the same for 64-bit and used the 64-bit version.
    Here is content of the 32-bit file:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <NetworkLocation>Work</NetworkLocation>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideLocalAccountScreen>true</HideLocalAccountScreen>
                </OOBE>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim://SERVERNAME/e$/osimages/win_8.1_x86/sources/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Here is the content of the 64-bit file:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Shell-Setup" 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">
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <NetworkLocation>Work</NetworkLocation>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideLocalAccountScreen>true</HideLocalAccountScreen>
                </OOBE>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim://SERVERNAME/e$/osimages/win_8.1_x64/sources/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    If that doesn't help I can try to clarify it a bit further.
    PS You won't need to do this for the deploy, only the capture.
    Portland Public Schools / Systems Administrator II

  • Can I have an SCCM 2012 R2 server and a SCCM 2012 SP1 server in the same site?

    We are currently using SCCM 2012 SP1/MDT 2012 Update 1 to deploy Windows 7, and to migrate existing XP installs to Windows 7 (using the offline USMT functionality in MDT).  We are moving forward with Windows 8.1, and understand that
    we need to upgrade our SCCM infrastructure to SCCM 2012 R2/MDT 2013.  We also understand that this will cause us to lose the ability to migrate XP machines, since MDT 2013 uses a newer version of USMT that doesn’t support XP.
    What do we need to do to continue to support our XP migrations, and enable deployments of Windows 8.1?
    Can we have two SCCM servers in the same Site running different versions of SCCM? Do we need a separate site? 

    You don't explicitly need ConfigMgr 2012 R2 to support Win 8.1. SP1 CU3 will suffice although managing a few things like boot images is a little more difficult: http://blogs.technet.com/b/configmgrteam/archive/2013/10/21/how-to-enable-windows-8.1-deployment-in-sc-2012-configmgr-sp1-cu3.aspx
    You could create two separate site hierarchies, but that would be painful and involve tons of duplication. There would be other issues also if the systems are located on the same subnets and in the same AD forest.
    The best option is to get rid of XP. EOL is in less than 30 days!
    Next best is to stay on SP1 CU3 until you get rid of XP. I know that sucks, but keeping XP around is the root cause of this and many other coming issues in any organization wanting to keep it around.
    Jason | http://blog.configmgrftw.com

  • SCCM 2012 R2 PS and SS HW requirements

       Hello to all, I'm involved in a SCCM 2007 --> 2012 R2 migration and managers are asking if some secondaries servers could work if they use 4 Gb RAM because they say that they do not have buget to buy/upgrade new HW. I know that
    MS suggested min. recommendation
    for secondary servers is 8 Gb of RAM.
       Secondary servers in project's environment would have between 500 and 1000 machines run local SQL . Target SCCM 2012 R2 features includes reporting, patch distribution and HW+SW inventory.
       Do you have any experience using SCCM 2012 R2 secondary server below min. HW requirementes that could be shared?
       Your inputs will be appreciated.
       Regards, EEOC.

    Hi,
    Found a document which seemed helpful for our question, please refer to the link below.
    System Center 2012 Configuration Manager Hardware used for site roles in Microsoft IT
    http://blogs.msdn.com/b/shitanshu/archive/2012/04/10/configuration-manager-2012-hardware-configuration-used-in-microsoft-it.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Have Existing SCCM 2012 Config mgr and want to build new config mgr

    Hello,
    I inherited an environment that had an SCCM 2012 Configuration Manager server setup and migrated from 2007 I believe.  It is very polluted and not setup correctly to utilize any of the new features.  Everything I try to implement either does not
    work or throws errors.
    I would like to remove this server from the environment and stand up a new SCCM 2012 server.  Is this possible to do easily?

    Yes this is possible, but I wouldn't call it easy. You've got to rebuild your environment and if you're not migrating your old objects, like your packages, it can be a lot of work. Also, don't forget that you'll also have to bring all your clients to your
    new environment.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Coexistence of the SCCM 2012 R2 client and the App-V Full Infrastructure Model

    Our environment currently has the App-V Full Infrastructure Model deployed with Windows 7 clients using hundreds of App-V apps.  We plan to deploy SCCM 2012 R2 to the environment.
    What is the affect on our Windows 7 users when the SCCM 2012 R2 client is deployed - will their existing App-V apps (utilizing the App-V Full Infrastructure Model) continue to function? Or will SCCM 'take over' all App-V functionality?
    The only documentation I can find on this is one paragraph in the App-V and ConfigMgr 2012 White Paper (http://download.microsoft.com/download/1/5/A/15AD0DD6-40A8-49E3-86D6-C21E5D0BC7F8/App-V%20and%20ConfigMgr%202012%20White%20Paper.pdf) which
    states:
    Q: Is it possible to perform a phased migration from an App-V standalone or App-V Full Infrastructure 
    to Configuration Manager virtual application management? 
    A: Yes, migration to Configuration Manager virtual application management begins with deployment of 
    an App-V application from Configuration Manager 2012. Upon the first deployment in Configuration 
    Manager 2012, no new applications can be deployed via other methods, but all previously deployed 
    packages will be retained. 
    A blog post here (http://www.applepie.se/config-mgr-2012-and-app-v) seems to indicate this is expected behavior.
    But then, this contradicts what Microsoft says on the TechNet website (http://technet.microsoft.com/en-us/library/jj822982.aspx):
    Configuration Manager begins to manage virtual applications on a client after the first deployment of a virtual application. After this, all App-V applications on the computer must be managed by Configuration Manager.
    Does anyone have any opinions or experience on this? Or further information?
    My Microsoft Core Infrastructure & Systems Management blog -
    blog.danovich.com.au

    As soon as an App-V package is deployed to a user/device via SCCM then it takes over the management of the client on that device, therefore App-V packages coming from the App-V publishing server will no longer be deployed to that device.
    I would assume that full cached apps would continue to be run on the local device but new content would no longer be deployed from it.
    Cheers
    Paul | sccmentor.wordpress.com

  • SCCM 2012 Password Age and if not set to Expire

    Hi,
    I browsed the Resource Explorer in SCCM 2012, and found that it shows the Age a person last changed their passwords.
    Can anyone assist me on how to get that data out of SCCM 2012?
    Kind Regards

    If you are talking about reports, First you need to configure sccm to collect that attribute from AD in the
    ad user discovery properties on Active directory Attributes tab. After the successful collection of those attributes you can query against "v_R_User" view and extract the information.
    Adding the attribute Pwd-Last-Set and msds-UserPasswordExpiryTime0 to user inventory would be of some help.
    Delphin

  • Does SCCM 2012 R2 Secondary and DP servers really need backup?

       Hello to all. I'm involved on a SCCM 2012 R2 project that will install aprox. 20 SCCM 2012 R2 servers: 1 CAS, 3 Primary, 8 Secondary and 8 DPs (just SCCM runs on all these servers). As backup is licensed by Tb and cost is a restriction, I think
    that would be acceptable to backup just CAS and 3 Primary servers. If a failure happens in any Secondary or DP, they could be reinstalled and all necessary information would be replicated from the respective Primary or Secondary.
       Questions:
        1- Is it technically feasible?
        2- If I want to run specific configuration for a site that its Secondary failed, could I run it from the respective Primary?
        3- Does #2 applie to DP (if a DP fails, could I run the necessary configs./action from its respective Secondary or Primary)
        Please feel free to input pros and cons so I can take the best decision.
        Regards, EEOC.

    " 2- If I want to run specific configuration for a site that its Secondary failed, could I run it from the
    respective Primary?"
    Just a comment regarding this design decision.  Based on this sentence, it almost sounds like someone thinks you
    can manage FROM a secondary.  That simply doesn't happen.
    I wonder... Did the person who came up with your cm12 design ever actually work with cm12 in a hierarchy (for more than
    a few weeks), because based on your statements, assumptions appear to be made that cm12 hierarchy works exactly like cm07 ( or SMS 2.0 for that matter, since you couldn't manage from a secondary in cm07 nor SMS 2003 either).  Having a cas and multiple
    primaries will not provide the redundancy of "if one primary goes down then..." As it sounds like is being assumed is true.  I think its tons riskier to have multiple primaries and a cas.
    Standardize. Simplify. Automate.

  • [SCCM 2012 R2] SCCMContentLib and SMS_DP$ TEMPorary content

    Hi All,
    On all my distribution points SMS_DP$ folders have random *.temp files of packages that do not exist anymore:
    Is there a maintenance procedure on DP/SCCM that will delete those obsolete temp files? 
    May I delete those files or just ignore temp files?
    On all my distribution points SCCMContentLib (DataLib and FileLib) folders have TEMP folders and files (folders in DataLib have temp in the name) of packages that do not exist anymore:
    Is there a maintenance job/procedure on DP/SCCM that will delete those obsolete temp folders and files? 
    Is there a script that do the cleanup?
    I cannot ignore SCCMContentLib temp folders and files because I have a problem with re-distribution of old packages?
    Please help.
    Thank you in advance.
    Regards,

    Hi,
    The SMS_DP$ share is used to host the distribution point log files, the files used to validate content, prestage content and is also to store a temporary copy of the package before it is integrated into the Content Library. By reading the PkgXferMgr.log
    you can easily see the process.   
    For more information, please review the links below:
    Understanding the Configuration Manager Content Library
    http://blogs.technet.com/b/configmgrteam/archive/2013/10/29/understanding-the-configuration-manager-content-library.aspx
    Understanding the new content library store in 5 minutes
    http://blog.coretech.dk/kea/understanding-the-new-content-library-store-in-5-minutes/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SCCM 2012 Machine Policy and Software Update Script - Remote Machine

    Apologies if this has been answered before as there are so many good posts on this forum.  What I am after is a simple VB script that I can stick on a remote machine and then use PSexec to run the .vbs file. 
    I need to be able to carry out a Start/Control Panel/Configuration Manager (32 bit)/actions Tab
    Machine Policy Retrieval and Evaluation Cycle (Initiate)
    Software Updates Deployment Evaluation Cycle (Initiate)
    This is on SCCM 2012.  Also if the VB Script can come back to say if it has been successful or not would be awesome :)
    I would like to type something like:
    Psexec \"address of machine" SCCM.VBS (where the sccm.vbs is located on the remote machine)
    Then for the vbs to carry out the 2 initiations above on the remote machine and then return with "Initiation Complete" or words to that affect.
    Thanks

    Hi,
    I'd highly recommend using some of the available right click tools instead. Here's one example:
    http://myitforum.com/myitforumwp/2012/05/07/config-manager-2012-right-click-tools/
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

Maybe you are looking for