Microsoft Visual Studio to run with different users:
I am running visual studio 2010 beta2 on windows server 2008 which I use for some test development. I logged into server with administrative privileges now I wanted to run my application with another user privileges. Now we know normally visual studio wants administrative privileges to run without any restrictions on application.In-order to run Visual Studio with different user privileges "right click on visual studio icon holding shift key" you can see "Run as different user" option to select click on it and provide user credentials that you want test the application.
After Selecting "Run as different user" you have to provide user credentials
after validating user Visual studio starts.
Similarly we can run visual studio under any number of users on same system.
Wednesday, March 24, 2010
Tuesday, March 23, 2010
Windows "Run As Administrator" issue
I had looked into several websites in-order to find out why the "run as administrator" need to be select for using visual studio. Any windows user can run visual studio but some code requires Administrator access in order to execute. If possible, alternatives to this code should be pursued. Examples of code operations that require Administrator access are:
*Writing to protected areas of the file system, such as the Windows or Program Files directories
* Writing to protected areas of the registry, such as HKEY_LOCAL_MACHINE
*Installing assemblies in the Global Assembly Cache (GAC)
Generally, these actions should be limited to application installation programs. This allows users to use administrator status only temporarily.
Please follow the link for detailed info User Rights and Visual Studio .
And this is only with win vista,7 and 2008 server.
*Writing to protected areas of the file system, such as the Windows or Program Files directories
* Writing to protected areas of the registry, such as HKEY_LOCAL_MACHINE
*Installing assemblies in the Global Assembly Cache (GAC)
Generally, these actions should be limited to application installation programs. This allows users to use administrator status only temporarily.
Please follow the link for detailed info User Rights and Visual Studio .
And this is only with win vista,7 and 2008 server.
Subscribe to:
Posts (Atom)