[How To]Run SC as Service STEP by STEP

Single Click discussions / bugs

[How To]Run SC as Service STEP by STEP

Postby Daniel.O » 2007-10-01 12:07

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:

-SC Client Creator / Offline Compiler

-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

Moderated by redge at 2007-10-03 19:45:
added sticky
Last edited by Daniel.O on 2009-05-31 08:30, edited 4 times in total.
Daniel.O
 
Posts: 3
Joined: 2007-09-28 09:15
Location: Germany

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

Postby bevtech » 2007-10-01 21:08

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 Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
bevtech
Super-Mod
Super-Mod
 
Posts: 2191
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

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

Postby jetmuzer » 2007-12-19 22:51

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
jetmuzer
 
Posts: 1
Joined: 2007-12-16 17:57
Location: UK

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

Postby Daniel.O » 2007-12-19 23:55

No problem. Here is a Rapidsharelink for you :)

http://rapidshare.com/files/77764950/service.zip
Daniel.O
 
Posts: 3
Joined: 2007-09-28 09:15
Location: Germany

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

Postby swinster » 2008-08-23 15:12

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 How to make UVNC server automatically reverse call Repeater

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
swinster
20
20
 
Posts: 32
Joined: 2007-04-13 10:52

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

Postby maverick682 » 2009-01-21 23:25

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
maverick682
8
8
 
Posts: 8
Joined: 2009-01-17 10:35


Return to SC

Who is online

Users browsing this forum: No registered users and 1 guest