Jump to content

Recommended Posts

Posted (edited)

Hi,

im currently messing with my unattended.xml trying to do a firewall exception for remote desktop.

This the main part (i think) that should be interesting:

		<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<UserAuthentication>0</UserAuthentication>
</component>
<component name="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<FirewallGroups>
<FirewallGroup>
<Active>true</Active>
<Group>Remote Desktop</Group>
<Profile>all</Profile>
</FirewallGroup>
</FirewallGroups>
<RunSynchronous>
<RunSynchronousCommand>
<Path> netsh advfirewall firewall add rule name="RemoteDesktop" protocol=TCP dir=in localport=3389 action=allow</Path>
<Description>Enable Remote Desktop</Description>
<Order>1</Order>
</RunSynchronousCommand>
</RunSynchronous>
</component>

The installation is running fine but there is no exception for the remote desktop.

Any ideas?

greetings,

t3c

Edited by t3c

Posted

You are missing the action in FirewallGroups. It should be:

<FirewallGroups>

<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">

<Active>true</Active>

<Group>Remote Desktop</Group>

<Profile>all</Profile>

</FirewallGroup>

</FirewallGroups>

Posted

Thank you for you answer leen2, but if i add the wcm:action part and view the unattend.xml in IE it says that it finished successfully but there was an error with a Resource at the Firewall Group line. When i try to install it my DXUnion crashes because of my broken unattend.xml file.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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