Forum / NoMachine for Windows / Installation for Active Directory/work-managed machines
- This topic has 4 replies, 2 voices, and was last updated 2 years, 1 month ago by Cato.
-
AuthorPosts
-
October 19, 2022 at 17:13 #40840andowtParticipant
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?
October 21, 2022 at 10:39 #40863CatoParticipantHello 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/DT07S00243Send logs to forum[at]nomachine[dot]com, referencing the topic in the email subject.
October 21, 2022 at 14:28 #40866andowtParticipantHi 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
October 25, 2022 at 09:32 #40928andowtParticipantHi Cato,
Just wondering if there is any update on this since Ive sent the logs across?
Thanks
Andy
October 25, 2022 at 12:43 #40947CatoParticipantHi,
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
-
AuthorPosts
This topic was marked as closed, you can't post.