Registry Keys in Windows Firewall
I have the registry key to allow Remote Desktop: start /wait reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /d 0 /T REG_DWORD /f
I also need the reg add for File and Printer Sharing and Remote Desktop.
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
netsh firewall set service type=FILEANDPRINT mode=ENABLE netsh firewall set service type=REMOTEDESKTOP mode=ENABLE
netsh firewall set service type=FILEANDPRINT mode=ENABLE netsh firewall set service type=REMOTEDESKTOP mode=ENABLE
Please log in to answer
Posted by:
SMal.tmcc
11 years ago
for the firewall use netsh
netsh firewall set service type = FILEANDPRINT mode = ENABLE
http://www.windowsitpro.com/article/windows-server/windows-firewall-netsh-commands-142324
Comments:
-
http://technet.microsoft.com/en-us/library/cc771920(v=ws.10).aspx
http://technet.microsoft.com/en-us/library/cc771046(v=ws.10).aspx - SMal.tmcc 11 years ago -
Tested and working well.
netsh firewall set service type=FILEANDPRINT mode=ENABLE
netsh firewall set service type=REMOTEDESKTOP mode=ENABLE - akilpatrick 11 years ago