How to reset a PC's Passphrase
The platform passphrase is used to secure connections between Niagara Workbench and Stations/Supervisors. If you've forgotten the passphrase or need to reset it for security reasons, this guide provides step-by-step instructions.
Overview
The platform passphrase:
- Secures Connections: Protects Workbench-to-Station connections
- Prevents Unauthorised Access: Requires passphrase for platform connections
- Stored Locally: Passphrase is stored on the local PC
- Per-User: Each Windows user account has its own passphrase
Understanding Passphrase Storage
Storage Location
The passphrase is typically stored in:
- Windows User Profile: User-specific location
- Niagara Configuration: Niagara configuration directory
- Encrypted Format: Stored in encrypted form for security
Passphrase Scope
- User-Specific: Each Windows user has separate passphrase
- Station-Specific: May be configured per Station connection
- Platform-Wide: Can be set for all platform connections
Step-by-Step Reset Process
Method 1: Reset via Workbench (Recommended)
Step 1: Open Workbench
- Launch Niagara Workbench
- If prompted for passphrase, proceed to reset process
Step 2: Access Platform Settings
- Go to File → Preferences
- Navigate to Platform section
- Look for Passphrase or Security settings
Step 3: Reset Passphrase
- Locate Change Passphrase or Reset Passphrase option
- Click the reset option
- Enter new passphrase (if required)
- Confirm new passphrase
- Click OK to save
Step 4: Reconnect to Stations
- Close and reopen Workbench if necessary
- Reconnect to Stations using new passphrase
- Verify connections work correctly
Method 2: Reset via Command Line
Step 1: Open Command Prompt
- Press Windows Key + R
- Type
cmdand press Enter - Navigate to Niagara installation directory (if needed)
Step 2: Locate Platform Tools
- Navigate to Niagara bin directory
- Look for platform management tools
- Use appropriate command-line tool for passphrase reset
Step 3: Execute Reset Command
Run the passphrase reset command (exact command varies by Niagara version):
niagara-platform -reset-passphrase
Or:
java -jar platform-tools.jar -reset-passphrase
Method 3: Manual Configuration Reset
Step 1: Close Workbench
- Ensure Niagara Workbench is completely closed
- Close all Workbench windows
- Verify no Workbench processes are running
Step 2: Locate Configuration Files
Navigate to Niagara configuration directory:
- Typical location:
C:\Users\[Username]\Niagara\or C:\Niagara\or%APPDATA%\Niagara\
Step 3: Backup Configuration
- Create backup of configuration directory
- Copy entire configuration folder to backup location
- This allows restoration if needed
Step 4: Remove Passphrase Files
-
Look for passphrase-related files:
passphrase.datplatform.pwdsecurity.properties- Similar security/passphrase files
-
Delete or rename these files
-
Warning: Be careful not to delete other important files
Step 5: Restart Workbench
- Launch Niagara Workbench
- Workbench will prompt for new passphrase
- Enter new passphrase
- Confirm passphrase
Method 4: Reset via Registry (Advanced)
Warning: Registry editing can cause system issues. Use with caution.
Step 1: Open Registry Editor
- Press Windows Key + R
- Type
regeditand press Enter - Navigate with caution
Step 2: Locate Niagara Registry Keys
Navigate to:
HKEY_CURRENT_USER\Software\Tridium\Niagara
Or:
HKEY_LOCAL_MACHINE\SOFTWARE\Tridium\Niagara
Step 3: Find Passphrase Entries
Look for passphrase-related registry values:
PassphrasePlatformPassphraseSecurityPassphrase
Step 4: Delete or Modify Values
- Backup registry before making changes
- Delete or modify passphrase registry values
- Close Registry Editor
Step 5: Restart Workbench
- Launch Workbench
- Enter new passphrase when prompted
Setting a New Passphrase
Passphrase Requirements
When setting a new passphrase:
- Length: Typically 8-32 characters (check your version requirements)
- Complexity: Use mix of letters, numbers, and special characters
- Security: Choose a strong, memorable passphrase
- Documentation: Securely document passphrase for team access
Best Practices
- Strong Passphrase: Use complex passphrase for security
- Secure Storage: Store passphrase securely (password manager)
- Team Access: Ensure team members have access to passphrase
- Regular Updates: Consider periodic passphrase updates
Troubleshooting
Passphrase Not Accepted
If new passphrase is not accepted:
- Check Requirements: Verify passphrase meets requirements
- Re-enter Carefully: Ensure passphrase is entered correctly
- Case Sensitivity: Check if passphrase is case-sensitive
- Special Characters: Verify special characters are supported
- Reset Again: Try reset process again
Cannot Connect After Reset
If unable to connect to Stations after reset:
- Station Passphrase: Verify Station passphrase matches (if required)
- Connection Settings: Check connection settings in Workbench
- Network Connectivity: Verify network connectivity to Station
- Station Status: Verify Station is running and accessible
- Firewall: Check firewall settings
Multiple User Accounts
If multiple users need access:
- Per-User Passphrase: Each user sets their own passphrase
- Shared Passphrase: Consider using same passphrase for team
- Documentation: Document passphrase for team access
- Access Control: Use Windows user accounts for access control
Passphrase Forgotten Again
To prevent future issues:
- Documentation: Document passphrase securely
- Password Manager: Use password manager for storage
- Team Access: Ensure team has access to passphrase
- Recovery Process: Document recovery process for team
Security Considerations
Passphrase Security
- Strong Passphrases: Use strong, complex passphrases
- Regular Updates: Periodically update passphrases
- Access Control: Limit who knows the passphrase
- Secure Storage: Store passphrases securely
Recovery Planning
- Documentation: Document passphrase reset process
- Backup: Keep backups of configuration files
- Team Knowledge: Ensure team knows recovery process
- Support Contact: Know who to contact for assistance
Related Topics
Additional Resources
- Niagara 4 Security Guide
- Platform Authentication Documentation
- Password Management Best Practices