Skip to main content

All Questions

Tagged with
0 votes
0 answers
10 views

How do I gray out the service startup type for my own windows service? (The service is written using win32 API ) [migrated]

I am writing a service, in which I want to restrict users from modifying service startup type. How do I do? I have attached a windows service which grays out the startup option. WinDefend - Service ...
pari.dev's user avatar
0 votes
1 answer
123 views

cmd // stop service ONLY if it's running, otherwise declare a variable

I'd like to make a short script which: Checks if specified services are running. If they do then they should be stopped (otherwise declare variable/s for the last point). Then there will be some code ...
superfractal's user avatar
2 votes
1 answer
1k views

Fail to start sppsvc service in Windows 11

I bought a new laptop with an Nvidia GeForce 4070 GPU and an I7 12700 CPU. After installing Microsoft Office products, the service sppsvc stopped working as a result the Office apps raised the error &...
MR_'s user avatar
  • 21
0 votes
1 answer
142 views

How do you kill a Windows Service with Cygwin?

I've found many questions/answers that document how to kill a Windows process in Cygwin, but I'm asking how to kill a Windows 10 service in Cygwin. If the verb "kill" seems out of place for ...
Daniel Kaplan's user avatar
0 votes
0 answers
289 views

Faults in Windows Updates Services and more on Windows 11

My friend's been having issues with his computer when trying to update to 23H2. Initially this started with a "Something went wrong. Try to reopen Settings later." message. After digging ...
Alucaius's user avatar
1 vote
1 answer
1k views

Windows 10 - Firewall - Outbound rule to allow access for one service hosted by svchost.exe

Initial question Today, I'm stuck with a Windows Firewall problem and I hope you can help me. I'm trying to create rules dedicated to services but I can't make them match. I found some related topics ...
shadowpool's user avatar
1 vote
1 answer
2k views

When can/should a Windows service Start type be "Boot" or "System" instead of "Automatic"?

While running the Services.msc GUI offers the ability to manually set a Windows service start type to Automatic, Automatic (Delayed start), Manual, or Disabled, the configuration of services is stored ...
ETL's user avatar
  • 381
0 votes
1 answer
181 views

Windows .Bat file behave differently when executed from command window and by double clicking on the bat file

batchfile is simple which has only two lines below, but behaves differently. run from command window. > sc \\server query | findstr SERVICE_NAME | find /c /v "" //result is 135 > ...
OfusJK's user avatar
  • 101
1 vote
1 answer
542 views

How do I detect the presence of a new service on a windows server via PowerShell script

We have a need to detect installation of new services on our application servers. These are Windows 2016 & 2019 servers. I decided to write and schedule a PS script that will run twice a day. This ...
FemiA's user avatar
  • 13
0 votes
1 answer
2k views

Why is there no clipboard user service on Windows 11?

In windows 10, there is a service called the Clipboard User Service or cbdhsvc that manages the clipboard. In Windows 11, this service no longer exists PS> Get-Service -DisplayName 'clip*' PS> ...
Nico Nekoru's user avatar
2 votes
2 answers
284 views

What do the service values "CHECKPOINT" and "WAIT_HINT" mean?

I'm trying to troubleshoot some issues with a service, including a service not starting up properly. So I typed the command sc queryex <servicename> (documentation here). Most of the results are ...
Benjamin Krausse DB's user avatar
0 votes
1 answer
845 views

List of Service Types for Windows Event ID 7045

I'm writing some detection use cases to search for suspicious Windows Services via Windows Event logs, I'm trying to find all of the values for the Service Type field in 7045 events that correspond to ...
Jary Rym's user avatar
1 vote
0 answers
261 views

Trying to understand the differences between running rundll32 from a service vs through cli

I'm trying to understand the difference between how things are executed when running under a NT_AUTHORITY LOCAL SERVICE account that run on startup, vs by the user. I have an executable that spawns a ...
Josh T's user avatar
  • 11
0 votes
0 answers
3k views

Cannot Start Windows Process Activation Service On Windows Server 2019?

I have searched high and low and can't figure this one out. I made a new VM on which Windows Server 2019 Standard was installed. If WAS is started from Services it gives the following error: Error 50: ...
Brute's user avatar
  • 23
0 votes
0 answers
114 views

How do I override windows service status perception?

I've got a phantom/ghost service. The executable is not running. Service Control Manager thinks it's running. Something needs that service to be stopped, it asks Windows ,which will happily continue ...
aphid's user avatar
  • 221

15 30 50 per page
1
2 3 4 5
20