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 http://social.technet.microsoft.com/Forums/en-US/w7itproappcompat/thread/dde69147-a01a-4eb1-8ea9-31adbf874bed 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
hongjunAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

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

https://bradhowe.ca/2011/02/15/add-dcom-permissions-to-iisapppool-identity-account-in-windows-server-2008/

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

Btw, my above unofficial took works.
0
 
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.
0
 
hongjunAuthor Commented:
Resolved it myself.
0
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.