Hi there,
I am trying to figure out why the applications will not install. At first, I was wondering if the issue was that MDT was running powershell as user instead of admin but after testing, it has to be admin. I have three applications that will install one of which is google chrome. I ran my scripts in a normal powershell with logging and got an access denied log. I dont get the log if I run it in the admin powershell and it installs normally. All this proved to me was that if Chrome works in my mdt deployments, MDT was using admin.
With that in mind, I tested all my other scripts as admin in powershell and had no issues installing any of them. Everything works as it was intended to. However, once I ran my MDT session again, the same 9 applications failed to install stating access denied.
So I added logging to some of the install scripts for teams, zoom, etc and reran my deployment. Once again, the last 9 applications failed BUT they didnt create any logs in the log folder so that tells me MDT didnt even run the .msi files.
So next I enabled logging on MDT hoping that would give me any more information about the failed installs. Sadly, there was no more context there than in the recap that shows after MDT finishes, "Access is denied."
So from my testing, I think the scripts and the applications work just fine when called manually from the same computer I was just trying to deploy. I can navigate to the applications share on my deployment server, run the install scripts as ADMIN and it installs silently as it should. So for some reason, MDT cant access the folders that the 9 failing applications are in and I dont understand why.
Permissions for the Google chrome folder and .msi file are identical to everything else Im trying to install and the folders. Ive even gone so far as to hit "Full Control" on the entire deployment share and it still will not install! Even crazier is that every once in a while, it will install some of the 9 failing programs like zoom and teams but fail the rest with out me changing ANYTHING.
Its random and confusing and I really really dont understand what is going wrong. If anyone can shed some light or has had similar issues, please chime in. I could really use the support..