IT Systems Engineering

  • IT Systems Engineering

    Troubleshooting Windows Remote (WinRM)

    Here are a few commands which can be run to troubleshoot Windows Remote (WinRM) connectivity (These commands may need to be run on an elevated CMD): This shows you which port and IP addresses WinRM is listening to: winrm e winrm/config/listener This checks if WinRM has some problem: winmgmt  /salvagerepository This shows you the configuration: winrm get winrm/config   I ran these commands on my Hyper-V nodes and VMM server, while troubleshooting connectivity / permission related errors.

  • IT Systems Engineering

    Querying for SPNs

    While troubleshooting connectivity problems in VMM 2012 I had to query AD to check if SPNs have been created for the service account used to run VMM. Here is what I used to query AD: setspn –l Domain_name\VMM_service_account_name Incidentally, this showed me that I have two SPNs for this service account. One was for the current VMM server and the second one was for the old VMM server. I had an old VMM server at one time. Then I killed it and created a new VMM server. I deleted the old SPN using this command: setspn -d SCVMM/VMM_server_name Domain_name\VMM_service_account_name PS: Microsoft PSS told me to do this.