[SOLVED] Managed Install: Can't copy file to system32
The software I'm deploying needs a certain .dll file to be copied to C:\Windows\system32\drivers\
I link my zipped folder with install.bat to the installation and...
It says "File was copied" in the cmd-window but in fact it was 'not' copied.
copy source destination
start /wait copy ...
added a timeout before the file gets copied ..
I've written a loop that checks if the file exists... "yeah it exists" it says .. but it doesn't.
Any ideas for a workaround?
Just realized that the kace agent is 32 bit and it gets copied to the syswow64 folder instead
im trying %windir%\Sysnative now, which seems to redirect to system32 for 32-bit-applications
can't see it anywhere but apparently only 32 bit apps see this folder..
got it to work.
here's the code:
COPY C:\windows\system32\DriverStore\FileRepository\xxx\xxx.dll C:\windows\sysnative\drivers\UMDF\xxx.dll