Share via

some issues with roles and priority

lupinlicious 141 Reputation points
2022-03-03T08:46:31.033+00:00

Dear all,

I would like to accomplish some tweaking for each computer in MDT and therefore installed SQL express and management studio.

I have created a global settings that should be applied for all computers, and I did this under Advanced Configuration > Database > Roles
After that I created a computer in the section Computers and under Roles I added my global settings.

But the settings seems not to be applied, I moved CRoles to the end of my list for highest priority? Like below and what does the C and L and MM stands for?

My customsettings.ini looks like this: [Settings] Priority=Default, CSettings, CPackages, CApps, CAdmins, Locations, LSettings, LPackages, LApps, LAdmins, LRoles, MMSettings, MMPackages, MMApps, MMAdmins, MMRoles, RSettings, RPackages, RApps, RAdmins, Model, SetOSD, CRoles

179526-image.png

For example "Computer Details" appears on the client screen even that SkipComputername and SkipDomainMembership have the value "YES"
If I add these properties in the Default section in my customsettings.ini, then the computerdetails will disappear.

I also created an application were I can start litetouch.vbs from the desktop and choose which applications to be installed after OS deployment. But it does not work if I have specified a tasksequence under Roles (my global settings), let say 006 that would install the Operatingsystem and my application have the following arguments:

Start-Process -FilePath "Cscript.exe" -ArgumentList "\\I.P.A.d.d.r.e.s.s\DS\scripts\litetouch.vbs /TaskSequenceID:002 /SkipTaskSequence:YES" -WindowStyle Hidden   

Which results that the computer will reboot and not start tasksequenceID:002 (which holds the applications). I guess 006 have higher priorites?

If I remove tasksequence 006 from my global settings, then there is no issue to start litetouch.vbs and select applications

Thaaaaanks!

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
0 comments No comments

2 answers

Sort by: Most helpful
  1. lupinlicious 141 Reputation points
    2022-03-04T13:42:40.123+00:00

    Thank you @Simon Ren-MSFT , just to make it clearer, my roles looks like this:

    180142-image.png

    1. Global-Settings - Holds information that should apply to all computers.
    2. Lab-Settings - Here I just added TaskSequenceID=006 (OS-deployment) with no further settings)
    3. Install Applications - Here I just added TaskSequence=002 (deploy applications, so I can select one or more applications after OS-deployment)

    When I PXE-boot, tasksequenceID 006 applies as it should and I do not need to interfere at all. Global settings with all its settings seems also to apply just fine.

    But when I execute my application on the desktop, litetouch won't start tasksequenceID 002, it just reboots.
    It seems that tasksequence ID 006 always "wins".

    Best regards

    Was this answer helpful?


  2. Simon Ren-MSFT 40,386 Reputation points Microsoft External Staff
    2022-03-04T10:04:47.46+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    Per my experience, the settings you selected during the database rules configuration are put in an exact order to be processed on the Priority line. Please set the default settings in the [Defaults] of the CustomSettings.ini at the lowest priority.

    Similar thread for your reference: Order of Roles assigned to Computers

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.