How to find a PC's Host ID
The Host ID is a unique identifier for a computer that is used for Niagara 4 licensing and platform authentication. This guide covers multiple methods to find the Host ID on Windows systems.
Overview
The Host ID is typically derived from the computer's network adapter MAC address or hardware identifiers. It's used to:
- License Activation: Activate Niagara 4 licenses tied to specific hardware
- Platform Authentication: Authenticate platform connections
- License Management: Manage and track licensed installations
Methods to Find Host ID
Method 1: Using Niagara Workbench
This is the most reliable method for Niagara-specific Host ID:
- Open Niagara Workbench
- Navigate to Help → About Niagara Workbench
- Look for Host ID or Machine ID in the information displayed
- The Host ID will be displayed as a hexadecimal string
Alternatively:
- In Workbench, go to File → Preferences → Platform
- The Host ID may be displayed in platform connection settings
Method 2: Using Command Prompt (Windows)
- Open Command Prompt as Administrator
- Type the following command and press Enter:
ipconfig /all
- Look for Physical Address under your active network adapter
- The MAC address (e.g.,
00-1A-2B-3C-4D-5E) is often used as Host ID - Remove hyphens to get the Host ID format (e.g.,
001A2B3C4D5E)
Method 3: Using PowerShell
- Open PowerShell as Administrator
- Run the following command:
Get-NetAdapter | Where-Object {$_.Status -eq "Up"} | Select-Object Name, MacAddress
- Note the MAC address of the active network adapter
- Remove colons to get Host ID format
For more detailed information:
Get-WmiObject Win32_NetworkAdapterConfiguration | Where-Object {$_.IPEnabled -eq $true} | Select-Object Description, MACAddress
Method 4: Using System Information
- Press Windows Key + R to open Run dialog
- Type
msinfo32and press Enter - Navigate to Components → Network → Adapter
- Look for MAC Address of your active network adapter
- Note the MAC address format
Method 5: Using Niagara Platform Service
If Niagara Platform Service is running:
- Open Services (services.msc)
- Locate Niagara Platform Service
- Check service properties or logs for Host ID information
Alternatively, check the platform configuration files:
- Navigate to Niagara installation directory
- Look for platform configuration files
- Host ID may be stored in configuration or license files
Method 6: Using Registry (Advanced)
For advanced users:
- Press Windows Key + R, type
regedit, press Enter - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Tridium\Niagara - Look for Host ID or Machine ID entries
- Warning: Be careful when editing registry
Understanding Host ID Formats
Common Formats
- MAC Address Based:
001A2B3C4D5E(12 hexadecimal characters) - Hardware ID Based: May include additional hardware identifiers
- Niagara Specific: May be formatted differently by Niagara software
Format Variations
Host IDs may appear in different formats:
- With separators:
00-1A-2B-3C-4D-5Eor00:1A:2B:3C:4D:5E - Without separators:
001A2B3C4D5E - Uppercase or lowercase:
001a2b3c4d5eor001A2B3C4D5E
Which Network Adapter to Use
Primary Adapter Selection
Niagara typically uses:
- Ethernet Adapter: Wired network adapter (preferred)
- First Active Adapter: First adapter that is enabled and connected
- Physical Adapter: Physical network adapter (not virtual adapters)
Identifying the Correct Adapter
To identify which adapter is used:
- Check Active Connections: Identify which adapter has an active network connection
- Primary Adapter: Usually the Ethernet adapter if present
- Virtual Adapters: Exclude virtual adapters (VMware, VirtualBox, etc.)
- Wi-Fi vs Ethernet: Ethernet is typically preferred over Wi-Fi
Troubleshooting
Host ID Not Found
If Host ID cannot be found:
- Multiple Adapters: Check all network adapters
- Adapter Status: Ensure network adapter is enabled
- Niagara Installation: Verify Niagara is properly installed
- Administrator Rights: Ensure you have administrator privileges
- Alternative Methods: Try different methods listed above
Host ID Changed
If Host ID appears to have changed:
- Network Adapter Change: Host ID may change if network adapter is replaced
- MAC Address Spoofing: Check if MAC address has been modified
- Virtual Adapters: Virtual adapters may have different MAC addresses
- License Issues: Host ID changes may affect license activation
Multiple Host IDs
If multiple Host IDs are found:
- Primary Adapter: Use the Host ID from the primary network adapter
- Ethernet First: Prefer Ethernet adapter over Wi-Fi
- Physical Adapter: Use physical adapter, not virtual
- Niagara Selection: Niagara will select the appropriate adapter automatically
Best Practices
Documentation
- Record Host ID: Document Host ID for each licensed computer
- License Tracking: Keep records linking Host IDs to license keys
- Change Management: Document when Host IDs change
License Management
- Pre-Activation: Obtain Host ID before license activation
- Verification: Verify Host ID matches license requirements
- Backup: Keep records of Host IDs for license recovery
Network Configuration
- Static MAC: Consider using static MAC addresses if supported
- Adapter Priority: Configure adapter priority if multiple adapters exist
- Virtual Adapters: Be aware of virtual adapter impact on Host ID
Related Topics
Additional Resources
- Niagara 4 Licensing Guide
- Windows Network Configuration Documentation
- MAC Address Lookup Tools