Change Logon Account for a Service

(imported topic written by brannonb91)

Hello,

I need to change the logon account on the RpcSs service to the Local System account. I realize that a reboot would be in order to effect the change, but am unclear of what type of script would need to be done for this??

Any help is appreciated.

Thanks!

(imported comment written by NoahSalzman)

You can use the “Windows Registry Wizard” to create an action that will do this.

My guess is that you change the value ObjectName to be LocalSystem for the key HKLM\System\CurrentControlSet\Services\RpcSs

(imported comment written by SystemAdmin)

waithidden cmd.exe /C sc config NameOfService= “.\LocalSystem” password= “”

action requires restart