Chrissycan
asked on
Change RDP Listening Port from command Line
Hi.
I want to change the RDP Listening port on a number of Windows XP Pro PC's from the command line. I know the key to be changed is:-HKEY_LOCAL_MACHINE\Sys tem\Curren tControlSe t\Control\ TerminalSe rver\WinSt ations\RDP -TCP\PortN umber but need to use one of the registry edititing utilities such as Regfind or regini. Have tried but cannot figure out the exact syntax. Any help appreciated...
I want to change the RDP Listening port on a number of Windows XP Pro PC's from the command line. I know the key to be changed is:-HKEY_LOCAL_MACHINE\Sys
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
REG ADD HKLM\system\CurrentControl Set\Contro l\Terminal Server\win stations\r dp-tcp /v PortNumber /t REG_DWORD /d 0xd3e
ASKER
Thanks both...
Arshama I think your answer is simple and what I am looking for but when I run it I get an error saying "to many command line parameters". Also I think I need a space between "Terminal" and "Server". Any further ideas?.
Arshama I think your answer is simple and what I am looking for but when I run it I get an error saying "to many command line parameters". Also I think I need a space between "Terminal" and "Server". Any further ideas?.
You are getting the error because you are using the space. You dont have to use the space between the Terminal Server
ASKER
Thanks again...
If I leave the space out it creates another key "TerminalServer" at the same level as "Terminal Server".
If I leave the space out it creates another key "TerminalServer" at the same level as "Terminal Server".
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thats it working...Thanks to all...Hope the points have been awarded fairly...
ThanQ