Your network contains an Active Directory domain named contoso.com. The domain
contains a server named Server1. Server1 runs Windows Server 2012.
You create a group Managed Service Account named gservice1.
You need to configure a service named Service1 to run as the gservice1 account.
How should you configure Service1?
A.
From a command prompt, run sc.exe and specify the config parameter.
B.
From a command prompt, run sc.exe and specify the sdset parameter.
C.
From the Services console, configure the General settings.
D.
From Windows PowerShell, run Set-Service and specify the -PassThrough parameter.
Explanation:
Executing the sc.exe command with the config parameter will modify service configuration.
Incorrect answers:
A) the General settings tab only allow you to stop, start and set type/parameters.
B) Set-Service provides a way for you to change the Description, StartupType, or
DisplayName of a service.
D) Sets the response/action on service failure.
References:
http://windows.microsoft.com/en-us/windows-vista/using-system-configuration
http://technet.microsoft.com/en-us/library/ee176963.aspx
http://technet.microsoft.com/en-us/library/cc990290(v=ws.10).aspx
http://technet.microsoft.com/en-us/library/cc738230(v=ws.10).aspx
A is correct
Commandline is as follows:
C:\Windows\system32>sc config wuauserv obj=LocalSystem
[SC] ChangeServiceConfig SUCCESS
This is no longer true for the 2012 R2 servers. You can configure the account directly from the services(.msc) MMC. You enter the “Log on” credentials just like any other service account, except that you use the format domain\gmsa_account$ (dollar sign is very important!) and leave the password fields blank.
http://blogs.technet.com/b/askds/archive/2009/09/10/managed-service-accounts-understanding-implementing-best-practices-and-troubleshooting.aspx
C is not correct. “From the Services console, configure the General settings.” To enter the credential you must go to the “Log on” tab, not the General settings tab.
A is the correct answer.