SCCM debug window gone

YaroC 311 Reputation points
2022-03-22T10:04:20.983+00:00

I'm trying to debug a task sequence on running deployment and when called the cmd window pressing F8 on the system being deployed my debugger windows disappeared so I'm kind of stuck :) Is there a way to get the window back to the foreground?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,635 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. Simon Ren-MSFT 32,221 Reputation points Microsoft Vendor
    2022-03-25T06:00:53.54+00:00

    Hi,

    Thanks very much for your feedback and sharing. We're glad that the question is solved now. It's appreciated that you could click "Accept Answer" to the helpful reply, this will help other users to search for useful information more quickly. Here's a short summary for the problem.

    Problem/Symptom:
    When called the cmd window pressing F8 on the system being deployed, the debugger windows disappeared.

    Solution/Workaround:
    Got to cmd window with F8, started powershell and then run the below command to bring the debugger (TSD.exe) window to foreground

    (New-Object -ComObject WScript.Shell).AppActivate((get-process tsd).MainWindowTitle)

    Thanks again for your time! Have a nice day!

    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.

    2 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. YaroC 311 Reputation points
    2022-03-23T17:58:50.433+00:00

    I actually found a different way. Got to cmd window with F8, started powershell and then run the below command to bring the debugger (TSD.exe) window to foreground

    (New-Object -ComObject WScript.Shell).AppActivate((get-process tsd).MainWindowTitle)

    1 person found this answer helpful.
    0 comments No comments

  2. Limitless Technology 39,511 Reputation points
    2022-03-23T17:53:56.403+00:00

    Hello @YaroC

    You can enable this command shell from the Properties window of the Boot Image of the Task Sequence. In the Customization tab, there is a setting at the bottom for :Enable Command Support (testing only)"

    If this is selected, it has been reported that some drivers in the task sequence may disable it, for which I would recommend to disable selectively the drivers in the task sequence to find which one is producing the issue.

    Hope this helps with your query,

    --------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments