Deploying spark with PDQ deploy

Well, in my case i was doing it via GPO applied to User configuration and in that case it was running with user’s, who is logging in, rights, so it was properly working with %AppData% value. Unattended Spark installation (via shutdown script GPO)