Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Script to add user to Component Services

Posted on 2013-05-30
5
Medium Priority
?
544 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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
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 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…

715 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