Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The telnet client is disabled by default in Windows 7. I would like to enable the telnet client for all Windows 7 PCs in our domain. I know how to enable it manually:

  • Start
  • Control Panel
  • Programs And Features
  • Turn Windows features on or off
  • Check Telnet Client
  • Hit OK

How can I do this for all Windows 7 PCs in the domain? All the Windows 7 PCs are in a separate OU.

Can this be enabled by a registry setting that I can apply to all Windows 7 PCs?

Can it be done by a Group Policy?

share|improve this question
1  
To whomever voted to move this to superuser, questions regarding group policy definitely belong here. Just because it is about putting some software on a client PC, doesn't mean it belongs on superuser. –  Sam Mar 15 '10 at 16:35
    
@Sam The words "Group Policy" doesn't mean that this question must be here. In that case, the words "registry setting" will mean that this must belong to SU. And as I know, one of the shortest ways solve this is using CMD and dism (not GPO or registry)... –  Jet Oct 1 '13 at 19:57

2 Answers 2

up vote 3 down vote accepted

You can do this by creating a GPO and linking it to the OU where your Windows 7 PCs are.

Create a script (e.g. \\domain.com\netlogon\enable-telnet-client.cmd) with the following command in it:

dism /online /Enable-Feature /FeatureName:TelnetClient

Assign that script as a computer startup script in your GPO.

share|improve this answer
    
Thanks everybody for your help/comments/info –  ICTdesk.net Mar 16 '10 at 9:38
    
Does the "/online" word mean that the PC will need connection to internet? –  Jet Oct 1 '13 at 19:59
1  
No. DISM is used to modify deployment images or the O/S that's currently running. /online means "please do this in this O/S, not on an image file." See: technet.microsoft.com/en-us/library/dd744382(v=ws.10).aspx –  ThatGraemeGuy Oct 2 '13 at 11:07

You can not. GPO's dont install / uninstall windows features.

You could roll out a MSI package (software install) the shells out the proper command line to install the telnet client, though. And put that into the group policy of the appropriate OU(s).

share|improve this answer
1  
You don't need an MSI package to run a simple command. Batch files still have their place in 2010. ;-) –  ThatGraemeGuy Mar 15 '10 at 15:05
1  
Yeah, but you need elevated priviledges ;) Normal users may not be able to. –  TomTom Mar 15 '10 at 15:15
4  
You assign it as a computer startup script, you don't ask users to run it manually. –  ThatGraemeGuy Mar 15 '10 at 15:29
    
yeah, ok - that makes sense. –  TomTom Mar 15 '10 at 15:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.