Microsoft

System Center Configuration Manager Feedback

Suggestion box powered by UserVoice

How can we improve Configuration Manager?

Allow option for GPO processing during Task Sequence

Right now GPO processing is disabled during TS execution. This is annoying as quite often there's settings and environment configuration for a machine pushed by GPO, and right now they only apply at the end of the TS.

It would be nice to have an explicit "process group policy" step in a TS, which would be the equivalent of a "gpupdate /force".

75 votes
Vote
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
You have left! (?) (thinking…)
Robby Moeyaert shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

Leaving status as Noted – see https://blogs.technet.microsoft.com/configmgreng/2016/03/11/configmrguv/

We don’t do anything explicit to block GPO processing, in earlier Windows versions that wasn’t the case but GPO apply was problematic in some instances

Our next step for this item is clear explanation of how GPO relates to OS Deployment Task Sequences and standalone Task Sequences.

5 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...
  • Robby Moeyaert commented  ·   ·  Flag as inappropriate

    Basically a lot of configuration is done via GPO that can be quite critical during OSD.

    Main example: Bitlocker.
    Quite often you have a Bitlocker GPO defined that says for example "Encryption is AES-256, store TPM password in AD".

    However, during OSD, as this GPO doesn't apply, the TS will just use the default settings of Windows, which in this case would be enabling Bitlocker with AES-128, which isn't what you want.

    The current workaround is manually using "run commandline" steps in your TS to set the exact registry keys you set with that GPO. That's redundant work and can be error prone.

    There are many other examples like this too.

    Beyond that, by default after OSD finishes GPO hasn't applied. You need to use some _SMSTSPostAction to do a gpupdate /force and reboot to be even closely sure that GPO will be applied. This is important in high security environments where GPOs are used to enforce a Secure Configuration Baseline such as the CIS benchmark.

  • Anonymous commented  ·   ·  Flag as inappropriate

    Actually I think its good, that GPO processing is blocked during OSD. We make sure to get policies applied after the TS by doing a Reboot when the TS is finished using the SMSTSPostAction Variable with a shutdown.exe command.

  • WainwRIGHT commented  ·   ·  Flag as inappropriate

    Well, this is technically possible. There is a registry setting you need to add that enables group policy during the OSD. Then you can add a step to do a GP Update. We do this at the end of our task sequence. But I agree. It should be built-in to the OSD as an option to run at the end.

  • ME commented  ·   ·  Flag as inappropriate

    Please add this functionality!!!!!!!!!!!!!!!!!!!!!!!!!

  • Henk Hoogendoorn commented  ·   ·  Flag as inappropriate

    Many customers asking me the same question: Is it possible to apply Group Policy during or at end of OS deployment? My answer is as always: No, this isn't possible, because Microsoft doesn't allow it. It may or will break you task sequence deployment. Therefore some steps needs to be applied to get the job done.

    Trick is you need to logon first, apply group policy, and logoff or shutdown again. It is possible, but needs a lot of custom configuration to make it happen. Hope that Microsoft can apply some changes, where Group Policy can be applied during OS deployment, without the risk that OS deployment is breaking.

    At customers I visit, this is one of most frustrating items missing. Will hope for a future release for sure.

Feedback and Knowledge Base