Open-AudIT https://www.open-audit.org/phpBB3/ |
|
Hard disk partitions missing https://www.open-audit.org/phpBB3/viewtopic.php?f=8&t=1493 |
Page 1 of 1 |
Author: | bed [ Thu Oct 12, 2006 1:03 am ] |
Post subject: | Hard disk partitions missing |
Hi, (sorry for my english... ) I found a "bug" related to the french version of Windows XP I have here, which causes OA to silently fail on hard drive partition listings. After investigation, it turns out that the WMI property Win32_DiskPartition.Name is translated in french, to "Disque n° [disk number], Partition n°[partition number]". This property is used in audit.vbs, in the DrivePartition() function. Using the DeviceID property of the same class instead of Name solves the problem, as they are (presumably) the same in english, and is what's the calling request wants. bed |
Page 1 of 1 | All times are UTC + 10 hours |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |