The Remote Desktop Connection feature is a set of components that are highly supported and appreciated by users. We can complete the remote desktop connection function under XP and 2003 by simple check. Open, many friends in the enterprise management, will choose remote desktop to manage the client computer, in general, often need the client to enable this feature. Then, is there a better way to let the client automatically Enable it? The answer is yes, Xiaobian tells you that it can be done in the form of Group Policy.
Specific operation: (domain environment)
1. Create an OU on the DC and put the corresponding client computer into this OU. The exam is big - the country's largest education website (www.Examda.com)
2. Create a group policy for this OU. In the computer configuration of this group policy, add a script to the startup script, as follows: :(named RDP.vbs)
Const ENABLE_CONNECTIONS = 1
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\\\" & strComputer & "\
oot\\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_TerminalServiceSetting")
For Each objItem in colItems
errResult = objItem.SetAllowTSConnections(ENABLE_CONNECTIONS)
Next
set oShell = WScript.CreateObject("WScript.shell")
oShell.run "cmd.exe /c netsh firewall add portopening tcp 3389 RemoteDestop",0,true
set oShell=nothing
3. The client computer is re-enabled and will take effect.
Note: This script verifies that all clients are 2003 and can automatically "remote desktop" functionality through the firewall. Easy to manage the server!
After reading the above tutorial, many people can't help but ask: How is it implemented through group policy? Is the group policy function so powerful? Yes, the group policy is not only The text can automatically enable the client remote desktop function, there are many well-known features, if you want to know more, then continue to pay attention to this website.
Nowadays, due to its convenience, convenience and communication, LAN has been widel
Using a computer will record or save a lot of your own content, and if you use a co
The WinXP system is different from other systems. Even if the wireless network is c
Recently, users of WinXP system reported that when using the printer to print data, the system promp
WinXP system IE prompts the current security settings not allowed to download the file solution
How WinXP encrypts offline files
How to solve WinXP does not display my recent documentation problem
WinXP alternative automatic restart tips
Audio service is not running? Experts are all done
Explain the way to establish VPN connection in WinXP system
What is the difference between a 32-bit win7 system and a 64-bit win7 system?
Two great tricks to achieve automatic login system account
Maintaining the computer does not let the love machine "early death"
Automatically update the website? Windows system service helps you
Win7 repair method in anti-virus mode in safe mode
After win7 shutdown, there is no complete power off, how to do
Picking bones in the egg Windows 7 Seven big and medium-definition
Windows 7 system takes up a large memory operation method
UAC(1) that you are not familiar with
How to do win server security maintenance?
How do Windows 7 systems create restore points? How does the
How to disable the display function in the WinXP system control panel
Manually modify the registry - Fill in ActiveX security vulnerabilities