error while starting the windows service

Posted on 2012-09-05
Last Modified: 2013-02-25
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"
Question by:RNithik
    1 Comment
    LVL 29

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
    This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now