# Automatically copying plugins on Visual Studio?

**URL:** <https://forum.juce.com/t/automatically-copying-plugins-on-visual-studio/66662>\
**Category:** Audio Plugins\
**Created:** [July 22, 2025, 1:21am UTC](https://forum.juce.com/t/automatically-copying-plugins-on-visual-studio/66662 "2025-07-22T01:21:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![noddy-oer](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/noddy-oer/32/20900_2.png) [@noddy-oer](https://forum.juce.com/u/noddy-oer)\
**Post date:** [July 22, 2025, 1:21am UTC](https://forum.juce.com/t/automatically-copying-plugins-on-visual-studio/66662/1 "2025-07-22T01:21:56Z")

</div>

Is there any way of setting up a Visual Studio project on Windows in such a way that after building your plugin, it will copy it to the proper location?

I’ve tried the trivial approach of adding copy commands to the post-build event, but it doesn’t seem to actually do anything.

```auto
cmd.exe /k copy /y "$(OutDir)\$(TargetName)_VST3.vst3" "C:\Program Files\Common Files\VST3"

```

Any suggestions greatly appreciated, thanks!

---

<div class="post-metadata">

**Author:** ![KMSonnox](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KMSonnox](https://forum.juce.com/u/KMSonnox)\
**Post date:** [July 22, 2025, 7:01am UTC](https://forum.juce.com/t/automatically-copying-plugins-on-visual-studio/66662/2 "2025-07-22T07:01:37Z")

</div>

If you are using the Projucer there is ‘Enable Plugin Copy Step’ in the debug and release configs & there is `JUCE_COPY_PLUGIN_AFTER_BUILD` for cmake (Never used the later tbh).

---

<div class="post-metadata">

**Author:** ![xenakios](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/xenakios/32/4047_2.png) [@xenakios](https://forum.juce.com/u/xenakios)\
**Post date:** [July 22, 2025, 10:22am UTC](https://forum.juce.com/t/automatically-copying-plugins-on-visual-studio/66662/3 "2025-07-22T10:22:56Z")

</div>

Have you set the permissions to modify the “C:\Program Files\Common Files\VST3” folder? By default, users and user programs can’t modify it. (That’s why the plugin copy step is disabled by default in the Projucer.)

---

<div class="post-metadata">

**Author:** ![noddy-oer](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/noddy-oer/32/20900_2.png) [@noddy-oer](https://forum.juce.com/u/noddy-oer)\
**Post date:** [July 22, 2025, 11:20am UTC](https://forum.juce.com/t/automatically-copying-plugins-on-visual-studio/66662/4 "2025-07-22T11:20:25Z")

</div>

I did not think of that. Thank you!
