Hey,
today a was wondering about and error when using psadt 4.1.5...
Logged on with User Name "A" no admin rights.
Run the a standard packages installation by hand, with an other user "B-adm" with admin right.
The installations starts, run throu all the parts fine, but at the end....
Right after: [Install] :: Refreshing the Desktop and the Windows Explorer environment process block.
[Install] :: An unhandled error within [Invoke-AppDeployToolkit.ps1] has occurred.
Error Record:
-------------
Message : Could not find a valid logged on user session for [TEST\B-adm].
FullyQualifiedErrorId : NoActiveUserError,Start-ADTMsiProcess
ScriptStackTrace : bei Start-ADTProcessAsUser<Process>, C:\_Data\_Packages\Test-PSADT-Bilder\PSAppDeployToolkit\PSAppDeployToolkit.psm1: Zeile 22714
bei Private:Invoke-ADTClientServerOperation, C:\_Data\_Packages\Test-PSADT-Bilder\PSAppDeployToolkit\PSAppDeployToolkit.psm1: Zeile 1435
bei Update-ADTDesktop<Process>, C:\_Data\_Packages\Test-PSADT-Bilder\PSAppDeployToolkit\PSAppDeployToolkit.psm1: Zeile 25016
bei Start-ADTMsiProcess<Process>, C:\_Data\_Packages\Test-PSADT-Bilder\PSAppDeployToolkit\PSAppDeployToolkit.psm1: Zeile 20722
bei Install-ADTDeployment, C:\_Data\_Packages\Test-PSADT-Bilder\Invoke-AppDeployToolkit.ps1: Zeile 147
bei <ScriptBlock>, C:\_Data\_Packages\Test-PSADT-Bilder\Invoke-AppDeployToolkit.ps1: Zeile 302
bei <ScriptBlock>, <Keine Datei>: Zeile 1
TargetObject : Value
-----
TEST\B-adm
PositionMessage : In C:\_Data\_Packages\Test-PSADT-Bilder\Invoke-AppDeployToolkit.ps1:147 Zeichen:5
+ Start-ADTMsiProcess -Action 'Install' -FilePath "$($adtSession.Di ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~