Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



a script to enable remote desktop at registery!!!

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 26-06-2007
Ahmad Sabry
 
Posts: n/a
a script to enable remote desktop at registery!!!

Hello !
i'm using the registery to enable remote desktop manually

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
fDenyTSConnections = 0

is there any CMD command to enable it without to open the registery manually
?
Thanks



Reply With Quote
  #2  
Old 26-06-2007
Lanwench [MVP - Exchange]
 
Posts: n/a
Re: a script to enable remote desktop at registery!!!


"Ahmad Sabry" <askme@me.com> wrote in message
news:eSqg%23D$tHHA.4916@TK2MSFTNGP04.phx.gbl...
> Hello !
> i'm using the registery to enable remote desktop manually
>
> HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
> fDenyTSConnections = 0
>
> is there any CMD command to enable it without to open the registery
> manually ?
> Thanks
>


Are you using AD? If so, use group policy for this.


Reply With Quote
  #3  
Old 26-06-2007
Ahmad Sabry
 
Posts: n/a
Re: a script to enable remote desktop at registery!!!

really no AD in this.
i just need this to ad it as a command in my Clients answer file while
installing windows, so i don't have to manualyy connect to the remote
registery & enable it.
thanks in advance for your help

"Lanwench [MVP - Exchange]"
<lanwench@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in message
news:e2ZIaEAuHHA.4800@TK2MSFTNGP05.phx.gbl...
>
> "Ahmad Sabry" <askme@me.com> wrote in message
> news:eSqg%23D$tHHA.4916@TK2MSFTNGP04.phx.gbl...
>> Hello !
>> i'm using the registery to enable remote desktop manually
>>
>> HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
>> fDenyTSConnections = 0
>>
>> is there any CMD command to enable it without to open the registery
>> manually ?
>> Thanks
>>

>
> Are you using AD? If so, use group policy for this.
>



Reply With Quote
  #4  
Old 27-06-2007
Brad Rutkowski
 
Posts: n/a
Re: a script to enable remote desktop at registery!!!

Check out:
http://blogs.technet.com/brad_rutkow...my-server.aspx

--
This post is provided as-is and is my opinion, check the facts before doing
anything in production.




"Ahmad Sabry" wrote:

> really no AD in this.
> i just need this to ad it as a command in my Clients answer file while
> installing windows, so i don't have to manualyy connect to the remote
> registery & enable it.
> thanks in advance for your help
>
> "Lanwench [MVP - Exchange]"
> <lanwench@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in message
> news:e2ZIaEAuHHA.4800@TK2MSFTNGP05.phx.gbl...
> >
> > "Ahmad Sabry" <askme@me.com> wrote in message
> > news:eSqg%23D$tHHA.4916@TK2MSFTNGP04.phx.gbl...
> >> Hello !
> >> i'm using the registery to enable remote desktop manually
> >>
> >> HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
> >> fDenyTSConnections = 0
> >>
> >> is there any CMD command to enable it without to open the registery
> >> manually ?
> >> Thanks
> >>

> >
> > Are you using AD? If so, use group policy for this.
> >

>
>
>

Reply With Quote
  #5  
Old 27-06-2007
Special Access
 
Posts: n/a
Re: a script to enable remote desktop at registery!!!

On Tue, 26 Jun 2007 17:55:22 +0300, "Ahmad Sabry" <askme@me.com>
wrote:

>really no AD in this.
>i just need this to ad it as a command in my Clients answer file while
>installing windows, so i don't have to manualyy connect to the remote
>registery & enable it.
>thanks in advance for your help
>
>"Lanwench [MVP - Exchange]"
><lanwench@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in message
>news:e2ZIaEAuHHA.4800@TK2MSFTNGP05.phx.gbl...
>>
>> "Ahmad Sabry" <askme@me.com> wrote in message
>> news:eSqg%23D$tHHA.4916@TK2MSFTNGP04.phx.gbl...
>>> Hello !
>>> i'm using the registery to enable remote desktop manually
>>>
>>> HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
>>> fDenyTSConnections = 0
>>>
>>> is there any CMD command to enable it without to open the registery
>>> manually ?
>>> Thanks
>>>

>>
>> Are you using AD? If so, use group policy for this.
>>

>


easy fix: Export the data from an existing working server into a REG
file. Delete all but the value you want to put in the registry for
the new machines.

regedit <filename.reg> /s

OR

reg import <filename.reg>

This will import the REG file without intervention and can be run
during build. You can put it in the cmdlines.txt file provided
regedit.exe (or reg.exe) and the .REG file are in the same directory
as the cmdlines.txt file.

Mike
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "a script to enable remote desktop at registery!!!"
Thread Thread Starter Forum Replies Last Post
Enable Remote Desktop in MAC Pabloa Networking & Security 5 06-02-2010 08:49 AM
Enable Remote desktop on two PC Elieis Networking & Security 5 05-01-2010 03:40 AM
Enable remote desktop registry Matrix316 Operating Systems 3 07-11-2009 10:25 AM
Enable Windows 7 to make a Remote Desktop Connection XDRoX Tips & Tweaks 1 05-09-2009 08:33 PM
How to enable Remote Desktop connection in Windows 2000 M.Scarlet Window 2000 Help 1 19-03-2008 03:56 AM


All times are GMT +5.5. The time now is 08:59 PM.