locked
CustomSettings.ini per task sequence with isLaptop/isDektop RRS feed

  • Question

  • I have single customsettings.ini file that contains settings per task sequence ID. I'm unsure how I can implement isDesktop and isLaptop when using this method. 

     

    Tuesday, June 3, 2014 6:20 AM

All replies

  • You can prioritize your cs.ini.

    For example: Priority = ByLaptop, ByDesktop, TaskSequenceID, Default

    This way it processes the bylaptop and bydesktop first, and TaskSequenceID secondly, and all other default rules comes last.


    If this post is helpful please click "Mark for answer", thanks! Kind regards

    • Proposed as answer by _JoeG Tuesday, June 3, 2014 3:18 PM
    • Unproposed as answer by jqx12 Saturday, June 7, 2014 12:18 PM
    Tuesday, June 3, 2014 7:44 AM

  • I'm trying to be able to define mandatory applications and OSDComputername based on is the machine laptop or desktop.  Problem is that those mandatory applications and computer naming schemes are totally different per task sequence.

    Do I need to create customsettings.ini per task sequence to get this working? Now I have single customsettings.ini that 
    contains everything.

    Our customsettings.ini looks like this example (we have about 20 different task sequences):

    [Settings]
    Priority=MACAddress,TaskSequenceID
    Properties=MyCustomProperty

    [TASKSEQUENCE01]
    OSInstall=Y
    SkipRoles=YES
    SkipAdminPassword=YES
    SkipProductKey=YES
    SkipBitLocker=YES
    JoinWorkGroup=WORKGROUP
    SkipUserData=YES
    UILanguage=en-US
    TimeZone=FLE Standard Time
    SkipCapture=YES
    DoCapture=NO
    SkipComputerBackup=YES
    SkipSummary=YES
    WSUSServer=http://........
    EventService=http://........
    SLSHARE=\\........
    _SMSTSOrgName=......

    BitsPerPel=32
    VRefresh=60
    XResolution=1
    YResolution=1

    MandatoryApplications001={GUID}
    MandatoryApplications002={GUID}

    [TASKSEQUENCE02]
    OSInstall=Y
    SkipRoles=YES
    SkipAdminPassword=YES
    SkipProductKey=YES
    SkipBitLocker=YES
    JoinWorkGroup=WORKGROUP
    SkipUserData=YES
    UILanguage=en-US
    TimeZone=FLE Standard Time
    SkipCapture=YES
    DoCapture=NO
    SkipComputerBackup=YES
    SkipSummary=YES
    WSUSServer=http://........
    EventService=http://........
    SLSHARE=\\........
    _SMSTSOrgName=......

    BitsPerPel=32
    VRefresh=60
    XResolution=1
    YResolution=1

    MandatoryApplications001={GUID}
    MandatoryApplications002={GUID}
    MandatoryApplications003={GUID}



    • Edited by jqx12 Tuesday, June 3, 2014 3:41 PM
    Tuesday, June 3, 2014 3:41 PM
  • If you have 20 different task sequences, it may be easier to use something like Make or Model.

    [Settings]
    Priority=Model, Default
    Properties=MyCustomProperty

    [Latitude E5440]
    TaskSequenceID=SomeTS

    [HP Elitebook 8530]
    TaskSequenceID=SomeTS2


    -Nick O.

    Tuesday, June 3, 2014 8:58 PM
  • Here you go, it is all laid out in this blog post by CLPARKER:

    http://mdtguy.wordpress.com/2013/10/07/automating-mdt-2012-laptops-vs-desktops/

    Wednesday, June 4, 2014 2:53 PM
  • My task sequences have nothing to do with make or model so this will not help.
    • Edited by jqx12 Saturday, June 7, 2014 12:16 PM
    Saturday, June 7, 2014 12:16 PM
  • Yes this is easy when you only have one default section in customsettings.ini. But when you have multiple sections based on task sequence ID and you want to use isDesktop/isLaptop..


    Saturday, June 7, 2014 12:17 PM