Jump to content

SysInfoLog v2.11


ripdad
 Share

Recommended Posts

Chimaera, Thanks.

ricky03,

That is exactly what I needed to know about QFE. I could not get it to generate that on the PC's I have.

I will revert it in the next update.

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

  • Replies 101
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hello, it works well.

Thanks a lot.

For info, in this line : ; Released: May 22, 2011 - Version: 2.00 by ripdad the year is incorrect.

In Func GetCommonstartups() the variable $hF is declared 2 times as local, why?

Edited by ricky03
Link to comment
Share on other sites

ricky03 - It's always good to have another set of eyes - thanks.

I was hoping to catch the problem with $offset in _WMI_InstancesOf(), eventually.

It just wasn't showing up until I threw something different at the function.

The problem was:

What is the offset number when the "ValueMap" array has no "value numbers"?

Tentative Answer:

Zero, from what I've seen so far.

So, that will be in the next update too.

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

Updated 1st post to Version 2.02

I think I'm finished with this project for now, unless someone has a problem with it.

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

What the heck, one more...

Updated 1st Post to Version 2.03

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

Hello,

thanks for the upgrade. But I have a question, I have two screens and only one appears :

<--Win32_VideoController

(1)

AdapterCompatibility|ATI Technologies Inc.

AdapterDACType|Internal DAC(400MHz)

AdapterRAM|1 GB

Availability|3=(Running/Full Power)

Caption|ASUS EAH4350 series

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

CurrentBitsPerPixel|32 Bits

CurrentHorizontalResolution|1680 Pixels

CurrentNumberOfColors|4294967296

CurrentNumberOfColumns|0

CurrentNumberOfRows|0

CurrentRefreshRate|60 Hertz

CurrentScanMode|4=(Non Interlaced)

CurrentVerticalResolution|1050 Pixels

Description|ASUS EAH4350 series

DeviceID|VideoController1

DeviceSpecificPens|-1

DriverDate|06/22/2010 - 23:00:04

DriverVersion|6.14.10.7101

InfFilename|oem3.inf

InfSection|ati2mtag_R7X

InstalledDisplayDrivers|ati2dvag.dll

MaxRefreshRate|75 Hertz

MinRefreshRate|56 Hertz

Monochrome|False

Name|ASUS EAH4350 series

NumberOfColorPlanes|1

PNPDeviceID|PCIVEN_1002&DEV_954F&SUBSYS_03541043&REV_004&3678ACAF&0&0008

FirmwareRevision|00

Status|OK

VideoArchitecture|5=(VGA)

VideoMemoryType|2=(Unknown)

VideoModeDescription|1680 x 1050 x 4294967296 couleurs

VideoProcessor|ATI Radeon Graphics Processor (0x954F)

<--Win32_DesktopMonitor

(1)

Availability|3=(Running/Full Power)

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

DeviceID|DesktopMonitor1

MonitorManufacturer|Fujitsu Siemens Computers

MonitorType|Fujitsu Siemens P19-2

Name|Fujitsu Siemens P19-2

PixelsPerXLogicalInch|96 Pixels per Logical Inch

PixelsPerYLogicalInch|96 Pixels per Logical Inch

PNPDeviceID|DISPLAYFUS05525&381C3C45&0&10000083&01&00

ScreenHeight|1050

ScreenWidth|1680

Status|OK

<--Display_EDID_String

DesktopMonitor1|(P19-2, YEHG813438)

Link to comment
Share on other sites

Try inserting this in between "Win32_DesktopMonitor" and "_GetDisplayEDID(1)"...

$s &= _WMI_InstancesOf('Win32_PnPEntity Where Caption Like "%Monitor"', 0, 1)

You'll need to correct an oversight of mine before you can use it. Replace this line at the top in "_WMI_InstancesOf()"...

$a = StringRegExp($sClass, '[^w.:=<>%" '']', 3); check for invalid characters

or just insert a % after the right arrow.

Save it and run SIL and see if the other monitor shows up.

---

side note:

1) Laptops have some strange issues with displays sometimes. Seems that WMI will only report the primary monitor on the internal video adapter.

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

Hello,

the problem is the same :

<--Win32_VideoController

(1)

AdapterCompatibility|ATI Technologies Inc.

AdapterDACType|Internal DAC(400MHz)

AdapterRAM|1 GB

Availability|3=(Running/Full Power)

Caption|ASUS EAH4350 series

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

CurrentBitsPerPixel|32 Bits

CurrentHorizontalResolution|1680 Pixels

CurrentNumberOfColors|4294967296

CurrentNumberOfColumns|0

CurrentNumberOfRows|0

CurrentRefreshRate|60 Hertz

CurrentScanMode|4=(Non Interlaced)

CurrentVerticalResolution|1050 Pixels

Description|ASUS EAH4350 series

DeviceID|VideoController1

DeviceSpecificPens|-1

DriverDate|06/22/2010 - 23:00:04

DriverVersion|6.14.10.7101

InfFilename|oem3.inf

InfSection|ati2mtag_R7X

InstalledDisplayDrivers|ati2dvag.dll

MaxRefreshRate|75 Hertz

MinRefreshRate|56 Hertz

Monochrome|False

Name|ASUS EAH4350 series

NumberOfColorPlanes|1

PNPDeviceID|PCIVEN_1002&DEV_954F&SUBSYS_03541043&REV_004&3678ACAF&0&0008

FirmwareRevision|00

Status|OK

VideoArchitecture|5=(VGA)

VideoMemoryType|2=(Unknown)

VideoModeDescription|1680 x 1050 x 4294967296 couleurs

VideoProcessor|ATI Radeon Graphics Processor (0x954F)

<--Win32_DesktopMonitor

(1)

Availability|3=(Running/Full Power)

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

DeviceID|DesktopMonitor1

MonitorManufacturer|Fujitsu Siemens Computers

MonitorType|Fujitsu Siemens P19-2

Name|Fujitsu Siemens P19-2

PixelsPerXLogicalInch|96 Pixels per Logical Inch

PixelsPerYLogicalInch|96 Pixels per Logical Inch

PNPDeviceID|DISPLAYFUS05525&381C3C45&0&10000083&01&00

ScreenHeight|1050

ScreenWidth|1680

Status|OK

<--Win32_PnPEntity

<--Display_EDID_String

DesktopMonitor1|(P19-2, YEHG813438)

Link to comment
Share on other sites

Ok, try this instead...

$s &= _WMI_InstancesOf('Win32_PnPEntity Where PNPDeviceID Like "DISPLAY%"', 0, 1)

We'll probably need to PM after this.

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

It's better :

<--Win32_VideoController

(1)

AdapterCompatibility|ATI Technologies Inc.

AdapterDACType|Internal DAC(400MHz)

AdapterRAM|1 GB

Availability|3=(Running/Full Power)

Caption|ASUS EAH4350 series

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

CurrentBitsPerPixel|32 Bits

CurrentHorizontalResolution|1680 Pixels

CurrentNumberOfColors|4294967296

CurrentNumberOfColumns|0

CurrentNumberOfRows|0

CurrentRefreshRate|60 Hertz

CurrentScanMode|4=(Non Interlaced)

CurrentVerticalResolution|1050 Pixels

Description|ASUS EAH4350 series

DeviceID|VideoController1

DeviceSpecificPens|-1

DriverDate|06/22/2010 - 23:00:04

DriverVersion|6.14.10.7101

InfFilename|oem3.inf

InfSection|ati2mtag_R7X

InstalledDisplayDrivers|ati2dvag.dll

MaxRefreshRate|75 Hertz

MinRefreshRate|56 Hertz

Monochrome|False

Name|ASUS EAH4350 series

NumberOfColorPlanes|1

PNPDeviceID|PCIVEN_1002&DEV_954F&SUBSYS_03541043&REV_004&3678ACAF&0&0008

FirmwareRevision|00

Status|OK

VideoArchitecture|5=(VGA)

VideoMemoryType|2=(Unknown)

VideoModeDescription|1680 x 1050 x 4294967296 couleurs

VideoProcessor|ATI Radeon Graphics Processor (0x954F)

<--Win32_DesktopMonitor

(1)

Availability|3=(Running/Full Power)

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

DeviceID|DesktopMonitor1

MonitorManufacturer|Fujitsu Siemens Computers

MonitorType|Fujitsu Siemens P19-2

Name|Fujitsu Siemens P19-2

PixelsPerXLogicalInch|96 Pixels per Logical Inch

PixelsPerYLogicalInch|96 Pixels per Logical Inch

PNPDeviceID|DISPLAYFUS05525&381C3C45&0&10000083&01&00

ScreenHeight|1050

ScreenWidth|1680

Status|OK

<--Win32_PnPEntity

(1)

Caption|Fujitsu Siemens P19-2

ClassGuid|{4D36E96E-E325-11CE-BFC1-08002BE10318}

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

Description|Fujitsu Siemens P19-2

DeviceID|DISPLAYFUS05525&381C3C45&0&10000083&01&00

Manufacturer|Fujitsu Siemens Computers

Name|Fujitsu Siemens P19-2

PNPDeviceID|DISPLAYFUS05525&381C3C45&0&10000083&01&00

Status|OK

(2)

Caption|Écran Plug-and-Play

ClassGuid|{4D36E96E-E325-11CE-BFC1-08002BE10318}

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

Description|Écran Plug-and-Play

DeviceID|DISPLAYAOC22195&381C3C45&0&10000082&01&00

Manufacturer|(Types d'Écrans standard)

Name|Écran Plug-and-Play

PNPDeviceID|DISPLAYAOC22195&381C3C45&0&10000082&01&00

Status|OK

<--Display_EDID_String

DesktopMonitor1|(P19-2, YEHG813438)

<--Win32_DiskDrive

Link to comment
Share on other sites

Ok, at least we know the monitor is there.

You can try this, but, I doubt I can force Win32_DesktopMonitor to produce better results.

$s &= _WMI_InstancesOf('Win32_DesktopMonitor', 0, 1)

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

Yes, I expected that -- not anything I can do about it.

The Win32_PnPEntity code will have to serve as a substitute.

That should also work for _GetDisplayEDID().

Comment line #3 inside the function and insert this below it.

Local $objClass = $objWMI.InstancesOf('Win32_PnPEntity Where PNPDeviceID Like "DISPLAY%"')

I will probably change that for the next update.

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

EDID works :

<--Win32_DesktopMonitor

(1)

Availability|3=(Running/Full Power)

Caption|Fujitsu Siemens P19-2

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

Description|Fujitsu Siemens P19-2

DeviceID|DesktopMonitor1

MonitorManufacturer|Fujitsu Siemens Computers

MonitorType|Fujitsu Siemens P19-2

Name|Fujitsu Siemens P19-2

PixelsPerXLogicalInch|96 Pixels per Logical Inch

PixelsPerYLogicalInch|96 Pixels per Logical Inch

PNPDeviceID|DISPLAYFUS05525&381C3C45&0&10000083&01&00

ScreenHeight|1050

ScreenWidth|1680

Status|OK

<--Win32_PnPEntity

(1)

Caption|Fujitsu Siemens P19-2

ClassGuid|{4D36E96E-E325-11CE-BFC1-08002BE10318}

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

Description|Fujitsu Siemens P19-2

DeviceID|DISPLAYFUS05525&381C3C45&0&10000083&01&00

Manufacturer|Fujitsu Siemens Computers

Name|Fujitsu Siemens P19-2

PNPDeviceID|DISPLAYFUS05525&381C3C45&0&10000083&01&00

Status|OK

(2)

Caption|Écran Plug-and-Play

ClassGuid|{4D36E96E-E325-11CE-BFC1-08002BE10318}

ConfigManagerErrorCode|0=(This device is working properly.)

ConfigManagerUserConfig|False

Description|Écran Plug-and-Play

DeviceID|DISPLAYAOC22195&381C3C45&0&10000082&01&00

Manufacturer|(Types d'Écrans standard)

Name|Écran Plug-and-Play

PNPDeviceID|DISPLAYAOC22195&381C3C45&0&10000082&01&00

Status|OK

<--Display_EDID_String

DISPLAYFUS05525&381C3C45&0&10000083&01&00|(P19-2, YEHG813438)

DISPLAYAOC22195&381C3C45&0&10000082&01&00|(AGSA4JA000959, 2219)

Link to comment
Share on other sites

Updated 1st Post to Version 2.04

Note: The addition of Win32_PNPEntity will most likely cause a small "speed hit" on Vista and Win7.

I'll try to come up with a better solution for secondary monitors - but until then, this will have to do for now.

BTW, I'm interested if anyone is experiencing COM/Object Errors.

I had one earlier today on a XP SP2 Box while it was enumerating the System Logs.

I cleared all the logs, and then made a few afterwards. Tried it again and it was gone. Perhaps one of the logs was corrupt.

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

  • 3 weeks later...

Hello,

thanks a lot, it works well.

I have a question, I add the key to the registry settings (for windows 7):

$s &= $HKLM & 'SYSTEMCurrentControlSetservicesSharedAccessParametersFirewallPolicyFirewallRules|'

It's to take all informations about the firewall. On the log, I have all the information, example :

{1BA2B86E-26C7-4B4B-87B1-6B4C12726A99} = v2.10|Action=Allow|Active=TRUE|Dir=In|App=C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBinnsqlservr.exe|Name=SQL server|^210

But with the viewer I have only :

{1BA2B86E-26C7-4B4B-87B1-6B4C12726A99} = v2.10

Why? Can You help me?

Edited by ricky03
Link to comment
Share on other sites

ricky03,

in the function: Reg_GetValues()

directly under: $v = StringReplace($v, @LF, ', ')

add this: $v = StringReplace($v, '|', ', ')

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

  • 3 months later...

Hello,

I'm testing your software on a srv 2008. I add 'WIN_2008R2' to the code below :

Switch $OSV
   Case 'Win_2003', 'Win_XP'
      If ($OSA <> 'X86') Then
         ExitMsg('Not tested on ' & $OSV & ' --> ' & $OSA)
      EndIf
   Case 'Win_2008', 'Win_7', 'Win_Vista', 'WIN_2008R2'
      $Vista_7 = 1
   Case Else
      ExitMsg('Not tested on --> ' & $OSV)
EndSwitch

But during the working job I have the problem below (see picture)

post-39014-0-82232300-1348749045_thumb.p

You can help me? Thanks in advance...

Edited by ricky03
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...