What is wlms.exe from Microsoft? Wlms.exe is part of Windows License Monitoring Service. Find out what wlms.exe is doing on your PC, and if it is safe and stable, detailed performance information and how to remove it.
Active19 days ago
I have created a windows service and in the service in control panel -> administrative tools -> services, its status is starting.
I want to stop this service, but the stop option is grayed out.How can I start/stop the service?
Every time I restart, then it becomes stopped and I can delete it.
Kemal Fadillah
8,55333 gold badges3939 silver badges5959 bronze badges
DotnetSparrowDotnetSparrow
11.4k5757 gold badges165165 silver badges290290 bronze badges
9 Answers
If you run the command:
where is the the name of the service, not the display name (spooler, not Print Spooler), at the cmd prompt it will return the PID of the process the service is running as. Take that PID and run
to force the PID to stop. Sometimes if the process hangs while stopping the GUI won't let you do anything with the service.
DrPppr242DrPppr242
1,65111 gold badge1111 silver badges77 bronze badges
You could do it in one line (useful for ci-environments):
Filter -> Services -> ServiceName equals SERVICE_NAMES -> Force
Source: https://technet.microsoft.com/en-us/library/bb491009.aspx
totevtotev
If the stop option is greyed out then your service did not indicate that it was accepting
SERVICE_ACCEPT_STOP when it last called SetServiceStatus . If you're using .NET, then you need to set the CanStop property in ServiceBase .
Of course, if you're accepting stop requests, then you'd better make sure that your service can safely handle those requests, especially if your service is still progressing through its startup code.
Aaron Klotz
![]()
8,49211 gold badge2121 silver badges2222 bronze badges
Use the Task manager to find the Service and kill it from there using End Task.Always does the trick for me.
If you have made the service yourself, consider removing Long running operations from the OnStart event, usually that is what causes the Service to be non responsive. Cadillac cue hack.
Varun RathoreVarun Rathore
5,60322 gold badges2020 silver badges2626 bronze badges
As Aaron mentioned above, some services do not accept
SERVICE_ACCEPT_STOP messages, by the time it was developed. And that is hard coded into the executable. Period. A workaroud would be not to have it started, and as you cannot change its properties, forcibly do the following:
If you cannot change the entry, right-click on your service name on the left pane, select 'Permissions', check that 'Everyone' has full access and try step 4 again.
Don't forget to disable safe boot from msconfig again, and reboot !
vortalvortal
Open command prompt with admin access and type the following commands there .
a)
it displays list of all available services . There you can see the service you want to stop/start/restart . Remember PID value of the service you want to force stop.
b) Now type
and press enter. On success you will get the message “SUCCESS: The process with PID has been terminated”.
This will forcibly kill the frozen service. You can now return to Server Manager and restart the service.
Mohan D KishoreMohan D Kishore
abdul rehman kkabdul rehman kk
Windows Monitoring Service
I had the same problem. If you are not an admin on the computer, you need to run Services as an admin.
Aidan CostelloAidan Costello
I solved the problem with the following steps:
Now, the service will not try to restart and you can able to delete the greyed out service from services list (i.e. greyed out will be gone).
Windows Xp Licensing
Janugi RamaJanugi Rama
Windows Licensing Service CenterNot the answer you're looking for? Browse other questions tagged windows-services or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |