After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is welcome

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.
Feedback is welcome

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

[How To]Run SC as Service STEP by STEP

Single Click discussions / bugs
Post Reply
Daniel.O
Posts: 3
Joined: 2007-09-28 09:15
Location: Germany

[How To]Run SC as Service STEP by STEP

Post by Daniel.O »

Here my "How to Run SC as Service STEP by STEP", because I was looking for something like that but didn't find it.

What you need or what I used to let it run is:

-[topic=4046]SC Client Creator / Offline Compiler
[/topic]
-UltraVNC as Viewer ;-)
-Special Needed Files

What to do:

-Install UVNC as Viewer
-Install SC Client Creator
-Configure and compile a remote.exe with SC Client Creator

----Attention-----
You should test the remote.exe that everything works before gong on


-Rightclick remote.exe and extract to a new folder (maybe you'll need winrar or 7-Zip)
-Install a new service
-browse to folder of the service.zip or the folder where you extracted it to
-you'll find srvany.exe instsrv.exe and vncsupport.reg
-first we need srvany.exe and instsrv.exe
-open cmd
-type
(Path of the files)C:\remote\instsrv.exe (service name: make sure that the name doesn't exist yet)VNCService1 C:\remote\srvany.exe
for example

Code: Select all

C:\remote\instsrv.exe VNCService1 C:\remote\srvany.exe
-now we have to edit the vncsupport.reg
-right click open with editor
-change

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VNCsupport]
to

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\(name of your Service)]
__________________________________________________
-change if you want

Code: Select all

"Start"=dword:00000002
this is for automatic start after reboot

Code: Select all

"Start"=dword:00000003
this is for manual start
-change
___________________________________________________

Code: Select all

"DisplayName"="VNCsupport"
to

Code: Select all

"DisplayName"="Your service name"
___________________________________________________
-change

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VNCsupport\Parameters]
to

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\(name of your service\Parameters]
___________________________________________________
-change

Code: Select all

"Application"="C:\\remote\\winvnc.exe"
to

Code: Select all

"Application"="Path:\\of\\winvnc.ex"
___________________________________________________
-change

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VNCsupport\Security]
to

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\(your service name)\Security]
___________________________________________________
-change

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VNCsupport\Enum]
to

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\(your service name)\Enum]
___________________________________________________
-save and close document
-execute the file
-klick "yes"
-klick "ok"
-open regedit
-browse to [mod:1191440734="redge"]M\CurrentControlSet\Services\(your service name)
-you have to edit the entry ImagePath
-their you have to insert the path where the srvany.exe is

----ATTENTION----
The srvany.exe must exist all the time, when you delete this exe the Service will not start

After rebooting System SC starts and want to connect

I hope everybody can understand my text ;-)
if not, pls ask

Sorry for my english :-D

Daniel

[mod=494,1191440734]added sticky[/mod]
Last edited by Daniel.O on 2009-05-31 08:30, edited 4 times in total.
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: [How To]Run SC as Service STEP by STEP

Post by bevtech »

I would use 7zip instead of winrar. 7zip is open source..)
http://www.7-zip.org/
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2 (EN), Windows Media Center Editon 2005, Windows Vista Home Premium, Fedora Core 6, Windows 9X, PcHelpWare 1.0, UltraVNC 1.0.8.2

User not developer ;)
jetmuzer
Posts: 1
Joined: 2007-12-16 17:57
Location: UK

Re: [How To]Run SC as Service STEP by STEP

Post by jetmuzer »

Hi,
I can't download the "Special Needed Files"...
I clicking button "Download File Now", but nothing happening.
Can you share it with "rapidshare" or something like it? please
Happy New Year!
Daniel.O
Posts: 3
Joined: 2007-09-28 09:15
Location: Germany

Re: [How To]Run SC as Service STEP by STEP

Post by Daniel.O »

No problem. Here is a Rapidsharelink for you :)

http://rapidshare.com/files/77764950/service.zip
swinster
20
20
Posts: 32
Joined: 2007-04-13 10:52

Re: [How To]Run SC as Service STEP by STEP

Post by swinster »

Hi,

I was looking for a way to get an UltraVNC server service to make a reverse connection to the repeater such as in the post [topic=13442][/topic]

This might be exactly what I'm after. However, although SC can make a connection without user interaction, will it hold open the connection to the repeater, or will the repeater drop the connection if a viewer disconnects.

Swin
Chris
maverick682
8
8
Posts: 8
Joined: 2009-01-17 10:35

Re: [How To]Run SC as Service STEP by STEP

Post by maverick682 »

Hi Daniel.O

This is a great addition and will help me loads.
I have followed your instructions to the letter but the Service will not start
I am also unable to start it manually.
Any ideas?
Regards
Maverick682
Post Reply