t3c Posted May 4, 2009 Posted May 4, 2009 (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 May 4, 2009 by t3c
leen2 Posted May 4, 2009 Posted May 4, 2009 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>
t3c Posted May 6, 2009 Author Posted May 6, 2009 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now