Jump to content
Sign in to follow this  

HELP with createing a service (interactive)

Recommended Posts


I tryed every ting a can think of to get a good service running on boot, but fail!

i tryed all the scrips i can find.

i would like a service that starts with TCPIP (for remotecontrol and diagnostics, even if no user is looged on. Got this part working.)

1. This work, but not what i want, i want this -> ($SERVICE_INTERACTIVE_PROCESS, $SERVICE_WIN32_OWN_PROCESS)

_Service_Create($sServiceName, $sServiceName, $SERVICE_WIN32_SHARE_PROCESS, $SERVICE_AUTO_START, $SERVICE_ERROR_SEVERE, '"' & @WindowsDir & "\" & $sServiceName & ".exe" & '"')

2. This work kind of?? om most computer i run this it takes forever before windows XP finnish login and create the desktop. (users complain on slow computers when i run this)

_Service_Create($sServiceName, $sServiceName, BitOR($SERVICE_INTERACTIVE_PROCESS, $SERVICE_WIN32_OWN_PROCESS), $SERVICE_AUTO_START, $SERVICE_ERROR_NORMAL, '"' & @WindowsDir & '\' & @ScriptName & '"')

3. THIS even makes a dependencie TCPPIP with some service.au3 i tryed (even if the code must be wrong.)

; _Service_Create($sServiceName, $sServiceName, BitOR($SERVICE_INTERACTIVE_PROCESS, $SERVICE_WIN32_OWN_PROCESS), $SERVICE_AUTO_START, $SERVICE_ERROR_NORMAL, '"' & @WindowsDir & '\' & @ScriptName & '"',,StringStripCR("Tcpip"),,StringStripCR("Tcpip"),,StringStripCR("Tcpip"))




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.