Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, August 20, 2015 3:16 AM
I recently re did my server 2012 r2 and my windows 10 golden VM
I've added these to batch file to run at the end of deployment
sc config "remoteregistry" start= auto
sc start "remoteregistry"
sc config "winrm" start= auto
sc start "winrm"
REG add "HKLM\SYSTEM\CurrentControlSet\services\WinRM" /v Start /t REG_DWORD /d 2 /f
REG add "HKLM\SYSTEM\CurrentControlSet\services\RemoteRegistry" /v Start /t REG_DWORD /d 2 /f
The services are started on the golden vm but commands don't work
The work from my virtual server to my physical machine and vice versa
am I missing something else that needs to be enabled?
All replies (5)
Friday, August 21, 2015 2:59 AM ✅Answered
close the thread
followed https://4sysops.com/archives/enable-powershell-remoting/
Thursday, August 20, 2015 4:03 AM
No idea what you question is.
This is a PowerShell forum and you are posting batch commands. Why?
If you are asking why Test-Connection fails then please understand that Test-Connection has nothing to do with remoting. Test connection is luke "ping" it just checks to see if the remote system is connected.
All of these things require special firewall settings. You cannot set the firewall remotely.
\(ツ)_/
Thursday, August 20, 2015 7:05 PM
DNS-entry is ok?
Test it with nslookup.
Is the correct IP-Adress returned?
Greetings,
David das Neves
Technology Specialist - Consulting Services
Computacenter AG & Co. oHG - München
Caution: This post may contain errors.
Friday, August 21, 2015 2:01 AM
No idea what you question is.
This is a PowerShell forum and you are posting batch commands. Why?
If you are asking why Test-Connection fails then please understand that Test-Connection has nothing to do with remoting. Test connection is luke "ping" it just checks to see if the remote system is connected.
All of these things require special firewall settings. You cannot set the firewall remotely.
\(ツ)_/
I'm well aware of what forum I'm asking this in..
My problem is test-connection does not work to a VM where it should be working.
I've set zero firewall rules on my actual windows 10 physical but I can run a test-connection from my physical machine to my server and vice versa
I can run a test-connection from my Windows 10 VM to my Server VM and my physical machine
test-connection does NOT work from my VM Server nor from my physical Windows 10 machine to my win10 VM
Does that make sense?
@David
nslookup from my server to the VM says
localhost can't find win10: non-existent domain
Friday, August 21, 2015 3:05 AM | 1 vote
Test-Connection does not use remoting. It uses Net classes.
\(ツ)_/