Wednesday, February 7, 2018

Kill services through CMD PROMPT

-> Click the Start menu
-> Click Run or in the search bar type services.msc
-> Press Enter
-> Look for the service and check the Properties and identify its service name.
-> open a command prompt. Type: sc queryex [servicename].
-> Press Enter
-> Identify the PID
-> Incommand prompt type: taskkill /f /pid [pid number]
-> Press Enter

No comments:

Post a Comment

SQL Query combined report: Data vs Index size

 USE AxDB; GO SELECT TOP (100)     s.name AS SchemaName,     t.name AS TableName,     SUM(CASE         WHEN i.index_id IN (0,1)         THEN...