Installation for Active Directory/work-managed machines

Forum / NoMachine for Windows / Installation for Active Directory/work-managed machines

Tagged: , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #40840
    andowt
    Participant

    Hi,

    Ive been trying to get NoMachine installed on my work laptop which is work managed and uses active directory SSO

    When running the installer I get the error message ‘cannot create home directory of nx user’

    When I click OK the installer completes successfully, however I don’t seem to be able to connect to the work machine from my personal laptop – either connection times out or ‘desktop unavailable’

    Are there any additional settings / setup instructions for AD / SSO login?

    #40863
    Cato
    Participant

    Hello andowt,

    You mentioned Active Directory SSO, do you mean Azure AD SSO? Error message ‘cannot create home directory of nx user’ suggests that something went wrong during nx account setup. Perhaps the system administrator imposed restrictions preventing normal user from new account creations. To investigate further we need logs, please follow these instructions explaining logs gathering procedure:

    Collect server side logs automatically
    https://kb.nomachine.com/DT07S00243

    Send logs to forum[at]nomachine[dot]com, referencing the topic in the email subject.

    #40866
    andowt
    Participant

    Hi Cato,

     

    Thanks for looking into this – Ive sent the logs across.

    Yes apologies its Azure AD SSO used for login to my work machine and I think admin have imposed restrictions for account creation.

    In addition when generating the logs I get a couple of errors:

    C:\Program Files\NoMachine\bin>nxserver –debug –collect
    11820 17304 2022-10-21 14:22:34 284.389 HostHomeDirGet: WARNING! Cannot open ‘SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-963237834-2770203445-2737418350-1006’ registry key. Trying to use WMI…
    11820 17304 2022-10-21 14:22:34 300.011 HostHomeDirGet: ERROR! Cannot execute WMI query.
    11820 17304 2022-10-21 14:22:34 300.011 HostHomeDirGet: ERROR! Cannot retrieve home directory for user ‘nx’.
    NX> 900 Procedure to collect logs started.
    NX> 900 Creating log archive.
    NX> 900 Log archive successfully created.
    NX> 900 Archive is: C:\ProgramData\\NoMachine\\var\\log\\archives\\NoMachine-log-2022.10.21-14.22.34.zip
    NX> 900 Procedure to collect logs finished successfully.

    Thanks

    Andowt

    #40928
    andowt
    Participant

    Hi Cato,

     

    Just wondering if there is any update on this since Ive sent the logs across?

     

    Thanks

     

    Andy

    #40947
    Cato
    Participant

    Hi,

    Logs show that ‘nx’ account creation succeeds, but it’s not possible to correctly load user’s profile. It might be due to the aforementioned system administrator restrictions. Other possible cause is corruption of default user profile on your host.You can try to create a few user accounts and check if it’s possible to login on their desktops. If you experience any problems, please refer to this Stack Overflow thread:

    https://superuser.com/questions/947398/cant-login-with-new-local-users-in-windows-10

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

This topic was marked as closed, you can't post.