SMS: Clitravl.exe Returns Error Code 1 Even If It Runs Successfully (324721)
The information in this article applies to:
- Microsoft Systems Management Server 2003
- Microsoft Systems Management Server 2.0
- Microsoft Systems Management Server 2.0 SP1
- Microsoft Systems Management Server 2.0 SP2
- Microsoft Systems Management Server 2.0 SP3
- Microsoft Systems Management Server 2.0 SP4
This article was previously published under Q324721 SYMPTOMS
If you use a Microsoft Systems Management Server (SMS) advertisement to run Clitravl.exe to set or modify Travel mode on SMS clients, the advertisement return a "failed" status even if Clitravl.exe runs successfully.
CAUSE
Clitravl.exe returns error code 1 even if it runs successfully. You can confirm this by verifying that the Travel mode properties are selected on the clients and that the advertisement status is "failed."
WORKAROUND
To work around this behavior and to cause the correct status to be returned, you can run Clitravl.exe from a batch file to detect and set the return status. This is a sample batch file:
clitravl.exe /TRAVEL=ON
if errorlevel 1 exit 0
STATUSThis behavior is by design.
Modification Type: | Minor | Last Reviewed: | 6/14/2005 |
---|
Keywords: | kbprb KB324721 |
---|
|