# Exec node not working on windows server

**URL:** <https://discourse.nodered.org/t/exec-node-not-working-on-windows-server/28061>\
**Category:** General\
**Created:** [9 June 2020 13:28 UTC](https://discourse.nodered.org/t/exec-node-not-working-on-windows-server/28061 "2020-06-09T13:28:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdacruz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cdacruz/32/29482_2.png) [@cdacruz](https://discourse.nodered.org/u/cdacruz)\
**Post date:** [9 June 2020 13:28 UTC](https://discourse.nodered.org/t/exec-node-not-working-on-windows-server/28061/1 "2020-06-09T13:28:42Z")

</div>

Hi all,

I'm trying to use an exec node which works on a windows 10, but not on a windows server 2012.

The response is : Command failed: "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="D:\IISDATA\SITES\wwwroot\Meteo\_Vigilance\WinSCP.log" /ini=nul /script="D:\IISDATA\SITES \wwwroot\Meteo\_Vigilance\script.txt"

The command works on command-line with or without administrator privileges.

Does anyone have an idea ?

Thanks a lot.

.Christian

 ![Capture](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/5/45afa3bfdc24571178030cf4b577d188e32ef16d.png)

---

<div class="post-metadata">

**Author:** ![cdacruz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cdacruz/32/29482_2.png) [@cdacruz](https://discourse.nodered.org/u/cdacruz)\
**Post date:** [9 June 2020 13:40 UTC](https://discourse.nodered.org/t/exec-node-not-working-on-windows-server/28061/2 "2020-06-09T13:40:51Z")

</div>

Found could be close !!! My fault 😉

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 June 2020 13:40 UTC](https://discourse.nodered.org/t/exec-node-not-working-on-windows-server/28061/3 "2020-06-23T13:40:53Z")

</div>

Closed on 23 June 2020 13:40 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
