Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Script to add user to Component Services

Posted on 2013-05-30
5
Medium Priority
?
551 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:Meir Rivkin
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:Meir Rivkin
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 …
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

926 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