Howdie,

the first thing is simple... [Wink] Are you using the official VNC package? Then install it on a dummy PC, change the password and search the registry for password or something like that (something with ORL I think.)

Then copy/writedown the password's value and write in your script a line which writes the data in the registry (with writevalue). Since the password is encrypted you can't just enter the password in the registry, you'd have to use the encrypted data.

I'm not sure what you're trying to accomplish in the second part [Confused] . Can you be more specific?

PS.
If it doesn't work you could also mail me (ook in het Nederlands). Afterwards we can put the solution to the board.
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...