Follow the steps below to create the necessary Windows Firewall rules for NetVault 13.X.X processes using a PowerShell script. If you have any additional plugins, you will need to modify the script to include the binary and path for each plugin.
Step 1: Prepare the PowerShell script
Copy the PowerShell script below, which creates inbound and outbound rules for specified NetVault processes:
# Define the processes and their locations $processes = @{ "nvpmgr" = "C:\Program Files\Quest\NetVault\bin\nvpmgr.exe" "nvconsolesvc" = "C:\Program Files\Quest\NetVault\bin\nvconsolesvc.exe" "nvstatsmngr" = "C:\Program Files\Quest\NetVault\bin\nvstatsmngr.exe" "nvwpview" = "C:\Program Files\Quest\NetVault\bin\nvwpview.exe" "nvcoreplg" = "C:\Program Files\Quest\NetVault\bin\nvcoreplg.exe" "nvraw" = "C:\Program Files\Quest\NetVault\bin\nvraw.exe" "nvfs" = "C:\Program Files\Quest\NetVault\plugins\filesystem\nvfs.exe" "nvsqlserver" = "C:\Program Files\Quest\NetVault\plugins\sqlserver\nvsqlserver.exe" } # Add any additional application plugin installed # Loop through the processes and create inbound and outbound rules for each process foreach ($processName in $processes.Keys) { $processPath = $processes[$processName] # Create the inbound rule New-NetFirewallRule -DisplayName "Inbound Rule - $processName" -Direction Inbound -Program $processPath -Action Allow -Profile Domain,Private,Public -Enabled True # Create the outbound rule New-NetFirewallRule -DisplayName "Outbound Rule - $processName" -Direction Outbound -Program $processPath -Action Allow -Profile Domain,Private,Public -Enabled True }
Save the script as a PowerShell (.ps1) file (e.g., CreateFirewallRules.ps1
).
Step 2: Run the PowerShell script
Open PowerShell with administrative privileges by right-clicking on the PowerShell icon and selecting "Run as administrator".
Navigate to the directory where the script is located and execute the script by running the following command:
.\CreateFirewallRules.ps1
This command will create the necessary inbound and outbound firewall rules for the specified NetVault processes.
Step 3: Verify the firewall rules
Press Win + R
to open the Run dialog.
Type wf.msc
and press Enter to open the Windows Firewall with Advanced Security console.
Navigate to "Inbound Rules" and "Outbound Rules" to check for the newly created rules corresponding to the NetVault processes. You should see the rules with the display names "Inbound Rule - [processName]" and "Outbound Rule - [processName]" for each process specified in the script.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center