How to update the User(Domain user) and Password on This User option in Identity section of Microsoft excel application through Powershell for DCOMcnfg

How to update the User(Domain user) and Password on This User option in Identity section of Microsoft excel application through Powershell for DCOMcnfg

Hi @SivanjaneyuluK-9511,
Welcome to Q&A forum!
Since this issue is more related to PowerShell, but the tag office-excel-itpro focuses on genral issues about Excel client, I will remove it.
Thanks for your understanding!
While the question asked about doing this in PowerShell, I don't think there's a way (or at least an easy way) to do this without C#.
So how would you do this using any MS supplied software, excluding any that relies on a GUI? That's right in line with the office "itpro" category.
Provided script in Url, No Where else asking user name and Password to update the domain account.
Download DCOMFIX from here: 11.aspx
You can change the user by rewriting a registry key, but the password can't be done that way.
Yes, We can't update the password with this. But, My goal is need to update the User account and password.
Because every morning 6 AM I need to update My team domain account and Evening 6 PM, I need to update other team domain account to use the Microsoft Excel application. So, I want to avoid this manual efforts daily.!!
Have a look at the other EXE in that zip file: DCOMPERM. Something like this should work.
dcomperm -runas {12345678-1234-1234-1234-00aa00bbf7c7} redmond\jdoe password
No, Not working, Better we need to try different method. My case need to update APP ID {00020812-0000-0000-C000-000000000046} on Identity option as this user with Domain service account with Password.
Any Other powershell scripts to update DCom settings?
15 people are following this question.