Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: CloseAppsCountdown ignoring remaining Deferrals

$
0
0
Problem seems to be in function Show-WelcomePrompt, line 4789:
        ## If deferral is being shown and 'close apps countdown' or 'persist prompt' was specified, enable those features.
        If ($showDefer) {
            If ($closeAppsCountdown -gt 0) {
                Write-Log -Message "Close applications countdown has [$closeAppsCountdown] seconds remaining." -Source ${CmdletName}
                $showCountdown = $true
            }
            If ($persistPrompt) { $persistWindow = $true }
        }
This should be "if deferral is NOT being shown" and separate from $persistPrompt I think. I changed it to:
        If (!($showDefer)) {
            If ($closeAppsCountdown -gt 0) {
                Write-Log -Message "Close applications countdown has [$closeAppsCountdown] seconds remaining." -Source ${CmdletName}
                $showCountdown = $true
            }
        }
        If ($showDefer) {
            If ($persistPrompt) { $persistWindow = $true }
        }
and that seems to be behaving

Viewing all articles
Browse latest Browse all 1769

Latest Images

Trending Articles



Latest Images