To install USB Network Gate, take the following steps:
1) Copy the software files to the redistribution package
2) Install USB Network Gate drivers
3) Install and start the Service
4) Install the RDP plugin
Copy the software files to the redistribution package:
1) Driver files:
Copy the following folders to the redistribution package:
● NT6 for 32-bit Windows 7, 8, 8.1
● NT6x64 for 64-bit Windows 7, 8, 8.1 and Windows Server 2008R2, 2012, 2012R2
● NT10 for 32-bit Windows 10
● NT10x64 for 64-bit Windows 10, 11, Windows Server 2016 and higher.
● NTxARM64 for 64-bit Windows 10, 11 on ARM
This table shows you the folder content and its description:
File | Description |
fusbhub.sys | Filter driver for USB devices |
UsbStub.inf | .INF file required for for correct USB stub installation |
eusbstub.sys | Stub driver for shared USB devices |
UsbOverTcp.cat | Catalogue of files required for drivers signature |
setup_server_ung.exe | EXE file which is needed for the installation/uninstallation of the USB Network Gate drivers |
vuh.inf | .INF file required for correct virtual USB hub installation |
vuhub.sys | Virtual USB Hub driver |
*Files for USB device isolation: | |
sessapart.sys | Device isolation driver |
sessapart.inf | .INF file required for correct driver isolation |
sessapart.cat | Catalogue of files that contains the necessary information for drivers signature |
**Files for USB 3.0 SuperSpeed support: | |
vuhub3.cat | Catalogue of files that contains the necessary information for drivers signature |
vuhub3.inf | .INF file required for correct installation of virtual USB 3.0 hub |
vuhub3.sys | Virtual USB 3.0 hub driver |
*The device isolation option is supported in the USB Network Gate versions for Windows 8 + and Windows Server 2012 +.
**Virtual USB 3.0 hub (USB 3.0 SuperSpeed support) is available in the USB Network Gate versions for Windows 10 + and Windows Server 2016 +.
2) Service files:
For 32-bit platforms:
1. UsbService.exe - USB Network Gate service file.
2. ung.act - service registration file. (Click here to learn how to get it.)
For 64-bit platforms:
1. UsbService64.exe - USB Network Gate service file.
2. ung.act - service registration file. (Click here to learn how to get it.)
3) Dynamic link libraries:
For 32-bit platforms:
1. U2ec.dll - service management library.
2. Auth.dll - DLL file which is needed if you are going to use password authentication for connections to your devices.
3. Usb4rdp32.dll - DLL file which is needed for using USB Network Gate in an RDP session.
For 64-bit platforms:
1. U2ec64.dll - service management library.
2. Auth64.dll - DLL file which is needed if you are going to use password authentication for connections to your devices.
3. Usb4rdp64.dll - DLL file which is needed for using USB Network Gate in an RDP session.
For ARM-based systems:
1. U2ec64.dll - service management library.
2. Auth64.dll - DLL file which is needed if you are going to use password authentication for connections to your devices.
3. Usb4rdparm64.dll - DLL file which is needed for using USB Network Gate in an RDP session.
How to get the ung.act file
ung.act is a file that contains information about your license. In order to get it, you need to activate the software on the developer’s machine.
To activate USB Network Gate, take the following steps:
1. Launch USB Network Gate and select Help > Enter activation code from the main menu.
2. In the Activation window, type the SDK activation code you have obtained from us and click the Activate button.
After the activation, the file ung.act will be located in the following directory:
"%ProgramData%\Electronic Team\UNG"
Note: Once the software is activated, you will be able to find the ung.act file by selecting SDK > Get activation file in the main menu.
After the activation, the GUI might stop working on the developer’s computer. If you want to continue utilizing the proprietary user interface, you can reactivate USB Network Gate using your Single License activation code.
Note: The software should be reactivated after you copy the ung.act file to your installer.
When your application is being installed on a user computer, the ung.act file should be placed in the same folder as the UsbService.exe file.
Note: There may already be an old ung.act file on a user computer if USB Network Gate has been installed there before. This can be checked at the following path:
%ProgramData%\Electronic Team\UNG\ung.act
If so, the old file has to be replaced with your current ung.act file.
Install the USB Network Gate drivers
Once you have copied the software files to the redistribution package, you should install the
USB Network Gate drivers:
1. Select the folder depending on your operating system:
● NT6 for 32-bit Windows 7, 8, 8.1
● NT6x64 for 64-bit Windows 7, 8, 8.1 and Windows Server 2008R2, 2012, 2012R2
● NT10 for 32-bit Windows 10
● NT10x64 for 64-bit Windows 10, 11 and Windows Server 2016, 2019
● NTxARM64 for 64-bit Windows 10, 11 on ARM
2. Find the file setup_server_ung.exe in the folder that you selected and execute it.
Install and register the Service
In order to install the Service, run the following commands:
To install and register the Service: UsbService.exe install or UsbService64.exe install
To start the Service: UsbService.exe enable or UsbService64.exe enable
Note: The Service file should be selected according to your operating system:
UsbService.exe for 32-bit platforms
UsbService64.exe for 64-bit platforms
Install the RDP plugin
To be able to use USB Network Gate in an RDP session, the usb4rdp.dll (usb4rdp64.dll) file should be registered on the target PC. To do this, follow the steps below:
1. Add the following key to the Registry:
HKEY_CURRENT_USER\Software\Microsoft\Terminal Server
Client\Default\AddIns\usb4rdp
2. Create a string type variable with the name "Name". The variable should contain the full
path to the plugin:
usb4rdp32.dll - for 32-bit systems
usb4rdp64.dll - for 64-bit systems
usb4rdparm64.dll - for ARM64-based systems
The required plugin can be found in the following location: %ProgramFiles%\Electronic Team\UNG
Install the Device Isolation Components
1. To install the USB Network Gate Device Isolation Components on your computer, execute the setup_server_ung.exe file with the parameter “/i”:
Setup_server_ung.exe /i
Note: When installing the software drivers, you should execute only one of these commands:
Setup_server_ung.exe /i - to install the USB Network Gate drivers with the Device Isolation
Components.
Setup_server_ung.exe - to install only the USB Network Gate drivers.
2. Restart your computer.