Your network contains an Active Directory domain named contoso.com. The domain contains a server named
Server1. Server1 runs Windows Server 2012 R2.
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.
E.
From the Services console, configure the Log On settings.
F.
From a command prompt, run sc.exe and specify the privs parameter.
G.
From Services Console configure the recovery settings
Explanation:
To specify a binary path forthe NEWSERVICE service, type:
sc config NewService binpath= “ntsd -d c:\\windows\\system32\\NewServ.exe”
E
For me A) and E) are correct.
You can use command like this (A):
sc.exe config Service1 obj= contoso\gservice1 password=randompass