NoMachine Support

Your questions answered

Knowledge Base

Searching in: Articles & FAQs
Filter the search results
Applies to:
Last update:
Searching in: Articles & FAQs
ID: AR12O00955
Applies to: NX Software
Added on: 2017-12-21
Last update: 2018-12-05
How to disable or uninstall NoMachine USB drivers on Windows

NoMachine USB drivers are installed on Windows by the Enterprise Client package and by all server packages.

They are necessary to support the forwarding of USB devices such as pendrives inside the NoMachine session.

When it's necessary to de-activate them, depending on which package you have installed, you can:

(i) disable USB drivers, if you have a server installation (e.g. NoMachine free, Enteprise Desktop)

or

(i) completely uninstall them if you have a NoMachine Enterprise Client installation (this can be done also for server installations). 

Instructions below applies to NoMachine v. 6 and 5.
 

(i) How to disable NoMachine USB drivers

This applies only when you have a server, e.g. NoMachine free, installed!

 

All steps are mandatory.

1) Run the CMD console with administrator rights:

right click on the bottom left corner on Windows Desktop -> choose Command Prompt (Admin)

2) Move to <NoMachine>/bin directory

<NoMachine> is the directory where you installed the NoMachine software

3) Remove USB drivers and devices from the system by executing from console:

nxservice64  --uninstall nxusb

or, if you are on a 32 bit machine:

nxservice32  --uninstall nxusb

4) USB service will be in ‘Marked to delete’ status until next reboot:

nxservice64  --status nxusb

5) Disable USB in the NoMachine configuration.

Change the following entry in node.cfg, to grant that the nxusb driver will not be loaded after the reboot.
If you cannot edit and save node.cfg, make a copy of it for example on Desktop, apply the requested changes and replace the original node.cfg file with the new node.cfg file.


Run the Notepad (or other text editor) as administrator and open file <NoMachine>/etc/node.cfg

change entry:

#EnableUSBSharing both

to:

EnableUSBSharing none

and save.

Ensure to move the new file to <NoMachine>/etc/, if you have temporarily copied it somewhere else to edit.

6) Reboot Windows.

To check status of USB service, you can run from console:

nxservice64  --status nxusb

This should report: Not installed


(ii) How to uninstall USB devices

This method is mandatory for Enterprise Client installations, but can be used also for server installations.
 

1) Uninstall the NoMachine USB device:

1.1 - Run the device manager: Control Panel -> Device Manager
1.2 - Remove all "NoMachine USB Host Adapter" device if it exists.

2) Unregister "NoMachine USB Hub Filter"

   2.1 -  Open Windows registry:  Menu Start -> run -> regedit
   2.2 -  Find the following registry key in the tree on the left:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\36fc9e60-c465-11cf-8056-444553540000

  2.3. - Find UPPERFILTERS variable on the right side.

      Note : it should contain list of registered filters, but maybe it's empty if no filter is registered.

      Edit UPPERFILTERS variable and remove entries containing nx prefix (e.g. "nxusbf") if they exist.

3) Reboot the Windows machine.

In some cases, it's necessary to make the whole procedure again once the machine has been rebooted.