Archive: Writing password for Dcomcnfg


Writing password for Dcomcnfg
Hi,

I would want to write the password of a application in Distributed COM Configuration Properties (dcomcnfg)using NSIS.

In the identity, there are three types, interactive user, launching user and this user with password.

I would like to change to this user with password but i am only able to change to this user but without the password.

In my code:
WriteRegStr HKLM "SYSTEM\ControlSet001\Services\ABC" "Object Name" "Administrator"

The application, ABC have changed to this user with the user name: Administrator but the password is empty.

Distributed COM Configuration Properties:
click the application
tab: Identity

Identity:
The interactive user
The launching user
This user: user
Password
Confirm Password


So what exactly is the problem? Aren't you able to add another registry key for the password? Or should the password be written differently?


I do not know where and what to write to for the password??
What should be the name of the registry key for the password?


That's something you'd have to figure out from MSDN or some other source. If you need to figure out how to write a specific registry value using NSIS, I can help. But if you need to figure out what you want to write, your Google search is as good as mine.