When running the configure script on a machine that is freshly imaged, I repeatedly get errors. Maybe it’s in the process or steps to which I got it added to domain/configured post imaging, but I figured that I would post here for help if possible.
Background:
The machine is a freshly imaged windows 7 ultimate SP1 machine. With the latest updates as of a couple of months ago. It has symantec endpoint protection installed with the proper FW holes poked to allow communication
I have used this exact same setup on other machines and get it to work properly without issues. I have updated to WMF 4.
The issue is that when running the configuration script, I get an error that states the following below.
`
PS C:> .\test.ps1 -SkipNetworkProfileCheck -CertValidityDays 1865 -ForceNewSSLCert
Self-signed SSL certificate generated; thumbprint: REMOVED
New-WSManInstance : The WinRM client cannot process the request. The certificate CN and the hostname that were
provided do not match.
At C:\test.ps1:216 char:5
- New-WSManInstance -ResourceURI ‘winrm/config/Listener’ -SelectorSet $selecto …
-
- CategoryInfo : InvalidOperation: ( [New-WSManInstance], InvalidOperationException
- FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.NewWSManInstanceCommand
`
Before it is asked, I went out to the site and grabbed the latest copy from here and have also tried to use an older version. Both present the same error. above