Can I disable login for a user account and still have working impersonation?

Several of us have a local administrator user account with the same username and password because the code includes ASP.NET impersonation and this setup enables it to work.

I'm not an expert on IIS or impersonation but I can see that it's not ideal for us all to have this local administrator on our systems.

I tried to disable the user account but then impersonation failed. Here's what I did: Go to Computer Management > System Tools > Local Users and Groups > Users > right click the user name > properties > check Account is disabled > Apply > OK > restart system.

What I want to know is can I disable login for the user account without causing impersonation to fail?

Read more here:

Content Attribution

This content was originally published by Astrophe at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: