FRacine

Results 22 comments of FRacine

I will backtrack to 3.9.3 until it is resolve but if I may help then I will be happy.

Was someone able to reproduce the issue?

> I put these commands in a deployment script and ran it as system via SCCM: > > ```postscript > Execute-ProcessAsUser -Path 'C:\Windows\Notepad.exe' > Set-ActiveSetup -Key 'PSADT_Test' -Version '1,0' -StubExePath...

It is a lot easier working with psexec -s -i cmd.exe At this point you are in system with session 0. This is the most important as in session 0,...

> @FRacine I have a branch here with proposed fixes, I'd be grateful if you could give it a test! > > https://github.com/PSAppDeployToolkit/PSAppDeployToolkit/tree/DanGough/issue999 I confirm it is working. What did...

I believe it is not sccm but the way it is launch. With SCCM it is not interactive and running in session 0. So I would believe, it is using...

> I can't speak for OP, but the issue I am describing is specifically SCCM running powershell -File install-script.ps1, there's no scheduled task involved. And as reported, the checkbox in...

> If one uses `Execute-ProcessAsUser` then PSADT will use Task Scheduler to run a script as the user. And the functions `Show-BalloonTip` and `Set-ActiveSetup` do indeed make use of that...

> > I believe it is not sccm but the way it is launch. With SCCM it is not interactive and running in session 0. So I would believe, it...

Actually, we are setting that variable to another folder. So it will still be possible