[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Turn on and off a remote machines remote dektop

Posted on 2007-08-09
2
Medium Priority
?
503 Views
Last Modified: 2010-03-05
Hi,

I want a way to tick remote desktop check box on all machines in the file and even remove the tick.

Mycomputer > Properties > Remote > Remote desktop.

Regards
Sharath
0
Comment
Question by:bsharath
2 Comments
 
LVL 18

Accepted Solution

by:
chuckyh earned 1000 total points
ID: 19661830
0
 
LVL 29

Assisted Solution

by:Alan Huseyin Kayahan
Alan Huseyin Kayahan earned 1000 total points
ID: 19662171
       Hi Sharath
                  Write the computer names which you want to allow/check box into allowcomps.txt and the computer names which you want to deny/uncheck box in denycomps.txt
                for /f %x in (c:\allowcomps.txt) do reg add "\\%x\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
 
                for /f %x in (c:\denycomps.txt) do reg add "\\%x\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f

Regards
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question