Jump to content

enable remote desktop


Recommended Posts

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


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 /f

reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v AllowTSConnections /t REG_DWORD /d 1 /f

rem disable Remote Assistance

rem reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fAllowToGetHelp /t REG_DWORD /d 0 /f

If 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

or u can just add this to ur winnt.sif ;)

[TerminalServices]
AllowConnections=1

and 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] Section

netsh firewall add portopening TCP 3389 "Remote Desktop"

i think this is the easiest way :whistle:

Link to comment
Share on other sites

Or like that in winnt.sif :

[TerminalServices]
AllowConnections=1

And with this for the Windows Firewall:

[WindowsFirewall]
Profiles=WindowsFirewall.Default

[WindowsFirewall.Default]
Services=WindowsFirewall.RemoteDesktop

[WindowsFirewall.RemoteDesktop]
Type=2
Scope=0

:thumbup

Edited by Bendes
Link to comment
Share on other sites

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...