Jump to content

Recommended Posts

Posted

Hello,

I create a Unattend file and place this in my Server 2008R2 ISO and Its working but I can't find any tutorial on How to block multiple ports and enable RDP Account through Unattend Install?

- Block Port in TCP and UDP: 22, 21, 80, 443,etc

- Enable RDP Account?

Please give me a Unattend code so I can block this ports and enable RDP without doing manually :(


Posted

Enable RDP for Desktop OS:

		<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FirewallGroups>
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
<Active>true</Active>
<Group>Remote Desktop</Group>
<Profile>all</Profile>
</FirewallGroup>
</FirewallGroups>
</component>

To do on Server 2008 read these:

Sample Server Core installation

Networking-MPSSVC-Svc on Server 2008

As far as blocking ports, those are inbound ports. So blocking port 21 will stop clients from connecting to FTP software running on the server. Same with port 80 will block others from accessing a webserver. There would be no reason to block those ports if you had those services installed... If you are not running FTP or Web server on your server install, there is nothing to block!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...