GrungeRocker Posted May 21, 2005 Share Posted May 21, 2005 Is there a way to get the hardware id in autoi?? maybe using a dll.... [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
GrungeRocker Posted May 21, 2005 Author Share Posted May 21, 2005 ok i forgot to say, that i want to get the hardare id of the mainboard! [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
GrungeRocker Posted May 22, 2005 Author Share Posted May 22, 2005 no ideas? [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
Andre Posted May 22, 2005 Share Posted May 22, 2005 devcon ? What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
GrungeRocker Posted May 22, 2005 Author Share Posted May 22, 2005 could any1 explain how i could make it that the infos are saved in a var.... [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
/dev/null Posted May 22, 2005 Share Posted May 22, 2005 Is there a way to get the hardware id in autoi??maybe using a dll....<{POST_SNAPBACK}>Can you please explain what you mean by "Hardware ID of the mainboard"? I know the BIOS ID (depends on the version) or the CPU ID. I have never heard of a "mainboard ID". __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Westi Posted May 22, 2005 Share Posted May 22, 2005 You get all informations about your system with:ctbios15.zip from c't ftpsiteUse 'ctdmi.exe >info.txt' to write all informations to info.txt or the following code.The output is in german $fname = "bios.nfo" Runwait ( "ctdmi.exe >" & $fname , @scriptdir , @SW_HIDE ) $file = FileOpen( $fname, 0 ) $line1 = FileReadLine( $file, 73 );example for MB manufacturer $line2= FileReadLine( $file, 74 );example for MB version MsgBox( 0, "MB-info", $line1 & @CR & $line2 ) FileClose( $file ) FileDelete ( $fname ) Link to comment Share on other sites More sharing options...
/dev/null Posted May 22, 2005 Share Posted May 22, 2005 Use 'ctdmi.exe >info.txt' to write all informations to info.txt or the following code.Unfortunately ctdmi.exe does not work on WinNT/2K (Have not checked WinXP). Do you know an alternative?CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
GrungeRocker Posted May 22, 2005 Author Share Posted May 22, 2005 well thx for your help... [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
PerryRaptor Posted May 22, 2005 Share Posted May 22, 2005 I don't know what information you want either...Try this using the latest Beta... expandcollapse popup; Generated by AutoIt Scriptomatic $wbemFlagReturnImmForwardOnly = 0x10 + 0x20 $colItems = "" $strComputer = "localhost" $Output="" $Output = $Output & "==========================================" & @CRLF $Output = $Output & "Computer: " & $strComputer & @CRLF $Output = $Output & "==========================================" & @CRLF $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\CIMV2") $colItems = $objWMIService.ExecQuery("SELECT * FROM Win32_BIOS", "WQL", _ $wbemFlagReturnImmForwardOnly) If IsObj($colItems) then For $objItem In $colItems $strBiosCharacteristics = $objItem.BiosCharacteristics(1) $Output = $Output & "BiosCharacteristics: " & $strBiosCharacteristics & @CRLF $strBIOSVersion = $objItem.BIOSVersion(1) $Output = $Output & "BIOSVersion: " & $strBIOSVersion & @CRLF $Output = $Output & "BuildNumber: " & $objItem.BuildNumber & @CRLF $Output = $Output & "Caption: " & $objItem.Caption & @CRLF $Output = $Output & "CodeSet: " & $objItem.CodeSet & @CRLF $Output = $Output & "CurrentLanguage: " & $objItem.CurrentLanguage & @CRLF $Output = $Output & "Description: " & $objItem.Description & @CRLF $Output = $Output & "IdentificationCode: " & $objItem.IdentificationCode & @CRLF $Output = $Output & "InstallableLanguages: " & $objItem.InstallableLanguages & @CRLF $Output = $Output & "InstallDate: " & WMIDateStringToDate($objItem.InstallDate) & @CRLF $Output = $Output & "LanguageEdition: " & $objItem.LanguageEdition & @CRLF $strListOfLanguages = $objItem.ListOfLanguages(1) $Output = $Output & "ListOfLanguages: " & $strListOfLanguages & @CRLF $Output = $Output & "Manufacturer: " & $objItem.Manufacturer & @CRLF $Output = $Output & "Name: " & $objItem.Name & @CRLF $Output = $Output & "OtherTargetOS: " & $objItem.OtherTargetOS & @CRLF $Output = $Output & "PrimaryBIOS: " & $objItem.PrimaryBIOS & @CRLF $Output = $Output & "ReleaseDate: " & WMIDateStringToDate($objItem.ReleaseDate) & @CRLF $Output = $Output & "SerialNumber: " & $objItem.SerialNumber & @CRLF $Output = $Output & "SMBIOSBIOSVersion: " & $objItem.SMBIOSBIOSVersion & @CRLF $Output = $Output & "SMBIOSMajorVersion: " & $objItem.SMBIOSMajorVersion & @CRLF $Output = $Output & "SMBIOSMinorVersion: " & $objItem.SMBIOSMinorVersion & @CRLF $Output = $Output & "SMBIOSPresent: " & $objItem.SMBIOSPresent & @CRLF $Output = $Output & "SoftwareElementID: " & $objItem.SoftwareElementID & @CRLF $Output = $Output & "SoftwareElementState: " & $objItem.SoftwareElementState & @CRLF $Output = $Output & "Status: " & $objItem.Status & @CRLF $Output = $Output & "TargetOperatingSystem: " & $objItem.TargetOperatingSystem & @CRLF $Output = $Output & "Version: " & $objItem.Version & @CRLF if Msgbox(1,"WMI Output",$Output) = 2 then ExitLoop $Output="" Next Else Msgbox(0,"WMI Output","No WMI Objects Found for class: " & "Win32_BIOS" ) Endif Func WMIDateStringToDate($dtmDate) Return (StringMid($dtmDate, 5, 2) & "/" & _ StringMid($dtmDate, 7, 2) & "/" & StringLeft($dtmDate, 4) _ & " " & StringMid($dtmDate, 9, 2) & ":" & StringMid($dtmDate, 11, 2) & ":" & StringMid($dtmDate,13, 2)) EndFunc Link to comment Share on other sites More sharing options...
Westi Posted May 22, 2005 Share Posted May 22, 2005 Unfortunately ctdmi.exe does not work on WinNT/2K (Have not checked WinXP). Do you know an alternative?hwinfo.ocx can be downloaded:hwinfo.zipDont forget to register with 'Regsvr32.exe hwinfo.ocx' Link to comment Share on other sites More sharing options...
Westi Posted May 22, 2005 Share Posted May 22, 2005 Another method is to use msinfo32.exe /report c:\info.txt /categories Systemübersichtfor a german report. Msinfo is stored in CommonProgramfiles\Microsoft Shared\MSInfo Link to comment Share on other sites More sharing options...
GrungeRocker Posted May 22, 2005 Author Share Posted May 22, 2005 well thx guys for your replys! [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now