CertSrv
CertSrv.exe, from the command prompt, starts the Certificate Services as a stand-alone application instead of as a Windows 2000 service. (This should be used only for diagnostic purposes.) When CertSrv is running in this diagnostics mode, it displays a log of its actions in the console window
Syntax
certsrv -z
net start certsvc
Parameters
- certsrv -z
- Starts the Certification Authority service as a stand-alone application in diagnostic mode, displaying its actions in the console window.
It is important to note that the Certification Authority service cannot be run in diagnostic mode if it is currently running as a service. If you want to stop the Certification Authority service in order to run certsrv in diagnostic mode, do one of the following before typing certsrv -z at the command prompt:
- Open the Certification Authority snap-in, click the name of the certification authority in the console tree, then on the Action menu, point to All Tasks and click Stop Service.
- Open Computer Management, click on Services and Applications, then click on Services. In the details pane, click on Certificate Services. On the Action menu, click Stop.
- net start certsvc
- Manually starts the Certification Authority service.
Ordinarily, the Certification Authority service starts automatically, with no user intervention. If the Certification Authority service is stopped, you can start it a number of ways:
- Open the Certification Authority snap-in, and click on the name of the certification authority in the console tree. On the Action menu, point to All Tasks, and click on Start Service.
- Open Computer Management, click on Services and Applications, then click on Services. In the details pane, click Certificate Services. On the Action menu, click Start.
- At the command prompt, type net start certsvc.