On a server on which i do not have admin rights we get discovery errors for the fileserver role
The responsible group sais this server does not have the fileserver role, but in scom it is discoverd, there is an instance of the class 'File Services Role (Windows Server 2012 R2)'
The process started at 14:09:38 was unable to create System.Discovery.Data; no errors were detected in the output. The process closed with 3221225794
Command executed: "C: \ Windows \ system32 \ cscript.exe" / nologo "DFSN63FileServerRoleDiscovery.vbs" {EF2CD78D-8437-FEC3-3DF4-D1D99F381B17} {F02CC7ED-92D2-B010-3EA5-900F0FD12492 }ACED
Workbook: C: \ Program Files \ Microsoft Monitoring Agent \ Agent \ Health Service State \ Monitoring Host Temporary Files 3738 \ 15388 \
Workflow Name: Microsoft.Windows.FileServer.DFSN.6.3.FileServerRelationDiscovery
So I've looked up the discovery responsible for creating this class and that seems to be
Microsoft.Windows.FileServices.6.3.Discovery
And as far as i see this only runs a wmi query:
SELECT ID, Name FROM Win32_ServerFeature WHERE ID = '6'
I tried to run this query on the server via powershell and on another server of which i'm sure it never had the role and on both servers this query hangs forever.
Any idea how i can find out why it's still discoverd as fileserver role?
Ronald