Solved

Script to add user to Component Services

Posted on 2013-05-30
5
504 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
  • 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
This article will help you understand what HashTables are and how to use them in PowerShell.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now