ntnxcollector_precheck.ps1 is not working with german active directory | Nutanix Community
Skip to main content
Solved

ntnxcollector_precheck.ps1 is not working with german active directory

  • February 19, 2021
  • 6 replies
  • 147 views

Forum|alt.badge.img
  • Adventurer
  • 7 replies

I tried to use the precheck script on one of our Hyper-V servers.

Everything works fine, but I get the error message ".... not a Domain Admin." even though my user is a domain admin. I think this might be related to the fact that the Domain Admins group is called "Domänen-Admins".

Has anyone seen something like this before?

Best answer by Arun Vijapur

FYI, this issue is resolved in Collector 3.3 which was launched earlier this month.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

6 replies

Forum|alt.badge.img
  • Author
  • Adventurer
  • 7 replies
  • February 19, 2021

Thats the output i´m getting inside the collector:

 

 

Remote Powershell from the mgmt-server to the Hyper-V-Host is working fine.

 

ntnxcollector.log:

2021-02-19 14:56:21,528  INFO:  No old dump exists
2021-02-19 14:56:42,531  ERROR:  HYPERV_PRECHECK_ERROR
 


Forum|alt.badge.img+2
  • Nutanix Employee
  • 4 replies
  • February 19, 2021

There can be multiple reasons for this occurring.  @Arun Vijapur can you reach out


  • Nutanix Employee
  • 32 replies
  • February 19, 2021

This is a known issue and will be fixed in the upcoming release. 

As a workaround: Create a "Domain Admins" (English) group in the OU wherever your localized Domain Administrator group is. Then add the user you plan to use into the newly created "Domain Admins" group. Update your group memberships on the Hyper-V Hosts and then collector should work fine.

By the way, it is recommended to use Hyper-V (Local) mode of connection unless your cluster host operating system is Windows Core addition. 


Forum|alt.badge.img
  • Author
  • Adventurer
  • 7 replies
  • February 22, 2021

Thanks for your answer. What do you mean by “Update group memberships on the Hyper-V Hosts?” Do I need to add the created “Domain Admins” group to the Hyper-V admins?


  • Nutanix Employee
  • 32 replies
  • February 22, 2021

Hello Erik,

The group memberships or changes to Active Directory are not immediately refreshed on the Windows host. For the host to pick up the newly added “Domain Admins” group, you got to manually refresh the group memberships if you want to use Collector immediately. 

Simple user (the username which is used to connect via Collector) logoff & login should refresh the group memberships. Here is a thread that talks about ways to refresh without user logoff or restart of the system:

http://woshub.com/how-to-refresh-ad-groups-membership-without-user-logoff/

Hope this helps, let me know if you have questions.


  • Nutanix Employee
  • 32 replies
  • Answer
  • March 18, 2021

FYI, this issue is resolved in Collector 3.3 which was launched earlier this month.