SMS: Simple Command Fails to Run in Available Program Manager (APM) (235149)



The information in this article applies to:

  • Microsoft Systems Management Server 2.0

This article was previously published under Q235149

SYMPTOMS

When you run a simple command such as net start >c:\test2.txt within an advertised program, the Available Programs Manager (APM) may return the following error message within the Smsapm32.log file:
Return code = 0x2; The system cannot find the file specified.~~; Program D:\WINNT\System32\net.exe start >c:\test2.txt' terminated with exit code = 2

WORKAROUND

To work around this behavior, run the command from within a batch file.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Systems Management Server version 2.0.

Modification Type:MinorLast Reviewed:6/14/2005
Keywords:kbAdvertisement kbBug kbClient kbConfig kbnofix kbPackage kbSoftwareDist KB235149