question

SivanjaneyuluK-9511 avatar image
0 Votes"
SivanjaneyuluK-9511 asked SivanjaneyuluK-9511 edited

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

124680-microsoft-excel-application.png


windows-server-powershelloffice-excel-itprooffice-scripts-excel-dev
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

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!

0 Votes 0 ·

@VikiJi-MSFT

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.

1 Vote 1 ·
RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered SivanjaneyuluK-9511 commented
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Provided script in Url, No Where else asking user name and Password to update the domain account.

0 Votes 0 ·
RichMatheisen-8856 avatar image
1 Vote"
RichMatheisen-8856 answered SivanjaneyuluK-9511 commented

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.

· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

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.!!

0 Votes 0 ·

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

0 Votes 0 ·

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.

0 Votes 0 ·
Show more comments

Any Other powershell scripts to update DCom settings?

0 Votes 0 ·