DOCUMENT:Q253648 08-FEB-2001 [sms] TITLE :Smsls.bat Cannot Install SMS Client When DOSONLY Is Enabled PRODUCT :Microsoft Systems Management Server PROD/VER::2.0,2.0 SP1,2.0 SP2,2.0 SP3 OPER/SYS: KEYWORDS:kbinterop kbsetup kbClient kbConfig kbsms200 kbsms200bug kbsmsUtil kbUpgrade ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Systems Management Server versions 2.0, 2.0 SP1, 2.0 SP2, 2.0 SP3 ------------------------------------------------------------------------------- SYMPTOMS ======== You are unable to successfully install the Systems Management Server (SMS) client on a Windows NT 4.0-based computer by using the Smsls.bat file, but you do not receive any error messages. You may see entries similar to the following one in the WN_Logon.log file: Wrote "SMSClientPath=C:\WINDOWS\" into file "C:\TEMP\SMSBOOT1.INI", iRet = 1 $$ Calling _spawnl("C:\WINDOWS\MS\SMS\CORE\BIN\Boot32wn.exe", "C:\WINDOWS\MS\SMS\CORE\BIN\Boot32wn.exe", "-NT", "-OC:\TEMP\SMSBOOT1.INI", NULL, NULL) $$ If you attempt to run Snboot.exe, or Smsboot1.exe on the client, you may receive the following error message: This program cannot be run in dos mode. CAUSE ===== The dosonly command is enabled in the Config.nt file. WORKAROUND ========== Disable the dosonly option by remarking (REM) it out of the Config.nt file. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION ================ Windows NT Help DOSONLY notes: Normally when you exit an MS-DOS-based application, Windows NT returns to the Windows NT command interpreter (CMD.EXE). However, by default, when you run a TSR or temporarily suspend an MS-DOS-based application to return to the command prompt Windows NT runs COMMAND.COM, the command interpreter for the MS-DOS environment. This preserves the MS-DOS environment allowing you to use the TSR immediately. Because starting and running other types of applications from the COMMAND.COM prompt can disrupt a TSR or suspended MS-DOS-based applications, Windows NT provides the DOSONLY command. The DOSONLY command allows only MS-DOS-based applications to be started from the COMMAND.COM prompt. You can include the DOSONLY command in your CONFIG.NT file or the equivalent custom startup file in an application?s PIF. Additional query words: prodsms Smsls bat CONFIG NT REM WN_Logon log Snboot Smsboot1 SMS cmd exe command com ====================================================================== Keywords : kbinterop kbsetup kbClient kbConfig kbsms200 kbsms200bug kbsmsUtil kbUpgrade Technology : kbSMSSearch kbSMS200 kbSMS200SP1 kbSMS200SP2 kbSMS200SP3 Version : :2.0,2.0 SP1,2.0 SP2,2.0 SP3 Issue type : kbprb Solution Type : kbnofix ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.