VNC single click and UAC on Windows 7

13,268

i use a ruby script, packed into an exe with ocra. since it's not regonized as a self extracted zip, windows seven does not prompt for admin password. may sounds complicate, but it is not.

it's realy a good workaround.

plus you can generate yourself your own exe and change setting offline.

.

how to :

make dir

myexe

unzip ultravnc-sc.exe into

myexe/ultravnc-sc

install ruby : http://rubyinstaller.org/downloads/ (i use 1.8.x branch)

install ocra : on a command line

gem install ocra -r  --http-proxy=http://yourproxy_ifneed

edit ruby script myexe/myexe.rbw :

Dir.chdir File.dirname($0)
exit if defined?(Ocra)
system('ultravnc-sc/winvnc.exe')

build exe : on a command line

cd myexe
ocra --icon ultravnc-sc/icon1.ico myexe.rbw ultravnc-sc/**

test it !

that's all!

Share:
13,268

Related videos on Youtube

gillonba
Author by

gillonba

stuff

Updated on September 17, 2022

Comments

  • gillonba
    gillonba over 1 year

    I work for an IT consulting company and we have been using UltraVNC Single Click to remote in to our users' desktops. It has been working really well and our techs have been very satisfied with this solution. However.... Our clients are finally moving from XP to Windows 7. They will not have admin rights. We will not be providing them with admin passwords. Starting up the single-click executable generates a VNC prompt on the remote desktop. This is a non-starter for us.

    The whole point of using SC is that we can view the user's desktop and that they do not need to have some kind of service constantly running and listening for connection requests, so standard VNC or RDP will not work for us.

    Has anyone dealt with single click in Vista/Windows 7? What workarounds did you employ? Maybe there is a method I haven't found to white list a given application so that it does not generate UAC prompts?

    Edit: To clarify, disabling UAC IS NOT AN OPTION. I need to work around UAC for this one application, but leave it enabled.

  • coneslayer
    coneslayer almost 14 years
    I don't think the goal is to disable UAC entirely (and I don't think that would solve the problem, since the users are not Administrators).
  • gillonba
    gillonba almost 14 years
    coneslayer is correct. Giving the users admin rights would defeat the purpose