8

I tried:

runas /noprofile /user:"IIS APPPOOL\MyAppPool" cmd.exe

But it asks me for a password. My admin password does not work there.

I get:

RUNAS ERROR: Unable to acquire user password

Michael
  • 173
  • 9
mnaoumov
  • 191
  • 1
  • 5

1 Answers1

5

You can't do that. IIS AppPool\<user> accounts are "Application Pool Identity" accounts which are synthesised by IIS when the pool is running. ApplicationPoolIdentity account lifetimes are managed entirely by IIS and the OS and you'll never be able to authenticate interactively with them.

Kev
  • 7,777
  • 17
  • 78
  • 108
  • 8
    Actually I have workaround. I can create new WebApplication and link it to that AppPool And then from that application do `Process.Start("cmd.exe");` But it is too complicated and I thought that something simpler should be available. – mnaoumov Jan 19 '12 at 03:45
  • No other ideas? – mnaoumov Feb 01 '12 at 05:03