EXECUTION END WITH RETURN CODE 2250
The error message is received when running a custom job in Collector which results in a batch file being run
Collector uses an external Windows tool, named PSEXEC to run external executables, and the error code displayed is actually returned by the batch file execution on the target operating system.
The error code 2250 is usually associated with a Service account that does not have run as batch permissions from local security policy
Open Local security policy as Local Administrator
Navigate to Security Settings>Local Policies>User Rights Assignment
Scroll down and check that the user account is not listed under 'Deny log on as a service'
Scroll down further and add the user account to the 'Log on as service'
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center