best response confirmed by Deleted

@ittech  - I assume you're running it with elevated permissions, of course. Next question is what account are you running it with and does that account have access to the share and the file you're trying to apply? What happens if you copy the file locally first - same error or something different?