PStools

PSTOOLS allow you to perform various tasks remotley without having to use RDP to do so.

PSEXEC

Enable RDP Remotley

Install PSTOOLS

access CMD prompt of remote machine

net start "remote registry"

Fortunately, there's a workaround. Sit down at your desk and log on to your Windows XP workstation using your administrator credentials and start Registry Editor by Start --> Run --> regedit --> OK. Then select the Connect Network Registry option under the File menu (Figure 2). 

//Figure 2. Connecting to the Registry on a remote machine.// This opens the Select Computer search box. Either browse Active Directory to locate the remote server, or type its name in the textbox (Figure 3). 

//Figure 3. Connecting to the Registry on a remote server named SRV220.// Click OK and a node will be displayed in Registry Editor for the remote machine (Figure 4). 

//Figure 4. HKLM and HKU hives on SRV220.// Now browse HKLM on SRV to find the following Registry key (Figure 5). code HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server code  code  code //Figure 5. Registry key for Terminal Server on remote machine.// <span style="background-color: #ffffff; color: #333333; font-family: Verdana,sans-serif; font-size: 11px;">Under the Terminal Server key, you'll find a <span style="color: #003366; font-family: 'andale mono','lucida console',monaco,monospace;">REG_DWORD value named <span style="color: #003366; font-family: 'andale mono','lucida console',monaco,monospace;">fDenyTSConnection. Double-click on that value to open the <span style="color: #003366; font-family: 'andale mono','lucida console',monaco,monospace;">Edit DWORD Value box and change the value data from 1 (Remote Desktop disabled) to 0 (Remote Desktop enabled), as in Figure 6 below. <span style="background-color: #ffffff; color: #333333; font-family: Verdana,sans-serif; font-size: 11px;"> code <span style="background-color: #ffffff; color: #003366; font-family: 'andale mono','lucida console',monaco,monospace; font-size: 11px;"> code <span style="background-color: #ffffff; color: #333333; font-family: Verdana,sans-serif; font-size: 11px;">//Figure 6. Set <span style="color: #003366; font-family: 'andale mono','lucida console',monaco,monospace;">fDenyTSConnections to 0 to enable Remote Desktop on SRV220.// <span style="background-color: #ffffff; color: #333333; font-family: Verdana,sans-serif; font-size: 11px;">The remote machine needs to be rebooted for the change to take effect, so open a command prompt and type the following command: code <span style="background-color: #ffffff; color: #003366; font-family: 'andale mono','lucida console',monaco,monospace; font-size: 11px;"><span style="font-family: 'andale mono','lucida console',monaco,monospace;">shutdown -m \\srv220 -r code <span style="background-color: #ffffff; color: #333333; font-family: Verdana,sans-serif; font-size: 11px;">After the remote machine reboots, Remote Desktop should be enabled on it. To test this from your workstation, open Start --> All Programs --> Accessories --> Communications --> Remote Desktop Connection, enter the name of the remote server in the Remote Desktop Connection logon box, supply your administrator password when prompted, and you're in.