none
Windows 7 enable and disable Remote desktop connect in FW from Registry

    質問

  • I have a non-critical question.

    We get new PC's in each week to prep (windows 7 OS) and I typicall run this reg file each time so I can then work on the PC from my desk rather than having to get back up and check it every 30 minutes or so.

     

    REGEDIT4

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
    "fDenyTSConnections" =dword:00000000


    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile]
    "EnableFirewall"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa]
    "limitblankpassworduse"=dword:00000000

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    "EnableLUA"=dword:00000000

     

    I was wondering if there was a registry key I could add to this in order to, under control panel, Windows Firewall, allow a porgram or feature through Windows Firewall, and then check or enable Remote desktop. Is that possible? Or do I have to do it manually each time? GPO is not an option. I have to do it from the desktop and from the desktop only.


    Craig Becker
    2011年10月25日 13:26

すべての返信

  • Look at in a command prompt.
     
    netsh firewall set /?
    netsh firewall show /?
     
    --
    ..
    --
    "Craig Becker" wrote in message news:6479b13f-7875-463f-b5ae-bd7197c87972...
    >I have a non-critical question.
    >
    > We get new PC's in each week to prep (windows 7 OS) and I typicall run
    > this reg file each time so I can then work on the PC from my desk rather
    > than having to get back up and check it every 30 minutes or so.
    >
    >
    >
    > REGEDIT4
    >
    > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
    > "fDenyTSConnections" =dword:00000000
    >
    >
    > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile]
    > "EnableFirewall"=dword:00000000
    >
    > [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa]
    > "limitblankpassworduse"=dword:00000000
    >
    > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    > "EnableLUA"=dword:00000000
    >
    >
    >
    > I was wondering if there was a registry key I could add to this in order
    > to, under control panel, Windows Firewall, allow a porgram or feature
    > through Windows Firewall, and then check or enable Remote desktop. Is that
    > possible? Or do I have to do it manually each time? GPO is not an option.
    > I have to do it from the desktop and from the desktop only.
    >
    >
    > --------------------------------------------------------------------------------
    > Craig Becker
     
     
    2011年10月26日 7:01