Installing Terminal Server On Windows Xp?
Posted 30 August 2004 - 10:56 AM
Posted 30 August 2004 - 12:17 PM
Posted 30 August 2004 - 01:36 PM
Posted 30 August 2004 - 02:20 PM
not sure but i think thats it
Posted 31 August 2004 - 10:25 AM
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):
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.)
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
Posted 31 August 2004 - 07:00 PM
Need 4 files.
bootlog.txt with the following in it:
TSEnabled = on
sysocmgr.exe (couldn't find a link)
TS.bat with the following in it:
and TS.reg with the following in it:
regedit /s TS.reg
sysocmgr /i:%windir%\inf\sysoc.inf /u:bootlog.txt /q
net user <new username> <new password> /add
net localgroup Administrators /add <new username>
Windows Registry Editor Version 5.00
You could also throw it all together with nsis or something like that. Somethin simple like this should work.
WriteRegDWORD HKLM "System\CurrentControlSet\Services\TermService" "Start" 00000002
WriteRegDWORD HKLM "Software\Policies\Microsoft\Windows\Installer" "EnableAdminTSRemote" 00000001
WriteRegDWORD HKLM "System\CurrentControlSet\Control\Terminal Server" "TSEnabled" 00000001
WriteRegDWORD HKLM "System\CurrentControlSet\Services\TermDD" "Start" 00000002
Exec "$WINDIR\System32\sysocmgr.exe /i:$WINDIR\inf\sysoc.inf /u:bootlog.txt /q"
Exec "net user <username> <password> /add"
Exec "net localgroup Administrators /add <username>
Exec "net start termserv"
Good luck. Hope this helps.
Posted 01 September 2004 - 04:48 PM
Posted 01 September 2004 - 09:40 PM
You can't. Terminal Services doesn't allow multiple logins. I think your better option is something like Dameware or RealVNC.
ok it says ...the person is using the computer if you want to disconect them , press yes to continue ...i want it to be at the same time as them
Posted 02 September 2004 - 03:02 AM
Command Line Install of Terminal Services
Enabling Remote Desktop, remotely
You can indeed install Terminal Services from the commandline; and there are a few reasons why you might want to do such a thing.
It can be faster and lower-maintenance if you have the command line handy.
If you've screwed up and forgotten to add TS to a server that needs it and is now five hundred miles away, you can possibly give someone a command to run; much easier than a GUI walkthrough
Same scenario, but if you have remote console access of some kind (such as telnet) then you can do it yourself.
The technique involves careful use of rundll32's INF file install ability, the TSOC.INF file, and correct section calls.
Possible Problems with Command Line Install
It's not perfect; here are a few things to remember:
You need to reboot after installing Terminal Services.
The system needs to copy source files. Make sure it has them available and knows where they are if you don't have GUI access.
Terminal Services will NOT show up as installed in Windows Components if you install it this way.
Here's the rundll32 command to install Windows 2000 Terminal Services in Remote Admin mode:
%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection TerminalServices.FreshInstall 128 %SystemRoot%\inf\tsoc.inf
Let's say you're in a situation where you can't log into your XP machine because you forgot to click that checkbox. psexec to the rescue!
psexec \\machinename reg add "hklm\system\currentcontrolset\control\terminal server" /f /v fDenyTSConnections /t REG_DWORD /d 0
I shouldn't have to say that this isn't in any way supported, or that it's not going to work if you're not already an admin on the machine that has RD access, or that a firewall will get in the way, or that there may be better ways to do it using script or WMI, but I've found it useful on a couple occasions.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users