Script to add user to Component Services

I intend to add user "IIS AppPool\DefaultAppPool" to DCom Config "Microsoft Excel Application" but I am having problem on my Windows Server 2008.

- I cannot find "IIS AppPool\DefaultAppPool" on Win 2008.

From this link it seems to suggest adding permission on "My Computer" is an option.

But, how to add "IIS AppPool\DefaultAppPool" user instead of Network Service for Win 2008?
LVL 33
Who is Participating?

Improve company productivity with a Business Account.Sign Up

hongjunConnect With a Mentor Author Commented:
BTW, I found this.

But I would love if someone can have an official method to solve my problem before I try the above unofficial tool.
Meir RivkinFull stack Software EngineerCommented:
just a question, if u grant everyone access on dcom config, do u get it working?
hongjunAuthor Commented:
Yes but that shouldn't be the case.

Btw, my above unofficial took works.
Meir RivkinFull stack Software EngineerCommented:
so incorporate the usage of dcomperm in your powersehll, that would be my best suggestion if it's working for you.
hongjunAuthor Commented:
Resolved it myself.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.