SMS: IP Address Missing from Client Inventory (157681)
The information in this article applies to:
- Microsoft Systems Management Server 1.2
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.
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):
- 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
- 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
- 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
- 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:
Modification Type: | Minor | Last Reviewed: | 6/14/2005 |
---|
Keywords: | kbInventory KB157681 |
---|
|