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.

Answer Summary:
netsh firewall set service type=FILEANDPRINT mode=ENABLE netsh firewall set service type=REMOTEDESKTOP mode=ENABLE
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

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

 

Answered 02/25/2013 by: SMal.tmcc
Red Belt

  • http://technet.microsoft.com/en-us/library/cc771920(v=ws.10).aspx
    http://technet.microsoft.com/en-us/library/cc771046(v=ws.10).aspx
  • Tested and working well.

    netsh firewall set service type=FILEANDPRINT mode=ENABLE
    netsh firewall set service type=REMOTEDESKTOP mode=ENABLE
Please log in to comment
Answer this question or Comment on this question for clarity