Windows credential issue

Hank Woo
Tera Guru

Hello All,

 

I'm new in ITOM. Please understand my stupid quistion.

 

I'm trying to discover Windows Servers by Windows MID server.

I made Win credential but it doesn't work.

 

I already disabled firewall both MID server and Win host.

And also test RDP connection between MID to Win host and Win host to MID, but fine.

 

Is there anything that I need to check?

1 ACCEPTED SOLUTION

@Hank Woo 

 

Then it has something to do with the credentials you are using to connect from the mid server to your windows host. To troubleshoot this further, try running a remoting command from your mid server to your windows host. You can make use of PowerShell Invoke-Command to test this. Something like this :

 

Invoke-Command -ComputerName 'your windows os hostname or ip' -Credential Get-Credential -ScriptBlock {
    hostname
}

 

Run this command and supply the credentials you were using to test it from ServiceNow. If you don't get the hostname of the remote machine returned as an output, you need to check your credentials.

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

View solution in original post

9 REPLIES 9

@Hank Woo 

 

It doesn't matter until you ensure that connectivity is established between your Mid Server and the Windows host. Can you check for connectivity first from your mid server ? If connectivity is established, check if you have WMI access on the Windows Host from the Mid server by running the below PowerShell command from the mid server :

 

Get-WmiObject -query "SELECT * FROM Win32_OperatingSystem" -ComputerName "Your Windows host Hostname"

 

Refer https://activedirectorypro.com/test-wmi-connection-with-powershell/

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

@Amit Verma ,

 

Thank for fast response,

 

HankWoo_0-1710738689957.png

"Get-WmiObject" command is seems like OK on both way.

MID to Windows OS and Windows OS to MID

@Hank Woo 

 

Then it has something to do with the credentials you are using to connect from the mid server to your windows host. To troubleshoot this further, try running a remoting command from your mid server to your windows host. You can make use of PowerShell Invoke-Command to test this. Something like this :

 

Invoke-Command -ComputerName 'your windows os hostname or ip' -Credential Get-Credential -ScriptBlock {
    hostname
}

 

Run this command and supply the credentials you were using to test it from ServiceNow. If you don't get the hostname of the remote machine returned as an output, you need to check your credentials.

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

@Amit Verma 

 

I got error from Invoke-Command and resolve the error message.

Finally, I can discover my Windows host.

HankWoo_0-1710742992990.png

 

Thanks a lot!

 

Best regards,

Hank.

Harish Bainsla
Kilo Patron
Kilo Patron

Hi please check below things

  1. Check Credential Configuration: Ensure that the credentials you've configured in your ITOM platform are correct and have the necessary permissions to access the Windows Servers. Make sure you've provided the appropriate username and password.

  2. Check MID Server Configuration: Verify that the Windows MID server is properly configured and running. Ensure that it has network connectivity to the Windows Servers you're trying to discover.