Solved

Script to add user to Component Services

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

758 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

23 Experts available now in Live!

Get 1:1 Help Now