WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

System Info

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Obtain Misc Pieces of System Information

Keywords:   system information

Question:

How can I find out the following for Windows 95 clients via Winbatch script:
  1. NW 32 client (if exist)
  2. NW 32 client version
  3. Machine BIOS date
  4. Windows 95 Version A or B
  5. NT domain name (I tried w9xuserinfo(1) but it doesn't work)
  6. MAC Address
  7. Processor speed
Thank you...

Answer:

>>1) NW 32 client (if exist)
Check to see if the following registry key exists:
HKLM\Network\Novell

>>2) NW 32 client version
Refer to the Dword values under the following registry key:
HKLM\Network\Novell\System Config\Install\Client Version
Please note that this information came from Novell Client 32 for Win9x, v3.10 SP1. The version information is generally valid for all v3.x of Client 32 for Win9x. I cannot guarantee what a pre-v3.x client will do w/respect to populating these registry values with version information.
>>3) Machine BIOS date
Searching the registry keys [and values] under the following registry key will generally return some BIOS information. I don't know if this information gets updated after the initial Win9x installation. For example, if you upgrade your system by installing a new mother board or if flash update your BIOS or replace your BIOS chip, this information might get stale.
HKLM\Enum\Root
I vaguely remember seeing some other posts here in the past that discussed obtaining Win9x BIOS information in more detail.
>>4) Windows 95 Version A or B
>
> WinVersion(3)
>
Also refer to the registry values under the following registry key:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion

>
>>5) NT domain name (I tried
>>w9xuserinfo(1) but it doesn't
>>work)
If the Microsoft Client for Microsoft Networks is being used to logon to a domain then the following registry value will exist and will contain the domain name:
HKLM\System\CurrentControlSet\Services\MSNP32\NetworkProvider[AuthenticatingAgent]

>
>>6) MAC Address
>
>If using NW client, n4AddrGet
>might do it
>
Very ugly task. Many methods exist, none of which is perfect. Try going to the WindowWare support site by bringing up http://www.windowware.com and then clicking on the technical support link. Search the database for MAC or ethernet address.

I can think of a very good way to do it, but it involves the use of a packet driver that is dynamically loadable. There are some device control functions that can be called in the Win32 API (differently handled on Win9x vs. WinNT) that will reliably get the MAC address of a network adapter when using a specially written packet driver.


>
>>7) Processor speed
>
Check out the CPU Extender or third party tools.
Article ID:   W14974
File Created: 2001:11:08:12:41:14
Last Updated: 2001:11:08:12:41:14