Connecting to NoMachine on Windows requires password

Forum / NoMachine for Windows / Connecting to NoMachine on Windows requires password

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #49143
    Practice
    Participant

    Hello

    I use NoMachine 8.13.1 under Windows 11.
    I cannot connect, whether locally or remotely, without being asked for a password which has not been defined on the server, on the client, or on the PCs. The only solution is to request guest access. Can you help me resolve this issue?
    Thanks a lot in advance
    Regards

    #49148
    Britgirl
    Keymaster

    Hi, please take a look at the following article:

    How to connect to Windows with NoMachine and an empty password
    https://kb.nomachine.com/AR05L00802

    You have two options. Configure your account to use a password, which is strongly recommended, or configure your Windows OS to open the appropriate policy to allow remote access without a password.

    #49178
    Practice
    Participant

    hi!

    Thanks for your help

    I try this option :

    https://answers.microsoft.com/fr-fr/windows/forum/all/r%C3%A9solu-connexion-au-bureau-%C3%A0-distance/2e6a053a-8782-4cdc-a613-5c3eee2e269a

    But it seems that it is not working properly…..
    In all cases there has been no password created since the installation of the OS, whether
    in client or server, and yet Nomachine asks me for a password. Even when I don’t fill
    in the box I have a connection failure

    #49194
    Britgirl
    Keymaster

    I don’t know what those instructions are about but you should be looking in the official documentation from MS. There are also multiple tech websites providing the steps on how to configure the policy.

    Connecting without a password is not something we recommend, as the article I pasted earlier mentions. Using NoMachine’s own User DB is a possible option. You can create a user and password only for NoMachine usage. It avoids interfering with Windows registry keys and avoids changing your local user account configuration.

    – Open notepad or other text editor as administrator
    – Open server.cfg, which is in %ProgramFiles%/NoMachine/etc
    – Find, uncomment (ie. delete the # sign from the beginning of the line) the following keys and save:
    EnableUserDB 1
    EnablePasswordDB 1
    – Open CMD or powershell as administrator and execute: cd C:\ProgramData\NoMachine\nxserver
    – Execute nxserver.exe --useradd USER where USER is your account without password. Then you will be asked to create password. That password will work only for nx connections. It doesn’t change your local account configuration.

    Then, go to the device you want to connect from and insert the user credentials with the password you created on the Windows server.

    #49197
    Practice
    Participant

    Hi !

    Thank you so much again !

    This is THE solution….it works perfectly. You are the boss !!

    U can mark the topic resolved

     

    Regards

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.