NoMachine Support

Your questions answered

Knowledge Base

Searching in: Articles & FAQs
Filter the search results
Applies to:
Last update:
Searching in: Articles & FAQs
ID: AR04L00800
Applies to: NoMachine Server
Added on: 2014-04-30
Last update: 2018-11-22
Disabling the automatic start-up of NoMachine at boot time

Disabling the automatic start-up of NoMachine at boot time doesn't stop all NoMachine services, unless the machine is rebooted.

To stop immediately all services it's necessary to shutdown NoMachine.

If you're using NoMachine v. 6, see also:

How to shutdown NoMachine and disable the automatic startup at the next boot

This will stop all the server side services and prevent connections to your computer:

- Click on the Monitor (the !M icon)  in the system tray to open the menu.

- Click on 'Show the service status' ( 'Show the connection status' or  'Show the server status' for v. 5 and 4)

- Choose 'Shut down the server'

   Note that in v. 5 and 4, click on 'Show the connection status' for the free version or on  'Show the server status'.

- You will be asked whether you want to restart the server or not at the next boot.

- Click on 'No'.




I - You will still be able to use the NoMachine as a client to connect to other NoMachine-enabled computers and desktops.

II - you can start NoMachine manually at any moment, via UI: in the 'Show the service status' choose 'Restart the server'

III- Starting from v. 6, you can also disable access to your computer without stopping all services by toggling the 'Accepting connection is enabled/disabled' option in the !M menu. See also:



For more experienced users, it's also possible to shutdown NoMachine and disable the automatic start at next boot via command line.

On Linux:

sudo /etc/NX/nxserver --shutdown

sudo /etc/NX/nxserver --startmode manual

On Mac:

sudo /etc/NX/nxserver --shutdown

sudo /etc/NX/nxserver --startmode manual

On Windows:

Open the CMD console as administrator and move to the bin folder under the NoMachine installation directory and run:

nxserver --shutdown

nxserver --startmode manual


Alternatively, a manual procedure is possible as explained below.

On Linux
Comment the start, stop and restart commands in the nxserver init script placed in the /etc/init.d/ directory:


#  $ETC_DIR/nxserver --startup


#  $ETC_DIR/nxserver --shutdown --silence


#  $ETC_DIR/nxserver --restart


or remove the nxserver init and rc scripts.  For example on Ubuntu 12.04 such scripts are:



On Mac
Edit the /Library/LaunchDaemons/com.nomachine.server.plist file and set:



Then edit the /Library/LaunchAgents/com.nomachine.localnxserver.plist and set:


If your server supports web sessions, edit also /Library/LaunchDaemons/com.nomachine.nxhtd.plist and set:


or remove the following files:



On Windows

Run a CMD shell as administrator and use the 'sc.exe config NAME start= demand' command to disable the automatic start of services one by one:

> sc.exe config nxservice start= demand
> sc.exe config nxdisplay start= demand
> sc.exe config nxfsd start= demand
> sc.exe config nxfs start= demand
> sc.exe config nxusbf start= demand
> sc.exe config nxusbh start= demand
> sc.exe config nxusbs start= demand
> sc.exe config nxusbd start= demand

and (not necessary for NoMachine free):
> sc.exe config nxsshd start= demand

If your server supports sessions on the web, you also have to run:
> sc.exe config nxhtd start= demand