Blog hướng dẫn các cách download kiến thức kinh nghiêm thủ thuật chia sẻ phần mềm tool soft miễn phí là gì. Blog.locbanbekhongtuongtac.com

Table of Content

Can you remotely enable Remote Desktop?

Get answers from your peers along with millions of IT pros who visit Spiceworks.
Join Now

I am remote into a server from home and need access to couple PCs in the office, but remote desktop is not enabled. How can i enable the remote desktop ? thanks


Best Answer
Don7478
Serrano
OP
Don7478 Apr 22, 2011 at 13:08 UTC

From the onsite computer run Regedit.

In Regedit:
File-->Connect Network Registry

In the 'Select Computer' dialogue make sure that the 'Look In' location is correct(should be your domain if applicable)type in the computer name or IP that you want to connect to then click Ok.

Now expand:
<computername>HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

Once you've opened that key look for fDenyTSConnection

Set it to a value of 0 <--a zero

The computer will have to restart for the change to take effect.

Popular Topics in General Windows
  • Think you're an IT whiz? Try and ace our quiz!
  • Restart after update installation notification
  • Simple DNS Hostname server
  • Google Chrome URL
TEST YOUR SMARTS
Which of the following retains the information it's storing when the system power is turned off?
  • ROM
  • CPU
  • RAM
  • GPU
88% of IT pros got this right.
  • prev
  • 1
  • 2
  • next

26 Replies

· · ·
Denis Kelley
Mace
OP
Denis Kelley This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 22, 2011 at 11:58 UTC

Try this. I have had to do this sometimes.

http://thebackroomtech.com/2007/05/18/how-to-enable-remote-desktop-on-a-windows-xp-machine-remotely/

0
· · ·
Sosipater
Mace
OP
Sosipater This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 22, 2011 at 12:01 UTC

If there is a user at the remote computer you can get connected using join.me and then enable it yourself.

0
· · ·
JPo1215
Serrano
OP
JPo1215 Apr 22, 2011 at 12:01 UTC

Use this script. Works wonders

http://community.spiceworks.com/scripts/show/302-enable-or-disable-rdp-remote-desktop-on-remote-system-vbs

0
· · ·
Alex3031
Mace
OP
Alex3031 This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 22, 2011 at 12:24 UTC

I think you have all ready been pointed the right way, there are script that will enable RDP on a system as long as you have remote registry access. It looks like a couple of people have pointed you to scripts all ready.

0
· · ·
chip379811
Jalapeno
OP
chip379811 Apr 22, 2011 at 12:30 UTC

trying the script but it says "make sure you type the right machine name" i have and doesn't work..tried IP, name and nothing

0
· · ·
Kendall
Chipotle
OP
Kendall This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 22, 2011 at 12:31 UTC

did you run the script from your PC at home or the server that you are RDPed into?

0
· · ·
chip379811
Jalapeno
OP
chip379811 Apr 22, 2011 at 12:54 UTC

Yea from remote location.

0
· · ·
Don7478
Serrano
OP
Best Answer
Don7478 Apr 22, 2011 at 13:08 UTC

From the onsite computer run Regedit.

In Regedit:
File-->Connect Network Registry

In the 'Select Computer' dialogue make sure that the 'Look In' location is correct(should be your domain if applicable)type in the computer name or IP that you want to connect to then click Ok.

Now expand:
<computername>HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

Once you've opened that key look for fDenyTSConnection

Set it to a value of 0 <--a zero

The computer will have to restart for the change to take effect.

1
· · ·
JPo1215
Serrano
OP
JPo1215 Apr 22, 2011 at 13:41 UTC

is it possible the computer is off or in sleep mode? Can you ping it?

0
· · ·
chip379811
Jalapeno
OP
chip379811 Apr 22, 2011 at 14:50 UTC

yep it pings.

0
· · ·
chip379811
Jalapeno
OP
chip379811 Apr 22, 2011 at 14:55 UTC

seems as there's no way i can get to this.

0
· · ·
Don7478
Serrano
OP
Don7478 Apr 22, 2011 at 15:05 UTC

The registry edit didn't work? What were the results when you tried?
Were you able to get to it's registry?

0
· · ·
chip379811
Jalapeno
OP
chip379811 Apr 22, 2011 at 15:17 UTC

I was able to type the IP and it took me to the enter username and password. I inserted the right username and password and nothing.

0
· · ·
chip379811
Jalapeno
OP
chip379811 Apr 22, 2011 at 15:25 UTC

I was able to use the script just fine to my window servers by simply inserting the IP and it gave me the option to enable and disable, but the problem is i am trying to get to a desktop in the office it just doesn't work. I was able to get a ping from the adress.

0
· · ·
JPo1215
Serrano
OP
JPo1215 Apr 22, 2011 at 15:47 UTC

so the script works on the servers, you can ping the desktop which proves connectivity, you can run regedit on the desktop but cant authenticate...

do you have admin rights to the desktop?

0
· · ·
chip379811
Jalapeno
OP
chip379811 Apr 22, 2011 at 15:51 UTC

I just found out the desktop is not on the domaincontroller, but can still ping..would that have something to do with it?

0
· · ·
Don7478
Serrano
OP
Don7478 Apr 22, 2011 at 15:53 UTC

Most definitely wold change the permissions required.

0
· · ·
Cazi
Datil
OP
Cazi Apr 22, 2011 at 16:27 UTC

If the desktop is not on the domain you would need to enter local admin credentials when connecting to the remote registry.

0
· · ·
JPo1215
Serrano
OP
JPo1215 Apr 22, 2011 at 16:34 UTC

ciprian3798 wrote:

I just found out the desktop is not on the domaincontroller, but can still ping..would that have something to do with it?

yes it does.

in that case:

Cazi wrote:

If the desktop is not on the domain you would need to enter local admin credentials when connecting to the remote registry.

+1

0
· · ·
chip379811
Jalapeno
OP
chip379811 Apr 22, 2011 at 17:17 UTC

i tried and some reason username/password doesn't work.

0
· · ·
Alex3031
Mace
OP
Alex3031 This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 22, 2011 at 19:49 UTC

ciprian3798 wrote:

i tried and some reason username/password doesn't work.

Might need tobe in the format of PCName\LocalUsername & Password.

0
· · ·
RjD
Serrano
OP
RjD Apr 23, 2011 at 14:48 UTC

I have also seen where strangely there were no users in the remote desktop group(including local and domain admins), never was too sure the how or why that one occured i just added them into the group and it worked fine afterwards. another thing is the firewalls may be causing blockages check those settings remotely as well for both port and program access

0
· · ·
CE Harden
Habanero
OP
CE Harden This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 25, 2011 at 07:29 UTC

I created this a long time age:

http://community.spiceworks.com/scripts/show/616-enable-remote-desktop-remotelyand you may like:

http://www.lazynetworkadmin.com/knowledgebase-mainmenu-6/2-windows/68-remote-assistance-take-control-without-permission

I make that one a few years back with help from another admin.

0
· · ·
lt.son
Chipotle
OP
lt.son Apr 25, 2011 at 08:39 UTC

I use Remote Enabler.

It's quick and easy.

http://download.cnet.com/Remote-Desktop-Enabler/3000-2094_4-10572855.html

0

This topic has been locked by an administrator and is no longer open for commenting.

To continue this discussion, please ask a new question.

Video liên quan

Đăng nhận xét