Impossible. Debugging certain projects on IIS (ASP.NET for example) always requires administrator permissions, so that the debugger can attach to IIS worker processes running in system session (session 0).
Alternative to provide Local Administrative Privilege
Deepak Vasudevan
96
Reputation points
Our developer team is in need of Local Administrator Privileges so that the following options they can make us of
1) Publish in Visual Studio
2) Create Website/Virtual Directory and debug through Local IIS
However our compliance team is skeptical about allowing these exception. Since we do not have an Active Directory setup and team is distributed is there a way to have another account type in Local Users/Group in Windows 10 systems to avoid the developer user accounts being added to Administrator groups.
1 answer
Sort by: Most helpful
-
Lex Li (Microsoft) 5,582 Reputation points Microsoft Employee
2021-04-03T05:36:18.463+00:00