Share via

\microsoft\windows\devicedirectoryclient\registeruserdevice

Pedro Vizeu 0 Reputation points
2026-02-20T21:23:18.6733333+00:00

since 3 days before the systems say "el host de tarea está deteniendo las tareas en segundo plano.

\microsoft\windows\devicedirectoryclient\registeruserdevice

and stop my shutdown

Microsoft 365 and Office | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Sumit D - IA 161.1K Reputation points Independent Advisor
    2026-02-20T23:41:02.0966667+00:00

    Hi Pedro,

    So is the Windows not activated now?

    To fix the "Task Host is preventing shutdown" error, follow these steps:

    1. Hard Reset: Press and hold the physical power button until the screen turns completely black.
    2. Power On: Turn your PC back on as usual.
    3. Final Cycle: Perform a standard Restart or Shut down from the Start menu.

    I’m eager to hear back and work together to find a solution.

    0 comments No comments

  2. Q&A Assist
    2026-02-20T21:23:29.5933333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    It seems you are experiencing an issue where the system is unable to complete the shutdown process due to a task host stopping background tasks. This can happen for several reasons, including blocked kernel situations or services that do not end properly. Here are some steps you can take to troubleshoot the issue:

    1. Check for Blocked Threads: Use the command !mex.tl -t to identify any blocked threads that may be preventing the shutdown.
    2. Safe Mode: Boot your machine in safe mode to see if the problem persists without third-party services running. If it shuts down correctly in safe mode, a third-party service may be causing the issue.
    3. Clear Page File Policy: Check the ClearPageFileAtShutdown registry value. If it is set to 1, it means the policy to clear the paging file at shutdown is enabled, which could be causing delays. You can change it to 0 to disable this policy if necessary.
    4. Startup Applications: Minimize the number of applications that run at startup, as they can interfere with the shutdown process.

    If these steps do not resolve the issue, you may need to analyze crash dump files for further diagnosis.


    References:

    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.