Exit Code: 1385

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12686
    doug
    Moderator

    On January 11 the v2.21 version of PsExec was released, but it contained a few bugs. The next day v2.30 was released, but it still contained a couple of bugs. And then two days later v2.32 was released, but it still contains one issue, which is that when specifying alternate credentials you will end up with exit code 1385, if your remote execution context is set to anything other than SYSTEM. In BatchPatch if you go to ‘Tools > Settings > Remote Execution’ if you change the ‘Remote Execution Context’ setting from ‘Elevated token’ to SYSTEM, you will not get the 1385 error anymore. For the very large majority of actions/scripts/commands, SYSTEM will be successful in places where ‘Elevated token’ would have previously been successful. We also expect that Microsoft will release another update in the coming days to resolve this 1385 issue.

    #12700
    doug
    Moderator

    OK so where things have been left is that PsExec v2.32, which is the current/new release, will work the same as previous versions of PsExec, when using SYSTEM remote execution context. However, when using ‘Elevated token’ in conjunction with alternate credentials in PsExec v2.32, you also have to now additionally use the -i (interactive) switch. In the next release of BP we will add this option as well.

    Microsoft appears to be considering this change intentional, and not due to a bug after all. It’s unclear at this time if they will be making any additional changes in the near future, but all signs point to this being where things will be left, at least for now. It does not appear that they plan to release an update to replace v2.32 any time in the very near future.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.