locked
psexec error code 0

    Question

  • I am running the psexec command which is running successfully but having an error 0 below

    C:\PsTools>psexec.exe \\qa-test-3 -u tpsonline\administrator -p ******** -c c:\
    script.cmd



    C:\WINDOWS\system32>net stop "ocs inventory service"
    .
    The OCS INVENTORY SERVICE service was stopped successfully.


    C:\PsTools>psexec.exe \\qa-test-3 -u tpsonline\administrator -p ********* -c c:\
    script.cmd

    C:\WINDOWS\system32>copy /Y "\\ZahidHaseeb\ServiceINI\service.ini" "C:\Program F
    iles\OCS Inventory Agent\service.ini"
            1 file(s) copied.

    C:\WINDOWS\system32>net start "ocs inventory service"
    The OCS INVENTORY SERVICE service is starting.
    The OCS INVENTORY SERVICE service was started successfully.

    script.cmd exited on qa-test-3 with error code 0.

    Haseeb
    • Moved by Max Wang_Chinasoft Wednesday, April 27, 2011 7:32 PM forum consolidation (From:General Discussion)
    Monday, February 08, 2010 3:22 PM