Questions tagged [applicationpoolidentity]
90 questions
4
votes
1 answer
What permissions/policies are needed to support loadUserProfile=true for new application pools?
Something happened on my development workstation (Windows 8.1) in the last few weeks which require me to either run my App Pools with the "Load User Profile" setting at False or not run with the identity set to ApplicationPoolIdentity. If I were…

Chris Simmons
- 6,924
- 5
- 31
- 47
4
votes
2 answers
How can I restart Application Pool's from a website without having setting app pool identity to local system?
I have an application in .Net that does various admin/config for other applications. I need to be able to stop and start the app pool. I've achieved this, but only if I run the app pool as local system (which is generally accepted as a bad…

Mr Shoubs
- 14,629
- 17
- 68
- 107
3
votes
1 answer
Which Identity option in IIS' Application Pool is considered best
Currently all of our web apps have their Application Pool Identity set to ApplicationPoolIdentity. Now, When an app needs to access some resources on some some server, say, add/read some file, the app performs impersonation in code to a user that…

ashilon
- 1,791
- 3
- 24
- 41
3
votes
0 answers
Python Flask - Pyodbc User as the actual user and not IIS Super User
We have a Python Flask app hosted on IIS 8 with Windows Authentication is turned on.
The ApplicationPool for this IIS app has Identity set to a Custom Account. Let's say for example,
super_usr
This account has SQL Authorization for the SQL Server…

user12121989
- 31
- 2
3
votes
1 answer
IIS ApplicationPool user has incorrect USERPROFILE / TEMP value
I've run into an issue that was originally exposed by Microsoft.CSharp.CSharpCodeGenerator throwing an UnauthorizedAccessException: Access to c:\Users\[wrong-user]\AppData\Local\Temp receiving an "access denied" error attempting to write into a…

Richard Szalay
- 83,269
- 19
- 178
- 237
3
votes
2 answers
App pool identity, Users group and iis isolation
I followed these two questions:
IIS 7.5 App Pool Identity permission not assigned to folder, but application still can write to its folder?
IIS AppPoolIdentity and file system write access permissions
To try to understand how it is possible to…

pfab.io
- 273
- 1
- 2
- 11
3
votes
0 answers
Windows 2008 R2 User Profile Service: unloads user profile of App Pool identity
I am currently facing the following issue.
An web application is being hosted as a domain account (Account A) in IIS 7.5 windows 2008 R2.
Attribute "load user profile" is set to false
The application pool is running integrated mode with .net…

Brian
- 31
- 2
3
votes
5 answers
Directory Listing Denied with custom application pool identity
I have an ASP.Net MVC3 application that has been running fine in the default Application Pool on my IIS 6 server.
I need to get it running under its own service account, so I created a new Application Pool and moved the application into it. With…

Andrew Cooper
- 32,176
- 5
- 81
- 116
2
votes
1 answer
IIS Application Pool Identity permissions reset on every Visual Studio app Publish
Following the instructions in this questions I can successfully change the permissions for the application pool identity
However, after I publish the web app...
The application pool identity's has been reset to just Read
How can I give the…

Joseph Campbell
- 320
- 5
- 15
2
votes
1 answer
How to set application identity of an application pool using web administration module in powershell?
I am using powershell to automate configuring websites in my IIS.
I have the following code that creates a web application pool for me
#Creating a new Application Pool
New-WebAppPool "NewAppPool"
How do I go about setting the application pool…

Shruti Agarwal
- 887
- 2
- 14
- 29
2
votes
0 answers
Date format on Windows 10 and ApplicationPoolIdentity
For some reason Windows 10 changed date format for Polish language (both short and long). Currently, when I call DateTime.Now.Date.ToString("d") in C# it returns 06.09.2015 while on Windows 8.1 it returns 2015-09-06.
I changed both short and long…

bpiec
- 1,561
- 3
- 23
- 38
2
votes
1 answer
Can I use ServerManager from Microsoft.Web.Administration without admin user as an application pool identity
I want to read some settings of the application pool using the ServerManager object from the Microsoft.Web.Administration.dll. The problem is that it works only if the identity of the application pool is a windows user with administrator privileges.…

Ivan Eftimov
- 228
- 1
- 10
2
votes
0 answers
Login SQL using Application Pool Identity and IIS set to Windows Authentication
First I'll explain the setup:
I am developing for an Intranet environment.
I have a server with Microsoft Server 2008 R2, IIS 7 and Microsoft SQL 2012 that contains all my applications.
The IIS is configured to authenticate only using Kerberos.
And…

xCliede
- 21
- 2
2
votes
0 answers
Why does .Net WebBrowser control need elevated privileges on Windows Server 2008?
I have an ASP.NET application that, among other things, is scraping another web site. I'm using a headless System.Windows.Forms.WebBrowser control in an STA thread, using Navigate(), handling the DocumentCompleted event, yada, yada. The WebBrowser…

KevinAndrewLipscomb
- 21
- 2
1
vote
1 answer
WindowsIdentity.GetCurrent() vs Request.LogonUserIdentity?
Im trying to understand the difference between assigning permission in here :
vs
assigning via impersonation :
1) ive heard that impersonation is used to access resources rather than running exe process
ive tried to run an EXE Process with only…

Royi Namir
- 144,742
- 138
- 468
- 792