当前位置:网站首页>Execute the sc.exe QC command to query some services. The data area passed to the system call is too small

Execute the sc.exe QC command to query some services. The data area passed to the system call is too small

2022-06-23 14:21:00 shawyang

perform sc.exe qc An error occurs when the command queries some services The data area passed to the system call is too small

The solution is simple , Add a number several thousand more than the error number after the command

such as

sc.exe qc cloudbase-init 8192

sc.exe The command is broad and profound , Many services fail to start because the services they depend on have exceptions

Remote Procedure Call (RPC) namely rpcss It is the underlying service on which many services depend , Query depends on rpcss The commands for all services are as follows :

sc.exe enumdepend rpcss 35000|findstr SERVICE_NAME > c:\depend_rpcss.txt

notepad c:\depend_rpcss.txt

Another example

sc.exe enumdepend http 35000|findstr SERVICE_NAME > c:\depend_http.txt

notepad c:\depend_http.txt

HTTP A service is a hidden service , Hiding is not to let people interfere , Because it's too low-level , If it has a problem , Many services have problems , such as

SERVICE

SERVICE_NAME: fdPHost

SERVICE_NAME: FDResPub

SERVICE_NAME: IISADMIN

SERVICE_NAME: RemoteAccess

SERVICE_NAME: Spooler

SERVICE_NAME: SSDPSRV

SERVICE_NAME: upnphost

SERVICE_NAME: W3SVC

SERVICE_NAME: Wecsvc

SERVICE_NAME: WinRM

SERVICE_NAME: WMSVC

原网站

版权声明
本文为[shawyang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/01/202201071305588832.html