Skip to content

Upgrade Line 2153 : Waiting for C:\$Windows.~BT\ #9

Description

@CivicCenterCNB

WHen using the script in intune I'm having some issues with some computers when I deploy the script it does not create the $Windows.~BT folder?

So the process is stuck at 0% since it can't find the folder. I'm not sure how to fix this issue?

INFO: Scheduled task "OneTimeCleanMgrAfterWin11Upgrade" has already been enabled.
SUCCESS: The parameters of scheduled task "OneTimeCleanMgrAfterWin11Upgrade" have been changed.
[2025-08-20 15:57:41] [INFO] [Script] [Line 2132] ServiceUI.exe found at: C:\Temp\Win11\ServiceUI.exe
[2025-08-20 15:57:41] [INFO] [Upgrade] [Line 2133] Starting Windows11InstallationAssistant.exe through ServiceUI.exe (visible to user)...
[2025-08-20 15:57:41] [INFO] [Upgrade] [Line 2142] Started Windows11InstallationAssistant.exe with process id 13484.
[2025-08-20 15:57:41] [INFO] [Script] [Line 2149] Started monitoring the upgrade process at 08/20/2025 15:57:41
[2025-08-20 15:57:41] [INFO] [Script] [Line 2150] Will wait for 02:00:00
[2025-08-20 15:57:41] [INFO] [Upgrade] [Line 2153] Waiting for C:$WINDOWS.~BT\Sources\Panther\setupact.log to appear...
[2025-08-20 15:58:11] [INFO] [Upgrade] [Line 2153] Waiting for C:$WINDOWS.~BT\Sources\Panther\setupact.log to appear...
[2025-08-20 15:58:41] [INFO] [Upgrade] [Line 2153] Waiting for C:$WINDOWS.~BT\Sources\Panther\setupact.log to appear...

------ps1 code

Wait for setupact.log to appear

        **$setupactLogPath = 'C:\$WINDOWS.~BT\Sources\Panther\setupact.log'**
        $maxDuration = New-TimeSpan -Hours 2
        $startTime = Get-Date

        LogMessage -message ("Started monitoring the upgrade process at $startTime")
        LogMessage -message ("Will wait for $maxDuration")

        while (-not (Test-Path $setupactLogPath)) {
            LogMessage -message ("Waiting for $setupactLogPath to appear...") -Type 1 -Component 'Upgrade'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions