Procedure to collect Inventory from a non-networked system

By ServerWatch Staff (Send Email)
Posted Jul 20, 1999


York

 One of the functions that Microsoft left out of SMS 2.0 is the ability to collect inventory from a stand-alone system, yes I know that you can create a MIF & obtain some information that way. But that is a work around I'm talking about being able to collect the full software & hardware inventory just as if the client was connected to the network. For this to work you must have a working SMS site server. : Cut a CD image from the site server containing the following directories Cap_(site name) & SMSLogon. SMS 

One of the functions that Microsoft left out of SMS 2.0 is the ability to collect inventory from a stand-alone system, yes I know that you can create a MIF & obtain some information that way. But that is a work around Im talking about being able to collect the full software & hardware inventory just as if the client was connected to the network. For this to work you must have a working SMS site server. : Cut a CD image from the site server containing the following directories Cap_(site name) & SMSLogon. SMS

Non-Networked Client Install 

1) Installation assumes CDROM drive is D: if this is not the case, please modify batch file.

 2) On the client system, insert the supplied CD into the CDRom drive & run "Setup.bat" from root of the CD following on screen instructions. 

3) After the system reboots, run "Setup2.bat" from the root of the CD following on screen instructions. 

4) Open "Control Panel" and select the new "Systems Management" icon. Select the "Components" tab and while highlighting "Hardware Inventory", select "Start", then do the same for "Software Inventory". 

5) Give the system about 5 to 10 minutes to generate the inventory records, then insert a floppy in drive A: and run "CopyInv.bat" which will copy the necessary files onto the floppy disk. Confirm the following files exists on the floppy disk "*.ddr" and "*.inv" files. 

6) Open "Services" in "Control Panel" and stop the "SMS Client" service. Set the service's startup to "Manual" (Note: if this is not done, the client will continue to generate *.inv files at the domain scheduled frequency. 7) The following batch files need to be edited to reflect your site 

(Setup.bat) 

@echo off

 net share CAP_(site name)=D:\ 

net share SMSLogon=D:\ d: 

cd \x86.bin SMSBOOT1.EXE -S %0 -N -WINDIR=%WINDIR% 

echo Use Task manager and wait for Clisvcl to start and CliCore to stop pause 

cd ..\clicomp.box\wbem\i386 WbemSdk.Exe -s 

echo Please Reboot your system now 

(Setup2.bat) 

@echo off 

d: cd \clicomp.box\SInv\i386 InSInv32.Exe -s 

cd ..\..\..\clicomp.box\HInv\i386 InHInv32.Exe -s 

cd \ SMS.Reg -s Echo 

Manually start the hardware and software inventory in control panel 

(Reg File) Note: site name  should be change to reflect your site name 

REGEDIT4 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Client\Sites\System] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Client\Sites\System\(site name)] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Client\Sites\System\(site name)\Client Components]

 "Active Components"=hex(7):52,65,6d,6f,74,65,20,43,6f,6e,74,72,6f,6c,00,53,6f,\ 66,74,77,61,72,65,20,49,6e,76,65,6e,74,6f,72,79,20,41,67,65,6e,74,00,41,76,\ 61,69,6c,61,62,6c,65,20,50,72,6f,67,72,61,6d,73,20,4d,61,6e,61,67,65,72,20,\ 57,69,6e,33,32,00,48,61,72,64,77,61,72,65,20,49,6e,76,65,6e,74,6f,72,79,20,\ 41,67,65,6e,74,00,57,69,6e,64,6f,77,73,20,4d,61,6e,61,67,65,6d,65,6e,74,00,\ 53,4d,53,20,43,6c,69,65,6e,74,20,42,61,73,65,20,43,6f,6d,70,6f,6e,65,6e,74,\ 73,00,00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Client\Sites\System\(site name)\Client Components\Remote Control] 

"Allow Chat"=dword:00000001 

"Allow Client Change"=dword:00000000 

"Allow File Transfer"=dword:00000001 

"Allow Reboot"=dword:00000001 

"Allow Remote Execute"=dword:00000001 

"Allow Takeover"=dword:00000001 

"Allow View Configuration"=dword:00000001 

"Always Visible"=dword:00000000 

"Audible Signal"=dword:00000000 

"CompressionType"=dword:00000002 

"Control Level"=dword:00000002 

"Default Protocol"="TCP/IP" 

"IndicatorType"=dword:00000000 

"LanaNum"=dword:00000000

 "Last Changed At"=dword:36ed042d 

"Permission Required"=dword:00000000 

"Use IDIS"=dword:00000001 

"Visible Signal"=dword:00000000 "PermittedViewers"=hex(7):41,64,6d,69,6e,69,73,74,72,61,64,6f,72,65,73,00,41,\ 64,6d,69,6e,69,73,74,72,61,74,65,75,72,73,00,41,64,6d,69,6e,69,73,74,72,61,\ 74,6f,72,65,6e,00,41,64,6d,69,6e,69,73,74,72,61,74,6f,72,65,72,00,41,64,6d,\ 69,6e,69,73,74,72,61,74,f6,72,65,72,00,41,64,6d,69,6e,69,73,74,72,61,74,6f,\ 72,73,00,41,6d,6d,69,6e,69,73,74,72,61,74,6f,72,69,00,42,65,68,65,65,72,64,\ 65,72,73,00,4a,e4,72,6a,65,73,74,65,6c,6d,e4,6e,76,61,6c,76,6f,6a,61,74,00,\ 00 

"Video Drivers"=hex(7):41,52,54,00,43,49,52,52,55,53,00,46,52,41,4d,45,42,55,\ 46,00,4d,47,41,00,51,56,00,53,33,00,54,47,41,00,54,52,49,44,45,4e,54,00,56,\ 47,41,00,56,47,41,32,35,36,00,56,47,41,36,34,4b,00,57,33,32,00,58,47,41,00,\ 00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Client\Sites\System\(site name)\Client Components\Software Inventory Agent] 

"Collectable Files"=hex(7):00,00 

"Inventoriable Types"=hex(7):65,78,65,00,00,00 

"Inventory Schedule"="3DCC374007D14000" 

"Max Collected File Size"=dword:00000001 

"Report Options"=dword:00000007 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Client\Sites\System\(site name)\Client Components\Hardware Inventory Agent] 

"Inventory Schedule"="3DCC374007D14000" 

"Maximum 3rd Party MIF Size"=dword:000000fa 

"Provider Timeout"=dword:0000003c 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Client\Sites\System\(site name)\Client Components\SMS Client Base Components] 

"Component Verify Interval"="00011700001000F0" 

"Component Maintenance Interval (minutes)"=dword:00000564 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Client\Sites\System\(site name)\Client Components\SMS Client Base Components\Copy Queue] 

"Item Lifetime"=dword:00002d00

 "Wakeup cycle"=dword:00000564 

"Retry Sequence"=hex(7):31,35,00,33,30,00,36,30,00,33,36,30,00,00

 (copyinv.bat)

 copy c:\winnt\ms\sms\core\data\*.ddr a: 

copy c:\winnt\ms\sms\clicomp\hinv\outbox\*.inv a: 

copy c:\winnt\ms\sms\clicomp\sinv\outbox\*.inv a:

 After you have collected the files on floppy all that needs to be done is to copy them to the SMS site server CAP the *.ddr file goes in the siteserver\Cap_(siteserver)\ddr.box directory, the hardware inventory goes in the inventory.box directory & the software inventory goes in the sinv.box directory.

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.