I have some dll files and OCX and 2 tlb files to copy into th syswow64 protected folder.

Falk, Richard 1 Reputation point
2022-10-11T19:15:04.657+00:00

I am trying to find a working batch or PS to copy files into the windows\syswow64 folder during MDT. All I get is access denied.
I know there's a method to take ownership of the folder, copy the files in and give ownership back to Trusted Installer.

However, is there a one-step method to copy updated files into the syswow64 folder?
One is an OCX which I can register silently but it's not the right one since I can't add anything to the folder.

Microsoft Security | Intune | Configuration Manager | Deployment
Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Simon Ren-MSFT 40,341 Reputation points Microsoft External Staff
    2022-10-12T07:57:25.8+00:00

    Hi,

    ==>However, is there a one-step method to copy updated files into the syswow64 folder?

    Per my experience, you can create an application, and use a batch file as the command for the application which has the multiple xcopy command within it. Similar threads for your reference:

    Best way to copy files in MDT
    Copy Files MDT
    Copying files from MDT deployment share to local computer

    Thanks for your time. Have a nice day!

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.