Michael_C Posted January 30, 2006 Share Posted January 30, 2006 Hi,Is it possible to enable remote desktop in an unattended installation? The only thing a can find is a perl script, but there has to be another way I don’t wont to install ActivePerl.The pc’s will not be members of a domain. Link to comment Share on other sites More sharing options...
FrankE9999 Posted January 30, 2006 Share Posted January 30, 2006 You can try putting the following in a batch file.reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /freg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v AllowTSConnections /t REG_DWORD /d 1 /frem disable Remote Assistancerem reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fAllowToGetHelp /t REG_DWORD /d 0 /fIf your running SP2 you will need to open the ports to allow remote desktop users to connect to your system.Im not sure of the exact syntax but you can use the netsh command to open TCP port 3389.netsh firewall add portopening /? Link to comment Share on other sites More sharing options...
sHaDYvB Posted January 30, 2006 Share Posted January 30, 2006 or u can just add this to ur winnt.sif [TerminalServices]AllowConnections=1and if u allow Windows Firewall by default , u will have to make what Frank said , and here is the correct sytanx to the command , add it to ur winnt.sif [GUIRunOnce] Sectionnetsh firewall add portopening TCP 3389 "Remote Desktop"i think this is the easiest way Link to comment Share on other sites More sharing options...
Michael_C Posted January 31, 2006 Author Share Posted January 31, 2006 Thank you bothIt work greate Link to comment Share on other sites More sharing options...
Bendes Posted February 1, 2006 Share Posted February 1, 2006 (edited) Or like that in winnt.sif :[TerminalServices]AllowConnections=1And with this for the Windows Firewall:[WindowsFirewall]Profiles=WindowsFirewall.Default[WindowsFirewall.Default]Services=WindowsFirewall.RemoteDesktop[WindowsFirewall.RemoteDesktop]Type=2Scope=0 Edited February 1, 2006 by Bendes Link to comment Share on other sites More sharing options...
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