Jump to content

WinGetTitle("[Active]") Don't work (I can't find the problem)


Recommended Posts

I found following code not working if script is running under user called "SYSTEM"

(I created servive)


I used following command to create service.

sc create MyService BinPath= "C:\MyFile.exe"

If you have any ideas how to get this work, pleae let me know. If you have any questions, just ask.

Edited by E1M1


Link to comment
Share on other sites

if I add type= "interact" then I get error:

C:\Documents and Settings\user>sc create MyService BinPath= "C:\MyFile.exe" type
= "interact"

[SC] CreateService FAILED 87:

The parameter is incorrect.
Edited by E1M1


Link to comment
Share on other sites


here's the hint:



interact - Specifies that the service can interact with the desktop, receiving input from users. Interactive services must be run under the LocalSystem account. This type must be used in conjunction with type= own or type= shared. Using type= interact by itself will generate an "invalid parameter" error.



Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...