Why don't you just configure check the option in the Distribution package to "Run as user".
If you are 8.7, then you don't have that option, but you have the executable, STARTASUSER.EXE, and you can just create a batch file to call it.
Then you don't have to do the run at next login.
The reason I want to do it with the PSP and when the user logs into the system is, because the package has to be executed when he is logged in because of HKCU Keys, but we have about 300 employees and I never know when someone is at the office or not.
So i want to trigger the package, that it will be executed at the next login.
Do you know what i mean?
I haven't tested Run at next login in a while.
Did you say what version you are on?
I haven't tested this feature in a long time myself, so I have set it up and am testing on 8.8 SP3.
We will see what happens.
I tested it.
I created a package, used the install at next login delivery method.
It deployed the package with multicast and set it to run at next login.
I logged out and in.
It installed on login.
I wonder if your user doesn't have access to the package files or something.