---
title: "Change Windows Service Log on As User from MSA/gMSA to normal account"
date: "2015-11-18T08:00:22Z"
tags: ["Group Managed Service Account", "MSA", "Managed Service Account", "Windows Client", "Windows Server", "gMSA"]
categories: ["Microsoft"]
---

![Change Windows Service Log on As User from MSA gMSA to normal account - logo][1]

In my previous post I was working with Managed Service Accounts. Perhaps you don't know it but when you change service to use **Managed Service Account** and you did mistake or simply want to change it to another one you can't do it using GUI. In this post I will show how to change Windows Service Log on As User from MSA/gMSA to normal account.
<!--more-->
<!--adsense-->
This is how it looks on Service properties.

![Change Windows Service Log on As User from MSA gMSA to normal account - 1][2]

Fortunately for us we can do it using command line. To do it launch command line as Administrator. Use following command:
```
sc config vmware-network-coredump obj= wojcieh\Administrator password= PASSWORD
```
**vmware-network-coredump** should be replaced with service name - not display name you see.

![Change Windows Service Log on As User from MSA gMSA to normal account - 2][3]

`obj=`
this is the account you want to use as replacement

`password=` password associated with previously used account

Once it is done you can either change it to new Managed Service Account / group Managed Service Account or leave it with current settings. It took me a while to find solution to this issue and I hope you will find it useful as well.

[1]: /images/uploads/2015/11/change-windows-service-log-on-as-user-from-msa-gmsa-to-normal-account-logo.webp
[2]: /images/uploads/2015/11/change-windows-service-log-on-as-user-from-msa-gmsa-to-normal-account-1.webp
[3]: /images/uploads/2015/11/change-windows-service-log-on-as-user-from-msa-gmsa-to-normal-account-2.webp
