FileWave Alliance

The Official Community Forum
  • Page:
  • 1

TOPIC: Fileset for Windows custom fields

Fileset for Windows custom fields 10 Mar 2017 02:20 #2480

  • Bao Tran
  • Bao Tran's Avatar Topic Author
  • Offline
  • FileWave Staff
  • FileWave Staff
  • Posts: 103
  • Karma: 4
  • Thank you received: 13
This Windows fileset populates FileWave's custom string fields with extra data outside of the built-in inventory items. The utility in this fileset reads a configuration file named fields.ini that tells it which custom string info field to write its data to. The fileset is configured to update the custom string info field data with each verification. The following info is available.

  • FirmwareType - Firmware mode of the PC. Returns either UEFI or Legacy.
  • AssetTag - Asset tag as entered into PC BIOS or firmware. Reports "No Asset Tag" if blank.
  • ComputerSerial - The PC computer serial number or service tag.
  • BootDuration - How long it takes the computer to boot in min:sec format.
  • LastBootUpTime - Date and time when the computer was last booted in YYYY/MM/DD HH:MM format.
  • FirewallEnabled - CSV list of network types that the Windows firewall is enabled for.
  • SMARTFailure - CSV list of drives that have failed/are about to fail. Returns "All drives OK" if there are no issues.
  • LocalAdmins - CSV list of accounts and groups in the local Administrators group.
  • AttachedUSBDrives - CSV list of attached USB drives. Returns "No USB Drives" if there are none.
  • Printers - CSV list of printers. Returns "No Printers" if there are none.
  • FlashVersion - Flash version installed. Returns "No Flash" if Flash is not installed.
  • JavaVersion - Java Version installed. Returns "No Java" if Java is not installed.
  • PercentChargedCapacity - % of original battery capacity when battery is fully charged. Returns "No Battery" for laptops with no battery and desktops.
  • BootDriveBitlockerStatus - Bitlocker encryption status for boot drive. Reports "Encrypted", "Unencrypted", or "Unknown" if the status can't be determined.

Paired with scheduled reports this could be a great way to find devices with extreme boot durations, failing hard disks, disabled firewalls, or attached USB drives. Some of these custom fields rely on WMI so they may not function correctly if WMI is hosed on your PC. Usage instructions are provided within the attached zip file. No support is provided so use at your own risk.
Attachments:
The following user(s) said Thank You: Michael Poorman
Last Edit: by Bao Tran.

Fileset for Windows custom fields 01 Sep 2017 19:07 #2682

  • Paul Harlan
  • Paul Harlan's Avatar
  • Offline
  • 2nd Level - Yellow Belt
  • 2nd Level - Yellow Belt
  • Posts: 22
  • Thank you received: 0
Inside the attachment I do not see a fields.ini, do I need to create the file or should it be there?

Fileset for Windows custom fields 01 Sep 2017 19:29 #2683

  • Bao Tran
  • Bao Tran's Avatar Topic Author
  • Offline
  • FileWave Staff
  • FileWave Staff
  • Posts: 103
  • Karma: 4
  • Thank you received: 13
It's included in the fileset contents itself. You just have to modify it as described in the accompanying PDF.

Fileset for Windows custom fields 15 Mar 2018 08:42 #2870

  • Falko König
  • Falko König's Avatar
  • Offline
  • 1st level - White Belt
  • 1st level - White Belt
  • Posts: 2
  • Thank you received: 0
Hi,

is it possible to download the source code somewhere to enhance the tool with other fields? :)

Also the Bitlocker Informations seem currently not to work.

Best regards
Last Edit: by Falko König. Reason: forgotten

Fileset for Windows custom fields 13 Apr 2018 20:44 #2879

  • Mark Adair
  • Mark Adair's Avatar
  • Offline
  • 1st level - White Belt
  • 1st level - White Belt
  • Posts: 1
  • Thank you received: 0
Where do you go to view the results of the custom fields?

Fileset for Windows custom fields 16 Apr 2018 07:47 #2881

  • Falko König
  • Falko König's Avatar
  • Offline
  • 1st level - White Belt
  • 1st level - White Belt
  • Posts: 2
  • Thank you received: 0
I added a query and i'm using the custom_string_20 for it.
[Fields]
FirmwareType=custom_string_07
AssetTag=custom_string_08
ComputerSerial=custom_string_09
BootDuration=custom_string_10
LastBootUpTime=custom_string_11
FirewallEnabled=custom_string_12
SMARTFailure=custom_string_13
Administratoren=custom_string_14
AttachedUSBDrives=custom_string_15
Printers=custom_string_16
FlashVersion=custom_string_17
JavaVersion=custom_string_18
PercentChargedCapacity=custom_string_19
BootDriveBitlockerStatus=custom_string_20

Attachments:

Fileset for Windows custom fields 18 Apr 2018 18:32 #2882

  • Bao Tran
  • Bao Tran's Avatar Topic Author
  • Offline
  • FileWave Staff
  • FileWave Staff
  • Posts: 103
  • Karma: 4
  • Thank you received: 13
Sorry, I had a drive crash late last year so I don't have the source code for it anymore. The new client-side script custom fields are probably more appropriate for something like this. I believe the script was returning the results from a "manage-bde -status c:" command. More info on manage-bde can be found here - docs.microsoft.com/en-us/windows-server/...-commands/manage-bde
  • Page:
  • 1