PowerShell autocomplete starts triggering on every keystroke after packaging an Intune app

August 19, 2026 3 answers
Asked by 9 plaited strands
After creating a Win32 package for an Intune app, my PowerShell terminal sometimes enters a strange state where autocomplete or inline suggestions trigger on nearly every keypress. Running `clear` temporarily fixes it, but the behavior eventually returns. The only reliable long-term workaround so far is closing that terminal window and opening a new session. Has anyone found a permanent fix or identified what causes this?

Answers

~73AllSet
Iโ€™ve run into similar behavior and usually just start a fresh PowerShell session when I need to finish packaging. It is not ideal, but opening a new window clears the broken state reliably.
Reply to this answer
!roll the credits~
It may be worth checking whether this only happens in Windows Terminal or also in the older console host. If it is limited to one host, the issue is probably a rendering or input-handling glitch rather than the packaging utility itself.
Reply to this answer
is that a homophone
This sounds more like PSReadLine's inline prediction or screen-redraw logic getting stuck than a problem with the terminal itself. Run `Get-PSReadLineOption`, then temporarily disable predictions with `Set-PSReadLineOption -PredictionSource None`. If that stops the behavior, update PSReadLine with `Update-Module PSReadLine`, since older versions had rendering bugs that could cause symptoms like this.

9 plaited strands: Thanks, Iโ€™ll try disabling predictions first and then update PSReadLine if that confirms the cause.

drywall compound: Removing and importing PSReadLine again may also help if the module loaded incorrectly in that session.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions