Microsoft KB Archive/157681: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
(2 intermediate revisions by the same user not shown)
Line 47: Line 47:
<div class="errormessage">
<div class="errormessage">


Executing command: C:\MS\SMS\BIN\ipconfig.exe &gt;<br />
Executing command: C:\MS\SMS\BIN\ipconfig.exe ><br />
C:\MS\SMS\TEMP\ipconfig.sms IP address information not found in output file
C:\MS\SMS\TEMP\ipconfig.sms IP address information not found in output file


Line 70: Line 70:
Looking for Wolverine stack<br />
Looking for Wolverine stack<br />
Performing TCP/IP detection<br />
Performing TCP/IP detection<br />
&lt;drive&gt;:\MS\SMS\BIN\IPCONFIG.EXE &gt; &lt;drive&gt;:\MS\SMS\TEMP\IPCONFIG.SMS &quot;IP address information not found in output file&quot;
<drive>:\MS\SMS\BIN\IPCONFIG.EXE > <drive>:\MS\SMS\TEMP\IPCONFIG.SMS "IP address information not found in output file"




Line 93: Line 93:
       set SMS_P2=%PATH%
       set SMS_P2=%PATH%
       set SMS_TEMP=123456789012345678901234567890123456789012345
       set SMS_TEMP=123456789012345678901234567890123456789012345
       if &quot;%SMS_TEMP%&quot;==&quot;123456789012345678901234567890123456789012345&quot; goto
       if "%SMS_TEMP%"=="123456789012345678901234567890123456789012345" goto
       FIND_OS
       FIND_OS
       goto LOW_ENV
       goto LOW_ENV

Latest revision as of 10:13, 21 July 2020

Knowledge Base


Article ID: 157681

Article Last Modified on 10/27/2006



APPLIES TO

  • Microsoft Systems Management Server 1.2 Standard Edition



This article was previously published under Q157681

SYMPTOMS

Systems Management Server Inventory Agent fails to report an IP address for Windows for Workgroups 3.11 client and the following error is logged in the Invdos.log file located on the client in the Ms\Sms\Logs directory:

Executing command: C:\MS\SMS\BIN\ipconfig.exe >
C:\MS\SMS\TEMP\ipconfig.sms IP address information not found in output file

CAUSE

Invdos.exe does not detect TCP/IP inventory while the SMS_P environment variable is present. SMS_P is a temporary variable set in Runsms.bat or Smsls.bat, and is used for storing path detail, during client setup. The variable is then reset during termination of the respective batch file.

MORE INFORMATION

The absence of TCP/IP inventory causes Remote Control using IP sockets to fail. The following message appears during inventory (if it is run in verbose mode by setting SMSLS=1 prior to execution):

Looking for TCP/IP stack
Looking for Wolverine stack
Performing TCP/IP detection
<drive>:\MS\SMS\BIN\IPCONFIG.EXE > <drive>:\MS\SMS\TEMP\IPCONFIG.SMS "IP address information not found in output file"


WORKAROUND

To work around this problem, do the following to Runsms.bat (which resides at \SMS\SITE.SRV\MAINCFG.BOX\CLIENT.SRC) or Smsls.bat (which resides at \SMS\SITE.SRV\MAINCFG.BOX):

  1. Add an additional variable (for example: SMS_P2) to the :START section. For example:

          :START
    
          REM Check to see if we can save path and reserve the necessary
          environment
          REM space before continuing.
          set SMS_P=%PATH%
          set SMS_P2=%PATH%
          set SMS_TEMP=123456789012345678901234567890123456789012345
          if "%SMS_TEMP%"=="123456789012345678901234567890123456789012345" goto
          FIND_OS
          goto LOW_ENV
                            
  2. Reset the SMS_P variable prior to execution of Invdos.exe in the :RUN_DOS section. For example:

          :RUN_DOS
          if not exist %0\..\%SMS_BIN%\setls%SMS_OS%.exe goto NOPATHARG0
    
          setls%SMS_OS% -m:E -i -p:%SMS_BIN%\CLI_DOS.EXE -pa:/p:%%SMS_UNC%%\ -
             pa:%SMS_VERBOSE% %SMS_VERBOSE%
          set SMS_P=
          setls%SMS_OS% -m:E -i -p:%SMS_BIN%\INVDOS.EXE  -pa:/l:%%SMS_UNC%%\ -
             pa:/i -pa:%SMS_VERBOSE% %SMS_VERBOSE%
          goto RESTORE
                            
  3. Restore the path from the new variable (SMS_P2) by changing the path line in the :RESTORE section. For example:

          :RESTORE
          REM Restore the previous path setting.
          PATH=%SMS_P2%
          goto END
                            
  4. Reset the new variable, instead of SMS_P in the :END section. For example:

          :END
          set SMS_P2=
          set SMS_OS=
    
          set SMS_BIN=
          set SMS_VERBOSE=
                            


STATUS

Microsoft has confirmed this to be a problem in Microsoft Systems Management Server version 1.2. This problem has been corrected in the latest U.S. Service Pack for Systems Management Server version 1.2. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base:

SERVPACK



Additional query words: prodsms sms inventory automatic ip tcp/ip tcpip configuration enabled

Keywords: kbinventory KB157681