Sign in to follow this  
Followers 0
mp3er3000

setup remote desktop

4 posts in this topic

I am a computer technician. i was wondering if there is a way to set up autoit to automatic setup remote desktop connection settings when a user click onto one exe file. For example, i would send a small autoit exe file to my client, that script will enable remote desktop on that computer, open window's firewall and pop up the computer ip address. I will then use that ip address to connect to that computer from my house. Thanks!

Share this post


Link to post
Share on other sites



Well as you should know as a computer technician, the internet has a way of being extremely anonymous. Therefore, no one here can be certain you are what you say you are, and no one can guarantee that you have completely good intentions with that script.

Also, if you truly are a computer technician, shouldn't you be able to walk someone through the setup process yourself?

I, for one, will most likely not help you because the possibilities of this turning into a virus-like program are huge.

Share this post


Link to post
Share on other sites

I used this in a login script to enable remote desktop on all our machines, and of course it is also set in our domain policy to only allow domain admins to login using RD. The computer will also need to be rebooted after the change.

RegWrite("HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server", "fDenyTSConnection", "REG_DWORD", 0)

For the firewall settings here is an example:

netsh firewall add portopening protocol=TCP port=80 name=Web Server (TCP 80) mode=ENABLE scope=SUBNET profile=DOMAIN

Share this post


Link to post
Share on other sites

I use a small application I made up using UltraVNC SC. I use this because some of my customers are behind routers and Remote Desktop is not easy to setup for this.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0