RealVNC/Vista

G

Guest

Hello all,

Okay! I have been working on this for a while and I feel and I am getting
somewhere with this. For those of you that are unaware, RealVNC does not work
well on Vista due to it's new security model. I have worked on a work around
which works well in a workgroup environment but I am struglling on the domain
environment aspect of it. I have got to the point that when a user logs in. I
can connect to their computer. When the computer restarts, i have to remote
desktop to the machine and then grab the session via RealVNC but this still
works.

The problem is, is that when a user logs onto the machine the realvnc server
has to be started from the startup folder in the start menu for this to work
seamlessly. However, if another domain user logs onto the machine you have to
add relavnc to the start menu again as it is a different profile (more work).
I thought that I might be able to run RealVNC using a batch file and then
incorperate that in a logon script. So far so good.

For those who are familiar with RealVNC, if you right click on the VNC
server 4 (user mode) and go to properties. The exe file has a -noconsole
switch which means that the exe file launches but does not display the
command console. However, when I add the command to a batch file the program
launches but the console is displayed and then does not close.

The full command is

"C:\Program Files\RealVNC\VNC4\winvnc4.exe" -noconsole

For those of you who have realVNC you will see what I mean.

I am trying to add this batch file to a logon script and want the console
window to close at startup. Any reason why this happens?

Any help would be appreciated.

Many thanks,

Luke

For those of you who want RealVNC instructions, please see below.

* Go to HYPERLINK http://www.realvnc.com
* Down the left-hand side click on "download now"
* In the following page click on "download & use" under the free edition
* You do not need to fill in any personal details just click "proceed to
download"
* On the following page click the download button at the very top next to
"Executable (707k)"
* Tick the box to accept the terms and then click "download"
* You will be presented with a small popup asking you to "run", "save" or
"cancel". Click "RUN"
* The program will start to download and when it is complete click "run"
* The RealVNC wizard should then start. Click next and then accept the Terms
and Conditions and then click next again.
* Click next again when you get to the destination folder selection and
select full installation along with both VNC server and VNC viewer
ticked/checked and then click next.
* Click next once more at the 'select start menu folder'
* Make sure the the option 'register and configure VNC server for
service-mode is UNTICKED/UNCHECKED.
* RealVNC should now be installed. You should now configure the firewall.
* Go to start>settings>control panel>Windows firewall
* Click on the exceptions tab and then click on the "add program" button.
Click on browse.
* Go to My computer>c:\drive>programfiles>RealVNC>VNC4>winvnc4. Then click
open.
* Ok everything in windows firwall and the go to start>all
programs>realvnc>VNC server 4 (usermode). Right click on this and then send
to desktop. This will create a shortcut of this on your desktop.
* Then left click and drag the VNC icon on your desktop to the startup
folder in the start menu.
* Once this is done. Run VNC server 4 (User mode).
* You will probably get a warning from Windows Defender at this point. If
not check your system tray, you may find that windows defender has logged an
warning.
* Open windows defender and review the warning. Set windows defender to
'always allow' realvnc as an exception.
* When the user logs on the VNC server should start and you should be able
to connect up.
 
P

PTravel

Luke Chalmers said:
Hello all,

Okay! I have been working on this for a while and I feel and I am getting
somewhere with this. For those of you that are unaware, RealVNC does not
work
well on Vista due to it's new security model. I have worked on a work
around
which works well in a workgroup environment but I am struglling on the
domain
environment aspect of it. I have got to the point that when a user logs
in. I
can connect to their computer. When the computer restarts, i have to
remote
desktop to the machine and then grab the session via RealVNC but this
still
works.

Install the RealVNC server under user-mode, rather than service-mode. Put
it in your start-up folder. Set compatibility mode so that it runs as
administrator and is compatible with XP Pro SP2. It will work fine (at
least it does on my Vista Business system) and you don't need to bother with
remote desktop.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top