New
#21
I changed the path, now error becomes a new one.
By the way, when I look at the property of exe file, why the full control is grayed out but ticked?
I changed the path, now error becomes a new one.
By the way, when I look at the property of exe file, why the full control is grayed out but ticked?
Grayed out because the permission isn't actually set, but inhereted from one (or more levels) up
Who did make the exe file? Who and how did you configure it as service (how did you make imagpath etc)?
When those items are grayed out that means the permissions are being inherited from the parent folder. This is a normal and common situation. To change the permissions you would need to first remove the inheritance. Normally there is no need to do this.
Creating a User Defined Service in Windows 7
But it is a little bit wrong
-> under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService: create a 'Parameters' key
-> under the above key, create an 'Application' value of type REG_SZ and specify there the full path of your app executable (including the extension). For example:
Application: REG_SZ: D:\TOOLS\VI.EXE
-> OPTIONAL: under the above key, create an 'AppParameters' value of type REG_SZ and specify the parameters for your app. For Example:
AppParameters: REG_SZ: C:\TMP\FOO
-> OPTIONAL: under the above key, create an 'AppDirectory' value of type REG_SZ and specify the current directory to use for the app, eg:
AppDirectory: REG_SZ: C:\TMP
I highlighted the correct thing.
------
youtube video about it How to run Program As Service in Windows 7 FOR FREE full example - YouTube
even better explanation http://www.iopus.com/guides/srvany.htm