-
Notifications
You must be signed in to change notification settings - Fork 560
[Bug] Close-ADTSession not passing through 3010 in 4.0.4 #1221
Description
Prerequisites
- Ensure you write a short, descriptive title after [Bug] above.
- Make sure to search for any existing issues before filing a new one.
- Verify you are able to reproduce the issue with the latest released version
PSAppDeployToolkit version
4.0.4
Describe the bug
Close-ADTSession is not passing through 3010 in v4.0.4, this was working fine in 4.0.3
Steps to reproduce
v 4.0.4
1.insert close-adtsession 3010 in invoke-appdeploytoolkit.ps1
2.run invoke-appdeploytoolkit.exe -allowrebootpassthru from windows powershell or pwsh.exe
3.log should show
[Finalization] :: [PSAppDeployToolkit_4.0.4_EN_01] install completed with exit code [0]
v4.0.3
1.insert close-adtsession 3010 in invoke-appdeploytoolkit.ps1
2.run invoke-appdeploytoolkit.exe -allowrebootpassthru from windows powershell or pwsh.exe
3. log should show
[Finalization] :: A restart has been flagged as required. Close-ADTSession 12/30/2024 12:30:09 PM 10164 (0x27B4)
[Finalization] :: [PSAppDeployToolkit_4.0.3_EN_01] installation completed with exit code [3010]. Close-ADTSession 12/30/2024 12:30:09 PM 10164 (0x27B4)
Environment data
OsName : Microsoft Windows 11 Enterprise Insider Preview
OSDisplayVersion : Dev
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsProductName : Windows 10 Enterprise
WindowsBuildLabEx : 27723.1000.amd64fre.rs_prerelease.241004-1602
OsLanguage : en-US
OsMuiLanguages : {en-US}
KeyboardLayout : en-US
TimeZone : (UTC-05:00) Eastern Time (US & Canada)
HyperVisorPresent : True
CsPartOfDomain : True
CsPCSystemType : Desktop