PSAppDeployToolkit 4.2.0 is not yet generally available. The first release candidate, 4.2.0 RC1, was published on August 20, 2026, and the second, 4.2.0 RC2, on October 1, 2026. Both are marked as pre-releases on GitHub. The latest stable release is still 4.1.8 from January 14, 2026. The project has not published a GA date; both RC announcements invite early adopters to keep testing "before we hit general availability". Everything below describes the RC2 state. Behaviour can still change before the final release, and the article will be revised when 4.2.0 ships.
The sources are the RC1 and RC2 release notes, the upgrade guidance from v4.1 to v4.2, which the docs site itself labels as unreleased 4.2.x documentation, and the module source at the 4.2.0-rc2 tag where the release notes leave a mechanism open. The scope is narrow on purpose: changes that affect a wrapper already in production, built on the 4.0 or 4.1 template and deployed through Configuration Manager or Intune. New features appear only where they change the migration. The wrapper anatomy itself is covered in the PSADT 4 package walkthrough and the ConfigMgr integration in PSADT 4 Application Deployment in ConfigMgr.
Where 4.2 Stands on 2026-11-19
| Version | Published | GitHub status |
|---|---|---|
| 4.1.8 | 2026-01-14 | Latest (stable) |
| 4.2.0 RC1 | 2026-08-20 | Pre-release |
| 4.2.0 RC2 | 2026-10-01 | Pre-release |
The GitHub releases/latest endpoint still resolves to 4.1.8, and no tag newer than 4.2.0-rc2 exists. The RC builds are available as release assets on GitHub (module-only, v3 template, v4 template, and a separate v4 ZeroConfig template) and from the PowerShell Gallery through Install-Module -Name PSAppDeployToolkit -Scope CurrentUser -AllowPreRelease, as stated in the RC2 announcement.
/docs/ paths, with a banner that marks them as unreleased. The 4.1.x reference lives under /docs/4.1.x/. A function page opened from a search result may therefore describe RC behaviour rather than the version in production.
The Upgrade Model: Module Swap or New Template
The upgrade guide states the basic path in one sentence: an existing package can be upgraded "simply by replacing the PSAppDeployToolkit folder with the latest version of the module". The 4.1 template keeps working. The guide says explicitly that there is "no forced requirement" to migrate wrappers to the new template format.
Two details make the module swap work. The 4.1.8 template imports the module with a module specification that carries ModuleVersion = '4.1.8', and in a PowerShell module specification ModuleVersion is a minimum acceptable version, so a 4.2.0 module satisfies it. And the 4.1 template records its own version in $adtSession (DeployAppScriptVersion = '4.1.8' in the latest release), which 4.2 uses to keep one of its breaking changes away from older wrappers (see the DeployMode section below).
The new default template is a substantial rewrite. The upgrade guide lists the differences:
| 4.1 template | 4.2 template |
|---|---|
TerminalServerMode and DisableLogging script parameters | Removed from the template |
RequireAdmin = $true in $adtSession | Removed; can be added back manually |
InstallName / InstallTitle placeholders | Removed; the toolkit generates both from AppName and related fields |
| ZeroConfig MSI code inside the default template | Separate ZeroConfig template, or New-ADTTemplate -ZeroConfig |
Install phases as functions (Install-ADTDeployment and so on) | Install phases as scriptblock variables (New-Variable -Name Pre-Install -Value { ... }) |
The removals affect the template, not the module. The RC2 source of Open-ADTSession still accepts -TerminalServerMode, -DisableLogging and -RequireAdmin. A packager who moves to the new template and relied on RequireAdmin = $true as an elevation guard has to add the property back to $adtSession explicitly. The guide does not say this, but the consequence follows from the removal: a 4.2-template package that is accidentally launched without elevation no longer stops at session start because of that property.
Tip: For a production estate, the module swap is the smaller change. Moving to the new template is a rewrite of every phase block and belongs in the normal package revision cycle, one application at a time, rather than in a bulk upgrade.
Behaviour Changes With Direct Deployment Impact
DeployMode Auto now goes silent when no processes are defined
In 4.1, the default DeployMode of Auto switches to a silent installation when none of the processes in AppProcessesToClose are running, but only when processes are defined at all. In 4.2, Auto switches to silent even if no processes are defined. A package with an empty AppProcessesToClose list that showed a welcome dialog, a progress window and a completion prompt under 4.1 runs without any of them under 4.2.
The upgrade guide limits the change: it "will only apply if DeployAppScriptVersion is unset or >= 4.2.0". The RC2 session code implements exactly that condition, and it logs which branch it took. A 4.1 wrapper running on the 4.2 module logs No processes were specified as requiring closure, not adjusting DeployMode as DeployAppScriptVersion is less than [4.2.0]. A wrapper built from the 4.2 template logs No processes were specified as requiring closure, changing deployment mode to [Silent]. Both lines are useful markers when reading test logs.
The opt-out is the same session property as before:
$adtSession = @{
AppVendor = 'Contoso'
AppName = 'Example App'
AppVersion = '1.0'
AppProcessesToClose = @()
# Keep dialogs in Auto mode although no processes are listed.
NoProcessDetection = $true
DeployAppScriptFriendlyName = $MyInvocation.MyCommand.Name
DeployAppScriptParameters = $PSBoundParameters
DeployAppScriptVersion = '4.2.0'
}The change only touches Auto. The RC2 code skips the adjustment when the deployment mode "was explicitly set", and the Open-ADTSession help text scopes NoProcessDetection to "when DeployMode is not specified or is Auto". ConfigMgr deployment types that pass -DeployMode Interactive or -DeployMode Silent on the command line, as the command lines in the ConfigMgr deployment article do, are not affected. Deployment types that omit -DeployMode, and the Invoke-AppDeployToolkit.exe call without arguments, are affected as soon as the wrapper declares DeployAppScriptVersion = '4.2.0'.
For Intune, the change points the same way as the platform. The Win32 app documentation states that Intune "does not support interactive application installations" and that forcing interaction through tools such as serviceui.exe is unsupported. A 4.2-template wrapper with no processes defined now arrives at a silent installation without any extra configuration.
The restart prompt no longer appears in NonInteractive mode without -Force
RC2 changes Show-ADTInstallationRestartPrompt in several ways at once. The breaking part, in the words of the release notes: the prompt "is no longer displayed when the DeployMode is NonInteractive unless -Force is specified, consistent with Show-ADTInstallationPrompt". In the RC2 source the check uses the session's non-interactive flag, which is also set in Silent mode. Without -Force the function either skips the restart or, when -AllowSilentRestart is present, schedules a silent restart for the moment the session closes.
The same release renames the parameters. The old names remain as aliases, so existing calls keep binding:
| 4.1 parameter | 4.2 RC2 parameter |
|---|---|
-CountdownSeconds | -InteractiveCountdown (TimeSpan, or integer seconds) |
-CountdownNoHideSeconds | -InteractiveCountdownNoHide |
-NoCountdown | -NoInteractiveCountdown |
-SilentRestart | -AllowSilentRestart |
-SilentCountdownSeconds | -SilentCountdown |
-CustomText | -CustomMessage |
New in RC1 or RC2 are -AllowCancel, -CustomMessageText, -PersistPrompt, -ShutdownReasonText, -NoForceCloseApps (omits the /f switch on the underlying shutdown.exe call) and -Force. The default countdowns move into config.psd1 as RestartPromptInteractiveCountdown, RestartPromptInteractiveCountdownNoHide and RestartPromptSilentCountdown. The RC2 help text contains two examples:
# 600-second countdown; the dialog cannot be hidden during the last 60 seconds.
Show-ADTInstallationRestartPrompt -InteractiveCountdown 600 -InteractiveCountdownNoHide 60
# Silent restart if nobody is logged on; otherwise show the prompt regardless of DeployMode.
Show-ADTInstallationRestartPrompt -AllowSilentRestart -ForceOne further difference is visible only in the source. The RC2 description says that restarting without showing the prompt "only ever happens when -AllowSilentRestart is specified". In 4.1.8, the function triggered a silent restart whenever no user was logged on, provided the session was not in Silent mode. Under RC2, the same call without -AllowSilentRestart logs Skipping restart because there is no active user logged onto the system and [-AllowSilentRestart] was not specified. and returns.
The change interacts with the deployment engine's reboot handling. A wrapper that calls the restart prompt usually also returns a reboot code to the deployment engine. In ConfigMgr, the Script Installer deployment type maps 3010 to Soft Reboot and 1641 to Hard Reboot by default (Create applications). In Intune, the Determine behavior based on return codes restart option triggers an immediate restart on a hard-reboot code and a notification on a soft-reboot code. Where the wrapper's own prompt now disappears in NonInteractive or Silent mode, the engine's reboot handling becomes the only restart path. That is acceptable as long as the return codes are mapped deliberately. The new Open-ADTSession -ExitWithMsiCodes switch (RC1) supports this design: according to its help text, the session then "will always exit with 0 upon success and 3010 upon reboot required so Intune/ConfigMgr requires no specific adjustment".
32-bit PowerShell on a 64-bit OS now stops the session
4.2 throws by default when the session opens in 32-bit PowerShell on a 64-bit operating system. The message, identical in the upgrade guide and in the RC2 source, is: The current PowerShell process is 32-bit on a 64-bit operating system. Please run the deployment script in a 64-bit PowerShell process. The guide gives the reason: such a launch is usually unintended and "can result in files and registry entries being written to the wrong place". The opt-out is AllowWowProcess = $true in $adtSession.
Both the 4.1.8 and the 4.2 template wrap the module import and Open-ADTSession in a try block whose catch writes the error to standard error and ends with exit 60008. A wrapper that trips the new check therefore returns 60008 to the deployment engine, and none of the install phases run.
Intune is where this check is most likely to trigger. The Win32 app documentation states that "calling powershell.exe in either of these fields will result in a 32-bit Powershell instance being launched" and gives %SystemRoot%\Sysnative\WindowsPowerShell\v1.0\powershell.exe as the way to force 64-bit execution. An install command of the form powershell.exe -ExecutionPolicy Bypass -File Invoke-AppDeployToolkit.ps1 worked under 4.1 and fails under 4.2. The upgrade guide offers two fixes: call PowerShell from SysNative, or use the Invoke-AppDeployToolkit.exe launcher, "which will ensure the correct PowerShell host is used".
Install command (Intune Win32 app, command line installer type):
Invoke-AppDeployToolkit.exe -DeploymentType Install -DeployMode Silent
Alternative when the .ps1 must be called directly:
%SystemRoot%\Sysnative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File Invoke-AppDeployToolkit.ps1 -DeploymentType Install -DeployMode SilentThe same applies to Intune's PowerShell script installer when its runAs32Bit property is set and the script asset runs the wrapper in-process. In ConfigMgr, the risk sits in the deployment type option Run installation and uninstall program as 32-bit process on 64-bit clients, which Microsoft Learn describes as using "the 32-bit file and registry locations". Deployment types that enable this option for a PSADT wrapper need either AllowWowProcess = $true or the option turned off. The RC2 source of Open-ADTSession also sets AllowWowProcess automatically when the parent process command line contains /32; the code comment describes this as the case where "the caller is our executable with /32 specified".
Get-ADTApplication and Uninstall-ADTApplication ignore hidden entries
Get-ADTApplication now ignores uninstall entries marked as system components unless -Force is specified. Uninstall-ADTApplication ignores system components and entries with NoRemove = 1 unless -Force is specified. The release notes compare this to how Get-Item and Remove-Item treat hidden and read-only files.
In the RC2 source, the SystemComponent filter applies before any name or product-code matching, so a lookup with -ProductCode is affected as well. Uninstall-ADTApplication logs a warning for each skipped entry, for example Skipping uninstallation of application [...] as it's flagged as [SystemComponent] and [-Force] has not been specified. The -Force parameter exists only from 4.2 on. A wrapper that adds it no longer runs on a 4.1 module, so the module swap and the code change have to go out together.
# Example: remove previous versions, including entries flagged SystemComponent or NoRemove.
Uninstall-ADTApplication -Name 'Example App' -ApplicationType 'MSI' -ForceThis change can break a wrapper without any error. A Pre-Install block that removes an older version through Uninstall-ADTApplication -Name ... completes successfully and leaves the old version in place, because the inner entry was hidden. A custom check that calls Get-ADTApplication returns nothing and lets the wrapper take the "not installed" path. The ConfigMgr and Intune detection rules are not affected because the engines evaluate them on their own. Wrapper logic that runs before or after the installer is affected.
Copy-ADTContentToCache resets the destination on every run
Copy-ADTContentToCache exists for engines that do not provide a managed content cache. Its own help text names Intune as the case and ConfigMgr as the engine that already has one. RC1 adds administrator permissions on the shared cache and a separate cache location for non-admins (CachePathNoAdminRights). The RC2 help text and source describe three behaviours in more detail than the release notes:
- The destination folder is erased and recreated on each run, "so that stale or maliciously planted content cannot be picked up".
- A destination equal to the root cache folder (
(Get-ADTConfig).Toolkit.CachePath) is rejected with the error IDCachePathIsRootDirectory. A per-package subfolder is required. The default destination is the root cache path plus the session'sInstallName. - When the caller has admin rights, the root cache folder's owner is reset to the Administrators group and its permissions are reset to inherit from the parent.
Wrappers that call the function without -LiteralPath keep working. Wrappers that pass a custom path equal to the configured CachePath now fail. A custom cache path that several packages share as a single folder has to be split, because each run deletes the content of the previous one.
Show-ADTInstallationPrompt -SecureInput returns a SecureString
This change only affects packages written against RC1, because -SecureInput is new in 4.2. Since RC2, the result is a SecureInputDialogResult object whose Text property is a SecureString instead of a plain string. The open GitHub issue #2369 asks for the RC1 behaviour as an option. The same applies to Initialize-ADTModuleIfUninitialized, added in RC1 and removed again in RC2.
Removed Functions, Parameters and Variables
The upgrade guide lists these items under "Deprecated". For the functions, the RC2 module manifest settles the question: neither Get-ADTEnvironment nor Get-ADTUniversalDate is exported any more, so a call fails with a command-not-found error. The parameters are documented as "removed" in the release notes.
| Item | Replacement |
|---|---|
Get-ADTEnvironment | Get-ADTEnvironmentTable (named in the 4.1.8 help text) |
Get-ADTUniversalDate | None documented; the 4.1.8 log message asks for a GitHub case if the function is still needed |
Invoke-ADTCommandWithRetries -SleepSeconds | -SleepDuration |
Send-ADTKeys -WaitSeconds | -WaitDuration |
Show-ADTInstallationWelcome -NoMinimizeWindows | None needed; minimising other windows is opt-in through -MinimizeWindows in 4.1 and 4.2 |
Update-ADTEnvironmentPsProvider -LoadLoggedOnUserEnvironmentVariables | None documented |
Variables $MachineDomainController, $envOS, $envOSServicePack, $envPSVersionBuildLabel, $envPSVersionPreReleaseLabel, $envPSVersionSemantic, $ProcessNTAccountSID | None documented |
4.1.8 already warns about most of these at run time. Its log lines contain the phrase will be removed in PSAppDeployToolkit 4.2.0, for example The parameter [-WaitSeconds] is obsolete and will be removed in PSAppDeployToolkit 4.2.0. Please use [-WaitDuration] instead. Searching existing 4.1.8 deployment logs for that phrase is a cheap first inventory. A source scan of the package repository finds the rest, including the removed variables. The following example uses only built-in cmdlets. The repository path is a placeholder:
# Example: scan PSADT wrappers and extensions for items removed in 4.2.
$patterns = @(
'Get-ADTEnvironment\b', 'Get-ADTUniversalDate',
'-SleepSeconds', '-WaitSeconds', '-NoMinimizeWindows', '-LoadLoggedOnUserEnvironmentVariables',
'\$MachineDomainController', '\$envOS\b', '\$envOSServicePack',
'\$envPSVersionBuildLabel', '\$envPSVersionPreReleaseLabel', '\$envPSVersionSemantic',
'\$ProcessNTAccountSID',
'Uninstall-ADTApplication', 'Get-ADTApplication', 'Show-ADTInstallationRestartPrompt',
'Copy-ADTContentToCache'
)
Get-ChildItem -Path 'D:\Packages' -Recurse -Include 'Invoke-AppDeployToolkit.ps1', '*.psm1' |
Select-String -Pattern $patterns |
Select-Object -Property Path, LineNumber, LineThe last four patterns do not find removed items. They mark call sites whose behaviour changes in 4.2 and which need a review, as described in the previous section.
Config, Strings and Group Policy
RC1 and RC2 add the following keys. The upgrade guide lists the same set.
| File | Section | New keys |
|---|---|---|
config.psd1 | Assets | TaskbarIcon |
config.psd1 | Toolkit | CachePathNoAdminRights, LogMaxHierarchy, PathsBasedOnSystemContext |
config.psd1 | UI | FluentAccentColorDark, RestartPromptInteractiveCountdown, RestartPromptInteractiveCountdownNoHide, RestartPromptSilentCountdown |
strings.psd1 | ListSelectionPrompt | ListSelectionMessage |
strings.psd1 | RestartPrompt | ButtonCancel |
Packages that carry a customised Config\config.psd1 or Strings\strings.psd1 from 4.1 should be compared against the files in the 4.2 template, so that the new keys exist with deliberate values.
PathsBasedOnSystemContext matters for Intune user-context installations. The *NoAdminRights paths (log, temp, registry, cache) are the user-writable alternatives to the machine-wide defaults. The release notes describe the existing rule as applying them "whenever the caller isn't an admin". With the new option, they apply whenever the caller is not LocalSystem. Microsoft documents that a Win32 app set to install in user context still runs "under admin privilege" when the signed-in user is a local administrator. Under the 4.1 logic, such an installation writes to the machine-wide paths. The RC2 notes do not state a default value for the option, so it should be read from the config.psd1 that ships with the downloaded template.
Version-specific policy keys
RC2 introduces version-specific Group Policy keys under HKLM\SOFTWARE\Policies\PSAppDeployToolkit\4.2, so that "4.2-only settings such as Base64 assets don't break 4.0/4.1 deployments on the same device". The updated ADMX file writes the 4.2-only settings (Logo, LogoDark and Banner in their 4.2 variants, TaskbarIcon, CachePathNoAdminRights, LogMaxHierarchy, PathsBasedOnSystemContext, FluentAccentColorDark and the three restart countdowns) under the 4.2 key. The settings shared with 4.0 and 4.1 remain under the unversioned Config path.
HKLM\SOFTWARE\Policies\PSAppDeployToolkit\Config\<Section> read by 4.0, 4.1 and 4.2
HKLM\SOFTWARE\Policies\PSAppDeployToolkit\4.2\Config\<Section> read by 4.2 and later onlyAccording to the RC2 source, the module reads the unversioned key first and then every versioned subkey whose name is a version not newer than the module itself, from oldest to newest. Later layers win. The 4.0/4.1 policy path stays the unversioned one, which is how the RC2 notes keep 4.2-only values away from older deployments. The release notes add that empty policy values can now clear values set in a deployment's config. In practice:
- Estates that brand PSADT dialogs through Group Policy need the RC2 ADMX/ADML files in the Central Store before 4.2 packages arrive. Base64-encoded logos go into the 4.2 policies only, which keeps 4.1 packages on the same device working.
- During a mixed period, the unversioned key remains the common baseline. Settings that differ between versions belong in the versioned key.
UI: Fluence Replaces iNKORE
RC1 replaces the iNKORE WPF library with Fluence, maintained by PSADT founder Dan Cunningham. The release notes list it as a library replacement and document no change to the dialog functions' calling conventions because of it. Every dialog is nonetheless rendered by different code. Related additions: a separate dark-mode accent colour (FluentAccentColorDark), assets as Base64 strings, a fallback to the default image when an asset is missing, a tray notification icon for balloon tips and toasts, and UIAccess "to allow the UI to overlay the Autopilot setup screen".
For a branded estate, this means a visual regression test of every dialog type in use, in both light and dark mode. The RC2 notes list a fix for accent colours not applied from config.psd1 (issue #2315); a follow-up report on RC2 (#2368) is still open.
PowerShell and Platform Requirements
No change to the PowerShell requirement is documented for 4.2. The module manifest declares PowerShellVersion = '5.1.14393.0' and CLRVersion = '4.0.30319.42000' in both 4.1.8 and RC2. The current requirements page for 4.1.x states support for Windows PowerShell 5.1 and PowerShell 7.4+ and requires .NET Framework 4.7.2 or later. The 4.2 development docs do not yet publish a separate requirements page. Until they do, the 4.1.x statement is the only documented baseline.
One platform change goes the other way: RC1 removes all WMI dependencies, "so the toolkit can run on devices with WMI corruption". For devices where earlier versions failed during environment initialisation because of a broken WMI repository, this is a fix, not a new requirement.
Migration Checklist
The checklist assumes a 4.1 wrapper in production and a module swap as the first step. It applies to RC2 testing now and to the GA release later, re-checked against the final release notes.
- Inventory. Run the source scan above over the package repository, and search recent 4.1.8 logs for
will be removed in PSAppDeployToolkit 4.2.0. - Replace removed items.
Get-ADTEnvironmentbecomesGet-ADTEnvironmentTable,-SleepSecondsbecomes-SleepDuration,-WaitSecondsbecomes-WaitDuration. Delete-NoMinimizeWindows. Rewrite uses of the removed variables. - Check the launch path. Every Intune command line that calls
powershell.exedirectly, every ConfigMgr deployment type with the 32-bit option enabled, and every script installer withrunAs32Biteither moves toInvoke-AppDeployToolkit.exeorSysnative, or setsAllowWowProcess = $truewith a documented reason. - Review uninstall and lookup logic. Decide for each
Get-ADTApplicationandUninstall-ADTApplicationcall whether hidden orNoRemoveentries must be included. Add-Forceonly together with the 4.2 module. - Review restart handling. List every
Show-ADTInstallationRestartPromptcall. Decide whether the prompt must appear in NonInteractive mode (-Force) and whether an unattended restart is wanted (-AllowSilentRestart). Align the result with the return-code mapping in ConfigMgr and Intune, or adopt-ExitWithMsiCodes. - Decide the DeployMode posture. Keep
DeployAppScriptVersionat the 4.1 value while only the module is swapped. When a package moves to the 4.2 template, either pass-DeployModeexplicitly or setNoProcessDetection = $truewhere dialogs are intended without processes to close. - Merge config and strings. Bring customised
config.psd1andstrings.psd1files up to the 4.2 key set and setPathsBasedOnSystemContextdeliberately. - Update Group Policy. Import the RC2 ADMX/ADML into a test Central Store and move 4.2-only branding into the
4.2policies. - Check caching. Verify that every
Copy-ADTContentToCache -LiteralPathcall targets a per-package subfolder. - Re-sign. A changed wrapper script, or a launcher taken from the 4.2 template, goes through the same code-signing step as before (see the walkthrough). The upgrade guide names only the
PSAppDeployToolkitfolder as the part to replace; it does not say whether the 4.1 launcher should be replaced as well.
What to Test in ConfigMgr
The following cases follow from the documented changes. They are a test plan, not results. No lab run against RC2 is reported in this article.
- Install for system, whether or not a user is logged on. Once with a user signed in and once without. Check in the PSADT log which DeployMode was chosen and whether the line about
DeployAppScriptVersionmatches the template generation of the package. - Deployment types without
-DeployMode. Compare the dialog behaviour of 4.1 and 4.2 wrappers with an emptyAppProcessesToClose. - The 32-bit option. One deployment type with Run installation and uninstall program as 32-bit process on 64-bit clients enabled, to confirm that the failure surfaces as
60008inAppEnforce.logand in the deployment status, so the help desk recognises the pattern. - Reboot paths. A package returning
3010and one returning1641, each with and without a restart prompt in the wrapper, against the Determine behavior based on return codes setting. - Task sequences. An application installed during OSD. The toolkit logs when it detects a ConfigMgr task sequence; the test checks that no dialog appears.
ProcessInteractivityDetectionis documented as the setting "mostly for ConfigMgr users who want silent deployments during Task Sequences, but interactive at other times". - Uninstall of previous versions. Every package whose Pre-Install removes an older release, checked for the
Skipping uninstallation ... [SystemComponent]warning.
What to Test in Intune
- Install command. Every Win32 app whose install or uninstall command starts with
powershell.exe; expected result under 4.2 without changes: exit code60008. - Script installer. Script assets with
runAs32Bitenabled that run the wrapper directly. Layout B from the script installer article callsInvoke-AppDeployToolkit.exeand should be unaffected; this is worth confirming. - User-context apps. Installation as a standard user and as a local-administrator user, comparing log and registry locations with and without
PathsBasedOnSystemContext. - Autopilot / ESP. A required app while OOBE is still incomplete and one during the ESP user account setup phase. In
Automode, the RC2 session code switches to NonInteractive in both cases unlessNoOobeDetectionis set; the RC1 UIAccess change affects how dialogs are drawn over the setup screen. - Content caching. Packages that use
Copy-ADTContentToCache, run twice in a row, confirming that the second run recreates the cache and that the cleanup in the uninstall phase still points at the right folder. - Restart behaviour. Apps with Determine behavior based on return codes, where the wrapper used to show its own prompt: verify that the user sees only one restart path.
Open RC2 Reports Worth Watching
The following GitHub issues were open on 2026-11-19. They are user reports, not confirmed defects, and are listed only because they touch the test areas above:
- #2395: the restart dialog becomes unresponsive after Restart now and the device does not restart (Fluent and Classic UI). Status: needs triage.
- #2402:
.ocxregistration throughRegister-ADTDllworks in 4.1.8 but not in RC2. Status: needs triage. - #2371: a second
Import-Module -Forceof the PowerShell Gallery build fails in the same session. - #2368: accent colours from
config.psd1not applied in RC2.
Recommendation
Estates running 4.1.8 in production. 4.1.8 remains the supported line until 4.2.0 is released. RC2 belongs in a test collection or a pilot group, not in production rings. Steps 1 to 3 of the checklist are worth doing now, on 4.1.8, because they are valid in both versions: replacing removed functions and parameters, and fixing 32-bit launch paths, changes nothing on 4.1.8 and removes the largest breaks before GA.
Intune-first estates. The 32-bit check is the most probable break and the easiest to find: every command line that starts with powershell.exe is a candidate. Those command lines should move to Invoke-AppDeployToolkit.exe before any 4.2 module is distributed.
ConfigMgr estates with interactive deployments. Explicit -DeployMode on the deployment type command line keeps the Auto change out of the picture. The remaining risk is restart handling and uninstall logic, both of which need a deliberate review per package.
Rule of thumb: As of RC2, a 4.1 wrapper survives a module swap to 4.2 if it runs in 64-bit PowerShell, uses none of the removed commands, and has been checked for hidden-entry uninstalls and restart prompts. Moving to the new template is a separate decision, made per package when it is next revised.
Sources: PSAppDeployToolkit 4.2.0 RC1 release notes — GitHub, PSAppDeployToolkit 4.2.0 RC2 release notes — GitHub, PSAppDeployToolkit 4.1.8 release — GitHub, How to upgrade from v4.1 to v4.2 — PSAppDeployToolkit docs (4.2.x dev), PSADT v4.2.0 RC1 is now available — PSAppDeployToolkit blog, PSADT v4.2.0 RC2 is now available — PSAppDeployToolkit blog, ADTSession object — PSAppDeployToolkit docs (4.2.x dev), Requirements — PSAppDeployToolkit docs (4.1.x), source at tag 4.2.0-rc2 (DeploymentSession.cs, Open-ADTSession.ps1, Show-ADTInstallationRestartPrompt.ps1, Get-ADTApplication.ps1, Uninstall-ADTApplication.ps1, Copy-ADTContentToCache.ps1, Show-ADTInstallationPrompt.ps1, Import-ADTModuleDataFile.ps1, PSAppDeployToolkit.psd1, PSAppDeployToolkit.admx, v4 template) and tag 4.1.8 for comparison, Add and assign Win32 apps to Microsoft Intune — Microsoft Learn, Create applications — Configuration Manager, Microsoft Learn, Import-Module — Microsoft Learn. Community reports: GitHub issues #2368, #2369, #2371, #2395, #2402. All version numbers, dates, function and parameter names, log messages, registry paths and exit codes verified against the release notes, documentation and tagged source linked above. Behaviour described from source is labelled as such; no lab test against RC2 is claimed. Release status (RC2 latest pre-release, 4.1.8 latest stable, no GA date announced) as of 2026-11-19.