Remote server administration


Hello there. I want to ask if there is some way how to control the TightVNC server (windows) setting remotely. What i want to do is to change the vnc control password from a web server - web and vnc servers are on separate machines but connected by LAN. Is there any way how to change the password remotely, through some socket or http request? I have the source code, where should i search? What would be the best way to accomplis this?