Command Lines to Implement Minimum Visual Studio ASP.Net Development Requirements In Secure Environment

net localgroup Administrators /add Domain\UserName

net localgroup Administrators /add VisualStudioDebuggerLocalAccount

ntrights -u "VisualStudioDebuggerLocalAccount" -m \\ComputerName +r SeBatchLogonRight

sc config w3svc start= auto
sc config iisadmin start= auto

NET START W3SVC
NET START iisadmin 

%windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe -i
%windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe -ga ComputerName\VisualStudioDebuggerLocalAccount

The VisualStudioDebuggerLocalAccount runs as the identity for the application pool used for the local IIS web application you want to debug in Visual Studio.

Ntrights.exe is part of the Server 2003 Administration Tools.

CodeProject

Advertisements