Displaying 1 result from an estimated 1 matches for "scpath".
Did you mean:
  dcpath
  
2013 Feb 12
1
[SC] EnumQueryServicesStatus:OpenService FAILED 123
...quot;unless" we can avoid it. *
*Sound very simple, but for any reason, when instructions are called by 
puppet they are not working instead you call directly, same instructions, 
using DOS, where works sweet.*
*
*
*Here is part of the code:*
$cmd = "C:\\Windows\\System32\\cmd.exe"
$scPath = "C:\\Windows\\System32\\sc.exe"
$findPath = "C:\\Windows\\System32\\find.exe"
# Create Service
  exec{''Create Service nsc-devops'':
    command => "${cmd} /c \"${scPath} create nsc-devops binPath= 
\"C:\\NSClient++\\nsclient++.exe\" Di...