Friday, March 21, 2014

Create Batch file as Windows Services

- Download Windows Server 2003 Resource Kit Tools @http://www.microsoft.com/en-us/download/details.aspx?id=17657

- Create Service
    sc create ServiceName binPath= 'path_to_binary' DisplayName= 'Name_of_Servies' start= auto

- Create Parameters on Regedit
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceName

- Create Key name 'Parameters'

- Add String Value 'Application' for binary file (Full path)

- go to Services.msc

- on 'Log on' tab check box 'Allow service to interact with desktop'

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

ALCATEL 6900

write memory copy running certified reload from working no rollback-timeout