You need to ensure that the FTP service is unavailable after restarting the server

You manage a computer named FTPSrv1 that runs Windows Server 2008. Your company policy
requires that the FTP service be available only when required by authorized projects. You need to
ensure that the FTP service is unavailable after restarting the server. What should you do?

You manage a computer named FTPSrv1 that runs Windows Server 2008. Your company policy
requires that the FTP service be available only when required by authorized projects. You need to
ensure that the FTP service is unavailable after restarting the server. What should you do?

A.
Run the iisreset command on the FTPSrv1 server.

B.
Run the net stop msftpsvc command on the FTP server.

C.
Run the suspend-service msftpsvc cmdlet in Microsoft Windows PowerShell tool.

D.
Run the WMIC /NODE:FTPSrv1 SERVICE WHERE caption=”FTP Publishing Service” CALL
ChangeStartMode “Disabled” command on the FTP server.

Explanation:
To make sure that FTP service unavailable after restarting the server, you need to Run the WMIC
/NODE: TKFSVE SERVICE WHERE the caption=”FTP Publishing Service” CALL ChangeStartMode
“Disabled” command on this particular FTP server. The WMI command-line (WMIC) utility provides a

command-line interface for WMI. The /Node command allows you to specify computer names and
synchronously execute all commands against all computers listed in this value. To disable FTP service
on the computer, you need to use ChangeStartMode “Disabled” command.
Reference: http://msdn2.microsoft.com/en-us/library/aa394531(VS.85).aspx
Reference: Gathering WMI Data without Writing a Single Line of Code / System Configuration
Changes
http://technet.microsoft.com/en-us/magazine/cc160919.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *