Sc lock Command in Windows Server 2008

In this article I am going to explain about sc lock command in windows server 2008 operating system.
  • 1439

Introduction

The operating system Sc lock command is used to lock the service control manager database.

Syntax of Sc lock
command

sc [<ServerName>] lock


Parameters in Sc lock command

It has only one parameter:
 
Parameter Description
<ServerName> It specifies the name of the remote server on which service is located.

Example of Sc lock command

sc lock


Output:

sc-lock-in-Windows-Server-2008.jpg

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.