I'm having trouble running an .exe file as an admin from a UNC path while using Entra, as the access can't authenticate under the admin account since it's not the user making the request. Are there any workarounds or solutions to get this working?
3 Answers
Another option is to place the file in a location that the elevated user has access to. It might help you run it without permission issues.
The best approach is to determine what permissions you need to give non-admin users so that running as admin isn't necessary. If that doesn't work, you'll need to sync whatever admin user in Active Directory has access to the UNC path with Entra. Then, you can authenticate using that admin's UPN when you run it as admin. Unfortunately, there’s no other way around it for Entra joined devices—you have to use a local or Entra user.
Have you considered copying the file to a local drive? That might be the simplest way around the permissions issue.
Yeah, that's likely where I'll end up!

They do have access, but I'll need to use process monitor to figure out which USER or EXE can't read or write.