Prestart Menu needs to finish before PSD Wizard starts
The PSD Wizard will stop/hang if any of the prestart menu functions are running at the same time. It shoiuld work like this:
- Prestart menu starts
- Prestart menu stops/exit (could be be based on time)
- PSD Wizard starts
Indeed. If i wipe disk, i need to restart because the deployment wizard doesn't respond.
We are aware of this and working to fix this, the idea we have is that the prestart menu will show and then "go away" after x number of time, after it is gone, the Wizard starts. Will update as soon as we have something that works as expected, thank you for pointing this out.
I can take this task. Since the prestart menu is a module and is running in its own runspace, there is a -Wait we can add to the PSDStart.ps1
to this area
like this:
$PSDStartLoader = New-PSDStartLoaderPrestartMenu -Position $Position -OnTop -Wait
However, it doesn't count down like the fullscreen version does, you will have to click the close to contiune.
I can add a coutdown option if that is desired....
There are other issues, it does not kill the runspace completely, hindering the task sequence to correctly reboot, flip back to using text based “native” that works, we need to figure out the real issue
Skickat från Outlook för iOShttps://aka.ms/o0ukef
Från: PowerShellCrack @.> Skickat: Thursday, April 3, 2025 9:25:02 PM Till: FriendsOfMDT/PSD @.> Kopia: Mikael Nystrom @.>; Assign @.> Ämne: Re: [FriendsOfMDT/PSD] Prestart Menu needs to finish before PSD Wizard starts (Issue #228)
I can take this task. Since the prestart menu is a module and is running in its own runspace, there is a -Wait we can add to the PSDStart.ps1
to this area
image.png (view on web)https://github.com/user-attachments/assets/2cfc5485-fc58-4ed1-8b15-6b0e6ebfbaa7
like this:
$PSDStartLoader = New-PSDStartLoaderPrestartMenu -Position $Position -OnTop -Wait
However, it doesn't count down like the fullscreen version does, you will have to click the close to contiune.
image.png (view on web)https://github.com/user-attachments/assets/09cdac2d-590e-4a6e-9412-ea6fb527896c
I can add a coutdown option if that is desired....
— Reply to this email directly, view it on GitHubhttps://github.com/FriendsOfMDT/PSD/issues/228#issuecomment-2776725314, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADZWWO3Q34VKI5MDBPUPIOT2XWDI5AVCNFSM6AAAAABZ3LX7H2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG4ZDKMZRGQ. You are receiving this because you were assigned.Message ID: @.***>
[PowerShellCrack]PowerShellCrack left a comment (FriendsOfMDT/PSD#228)https://github.com/FriendsOfMDT/PSD/issues/228#issuecomment-2776725314
I can take this task. Since the prestart menu is a module and is running in its own runspace, there is a -Wait we can add to the PSDStart.ps1
to this area
image.png (view on web)https://github.com/user-attachments/assets/2cfc5485-fc58-4ed1-8b15-6b0e6ebfbaa7
like this:
$PSDStartLoader = New-PSDStartLoaderPrestartMenu -Position $Position -OnTop -Wait
However, it doesn't count down like the fullscreen version does, you will have to click the close to contiune.
image.png (view on web)https://github.com/user-attachments/assets/09cdac2d-590e-4a6e-9412-ea6fb527896c
I can add a coutdown option if that is desired....
— Reply to this email directly, view it on GitHubhttps://github.com/FriendsOfMDT/PSD/issues/228#issuecomment-2776725314, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADZWWO3Q34VKI5MDBPUPIOT2XWDI5AVCNFSM6AAAAABZ3LX7H2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG4ZDKMZRGQ. You are receiving this because you were assigned.Message ID: @.***>
I can take this task. Since the prestart menu is a module and is running in its own runspace, there is a -Wait we can add to the PSDStart.ps1
to this area
like this:
$PSDStartLoader = New-PSDStartLoaderPrestartMenu -Position $Position -OnTop -Wait However, it doesn't count down like the fullscreen version does, you will have to click the close to contiune.
I can add a coutdown option if that is desired....
It should work, and it kind of does, it will wait, sure, but it never restarts in the end, since there is "something" blocking it from doing so, right now, the only option is to not use the new prestart, instead, they need to flip to the "old", text based version, that works.