Solved

Script to add user to Component Services

Posted on 2013-05-30
5
533 Views
Last Modified: 2013-06-21
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?
0
Comment
Question by:hongjun
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 0 total points
ID: 39207927
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
 
LVL 42

Expert Comment

by:sedgwick
ID: 39214030
just a question, if u grant everyone access on dcom config, do u get it working?
0
 
LVL 33

Author Comment

by:hongjun
ID: 39214243
Yes but that shouldn't be the case.

Btw, my above unofficial took works.
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 39214386
so incorporate the usage of dcomperm in your powersehll, that would be my best suggestion if it's working for you.
0
 
LVL 33

Author Closing Comment

by:hongjun
ID: 39265341
Resolved it myself.
0

Featured Post

IoT Devices - Fast, Cheap or Secure…Pick Two

The IoT market is growing at a rapid pace and manufacturers are under pressure to quickly provide new products. Can you be sure that your devices do what they're supposed to do, while still being secure?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question