I had the same issue and the solution was to use Admin Share (\\server\D$) for some reason even though i had full permissions on the share download had error code = 5 (access denied)
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.