Hi, I´m new in puppet and iam trying just copy .bat file from pupet server (which works fine) and then run it. My code is: file { "c:\\install\\interactive\\install-silent.bat": source_permissions => ignore, content => template('interactive_9_4_7/install-silent.erb'), } exec { 'c:/install/interactive/install-silent.bat': require => [Exec["unzip_interactive_installer"], File[c:/install/interactive/install$ logoutput => true, } And I allways get this error: Error: c:/install/interactive/install-silent.bat returned 1 instead of one of [0] Error: /Stage[main]/Interactive_9_4_7/Exec[c:/install/interactive/install-silent.bat]/returns: change from notrun to 0 failed: c:/install/interactive/install-silent.bat returned 1 instead of one of [0] If I run copied file manualy, it works fine. Thanks for advice Martin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/74925386-dbf8-4038-99eb-0535d06b5661%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.