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 iisadmin 

%windir%\\framework\v4.0.30319\aspnet_regiis.exe -i
%windir%\\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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s