/build/static/layout/Breadcrumb_cap_w.png

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
Posted by: SMal.tmcc 11 years ago
Red Belt
1

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
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ