PE & HAL

  • Thread starter Thread starter news.scarlet.be
  • Start date Start date
N

news.scarlet.be

Hi there,

We need to the detect the machines "future HAL" from Windows PE in order to
deploy the right PQI image to the machine. We have tried WMI without
success. The devcon.exe utility (with find *HAL*) seems to return the same
HAL all the time.

Any clues?


Thanks,
 
Try getting vendor/model information using the win32_Computersystemproduct
class, if you have a limited number of hardware, hard coding shouldn't be an
issue. Another idea, could be to look if the system has a battery to find out
if system is a laptiop, that typically has different HAL than desktops.
hope this helps
 
news.scarlet.be said:
Hi there,

We need to the detect the machines "future HAL" from Windows PE in order
to deploy the right PQI image to the machine. We have tried WMI without
success. The devcon.exe utility (with find *HAL*) seems to return the same
HAL all the time.

Any clues?

We found a way with the DRIVERS.EXE utility from the Windows 2000 resource
kit.

drivers.exe | findstr /i /r /c:"^ *hal.*\.dll"

will return the proper HAL (acpi, aacpi or macpi) from within PE.
 
Back
Top