Registry

Howto: Enable remote desktop from CMD

Posted on Updated on

Starting remote desktop on a remote pc when you only have a telnet access to it.
once you have a telnet session to a remote pc you may want to also use remote desktop .

It’s disable and needs to be enable can’t connect !!

First of all you will need to enable it if its not
running on the remote pc.

from the command prompt use these commands.

reg add “hklm\system\currentControlSet\Control\TĀ­erminal Server” /v “AllowTSConnections” /t REG_DWORD /d 0x1 /f

or

reg add “hklm\system\currentControlSet\Control\TĀ­erminal Server” /v “fDenyTSConnections” /t REG_DWORD /d 0x0 /f

The next step is to enable the service if it is disable it is the terminal service – services

goto the command line and type in

sc config TermService start= auto

this will enable it .

next you need to start if to start it type this into the command prompt

net start Termservice

Enable Remote Desktop Service

Now your almost done!

We will need to open a port in the firewall

open Ports in Firewall for — remote Desktop

Here are the commands.

netsh.exe

firewall

add portopening TCP 3389 “Remote Desktop”

ok now il try and connect again !

Advertisements

Edit Windows registry for fun….Nothing complicated

Posted on Updated on

Windows registry – user interface settings

Registry settings for all those annoying HKEY_CURRENT_USER user interface settings that are likely to drive you nuts when running WinXP:

Windows Registry Editor Version 5.00

; Sanity.REG

; Windows XP Sanity check; Usual disclaimers apply – don’t edit the registry unless you know what you are doing and

; BACKUP THE REGISTRY FIRST

; If you edit this file ensure all comment lines are prefixed with ; so that REGEDIT will ignore them

; – – – Section1 – – – – MS Explorer – – – – – – – – – – – – – – – – – – – – – – – – – –

;

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

; Disable the animated Click Start to begin

“NoStartBanner”=hex:01,00,00,00

; Don’t constantly shuffle around the start menu items

“Intellimenus”=dword:00000000

; Use the classic Start Menu

“NoSimpleStartMenu”=dword:00000001

; Dont tie new shortcuts to a specific PC

“LinkResolveIgnoreLinkInfo”=dword:00000001

; Don’t hide all the local Drives

“NoDrives”=dword:00000000

; Don’t display a welcome screen

“NoWelcomeScreen”=dword:00000001

; Don’t automatically create shortcuts within My Network Places

“NoRecentDocsNetHood”=dword:00000001

; Don’t run the Desktop Cleanup Wizard

“NoDesktopCleanupWizard”=dword:00000001

; Don’t create a Shared Documents folder for My Computer

“NoSharedDocuments”=dword:00000001

; Don’t hide the log-off option from the start menu

“ForceStartMenuLogOff”=dword:00000001

; Don’t clutter start menu with My Network Places

“NoStartMenuNetworkPlaces”=dword:00000001

; Don’t add a My Documents shortcut to the start menu

“NoSMMyDocs”=dword:00000001

; Don’t add a Favorites shortcut to the start menu

“NoFavoritesMenu”=dword:00000001

; Don’t add a My Pictures shortcut to the start menu

“NoSMMyPictures”=dword:00000001

; Don’t add a My Music shortcut to the start menu

“NoStartMenuMyMusic”=dword:00000001

; Don’t hide any of the following settings in the explorer GUI

“NoActiveDesktopChanges”=hex:00,00,00,00

“NoActiveDesktop”=dword:00000000

“NoSaveSettings”=dword:00000000

“ClassicShell”=dword:00000000

“NoThemesTab”=dword:00000000

; Disable active desktop

“NoActiveDesktop”=hex:01,00,00,00

; Don’t ignore the flag above, really disable active desktop

“ForceActiveDesktopOn”=dword:00000000

; Enable Windows Update

;; “NoWindowsUpdate”=dword:00000000

; OR

; Disable Windows Update

;; “NoWindowsUpdate”=dword:00000001

Read the rest of this entry »