[ Krajisnik @ 25.02.2004. 15:49 ] @
Hocu da instaliram Terminal service bez upotrebe CDa na Win2k serveru, ali ne znam koji fajlovi su potrebni i gde da ih kopiram.. U koji direktorijum?? I da napomenem da bih to hteo da uradim pomocu command line.. Nasao sam neke primere, ali ni jedan ne radi kako treba ili ja nesto radim pogresno... 1. nacin: Fajlovi sa imenom TSC___.* sa CDa se kopiraju i %SystemFolder/INF/i386/ i onda se pokrene sledeci BAT fajl a zatim rebootuje komp: Code: 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 EXIT 2. nacin: Here's the rundll32 command to install Windows 2000 Terminal Services in Remote Admin mode: Code: %SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection TerminalServices.FreshInstall 128 %SystemRoot%\inf\tsoc.inf To disable Terminal Services: Code: %SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection TerminalServices.ToggleOff 128 %SystemRoot%\inf\tsoc.inf To re-enable Terminal Services: Code: %SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection TerminalServices.ToggleOn 128 %SystemRoot%\inf\tsoc.inf |