Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 490
  • Last Modified:

error while starting the windows service

OS : windows2008

Created service : MyService (thru sc create..)

Path to execute : C:\Windows\System32\Srvany.exe

regedit params :

Application Directory = E:\Program Files\Java\jre6\bin
Application = E:\Program Files\Java\jre6\bin\java
AppParatmeters= JavaServer 3000

Set auto to this service.

After i restart the machine, i am not able to see that this service started. and also i tried to start the service manually. and giving following error:

"service on Local Computer started and then stopped. Some service stop automatically if  they are ot in  us byother services or prorgrams.."

when i go to application logs, showing error like "service is marked as an interactive service. However, the system is configured to not allow interactive services. This service may not function properly"
1 Solution
Rich WeisslerProfessional Troublemaker^h^h^h^h^hshooterCommented:
There are several possibilities.  Two quick/easy things to check:
  1. You can allow the service to interact with the desktop.
  2. In the Event Viewer, application log, right click the application log, and give it more space and allow the log to overwrite old events as necessary.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now