question

DS-9030 avatar image
0 Votes"
DS-9030 asked saldana-msft edited

Retriggering TaskSequence remotely on Windows Embedded devices (ThinClients)

Hi,

I have a requirement to retrigger Task Sequence on windows embedded devices (Thin Clients) on demand. I was hoping to achieve this using a PS script combined with CMScript feature available in MECM. CMscript be design runs in local System Context

This task in itself comprises to 2 subtasks:

  1. Disabling UWF filter followed by restart (wrote a PS to do this and works well with CMScript)

  2. Re-trigger the OSD Task Sequence once UWF is disabled (unable to get this to work in System Context with or without interactive user logon)

Have tried approaches in the below links but it did not work when executed as system user. As a domain admin, it works fine

Has anyone had any experience with such scenario?
Any suggestions to how to get this work with system account?
Any documentation from MS sat ng system accout + ps approach will not work/not supported for Thinclient to retrigger TS if anyone is aware if of?

Thanks!








mem-cm-generalmem-cm-osd
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HanyunZhu-MSFT avatar image
0 Votes"
HanyunZhu-MSFT answered

Hi,

For this issue, perhaps we can try to use the "Run Task Sequence" step to select the OSD task sequence to run after disabling the UWF script and restarting the computer.
Like the screenshot below:
120362-k.png

For more details about the step, please refer to this article:
https://docs.microsoft.com/en-us/mem/configmgr/osd/understand/task-sequence-steps#child-task-sequence

Hope this thought can help you.


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.


k.png (33.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DS-9030 avatar image
0 Votes"
DS-9030 answered DS-9030 commented

Hi Hanhunzgu, thanks for responding.. but don't want to create a new TSK to trigger an existing TSK on the machine.

Do we know if retriggering TS using Powershell in system context is not supported by MS for embedded devices (Thinclients)?

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, we tested the script in the following link and it worked.
https://timmyit.com/2017/01/09/invoke-osd-task-sequence-remotely-with-powershell/

So is there any error information in SMSTS.log when you run the script in the task sequence?
Maybe we could find something useful.

Thanks for your time.

0 Votes 0 ·

Did you try running the script in system context on a thin client? In my case it does not trigger the TSK.

The script will work fine as domain admin user

0 Votes 0 ·