Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > RealVNC/Vista

Reply
Thread Tools Display Modes

RealVNC/Vista

 
 
Luke Chalmers
Guest
Posts: n/a

 
      07-17-2007
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>winvnc 4. 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.

 
Reply With Quote
 
 
 
 
PTravel
Guest
Posts: n/a

 
      07-17-2007

"Luke Chalmers" <> wrote in message
news:ADAE9886-CD9D-4ACB-8555-...
> 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.


>
> 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>winvnc 4. 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.
>


 
Reply With Quote
 
garygbm
Guest
Posts: n/a

 
      10-13-2008

try this in the batch file instead

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

Gary


--
garygbm
Posted via http://www.vistaheads.com

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is RealVNC Carl G Windows Vista General Discussion 5 02-07-2007 07:23 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59