4 Replies Latest reply on Jul 24, 2006 3:08 PM by Mr Black

    remote boot locked server

    jleblond Level 1
      I've been trying to use the MS tool shutdown.exe to reboot a remote server. Works fine from command line, but when I put it in a cfexecute it does not. Blow is the cfexecute code and the results from the output file.

      Any suggestions?

      = = = = = = = = = Exceute Code = = = = = = =
      <CFSET thisPath= ExpandPath("*.*")>
      <CFSET thisDirectory= GetDirectoryFromPath(thisPath)>
      <cfexecute name="c:\cfusion\shutdown.exe" arguments="\\MyOtherServer /t:5 /r /c" outputfile = "#thisdirectory#output.txt"/>


      = = = = = = = = Results = = = = = = = = == = =
      Shutdown:\\webmail_1
      AdjustTokenPrivileges enable failed.