This documentation is archived and is not being maintained.

Running Under Windows Vista

Visual Studio 2005
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Both Visual Studio and the Visual Studio SDK run under Windows Vista. You must install both with elevated administrative permissions. You must run Visual Studio as Administrator to compile samples and for many other scenarios. For more information, see Visual Studio on Windows Vista.

Installing Visual Studio

To run Visual Studio under Windows Vista, you must install Visual Studio 2005 Service Pack 1 (SP1) and Visual Studio 2005 Service Pack 1 Update for Windows, currently in Beta. For more information, see Microsoft Visual Studio 2005 Team Suite Service Pack 1 and Visual Studio 2005 Service Pack 1 Update for Windows Vista Beta. You must install both with elevated administrative permissions. If necessary, save Setup.exe to a temporary location and then run it as Administrator.

Installing the Visual Studio SDK

You must install the Visual Studio SDK with elevated administrative permissions. Visual Studio SDK will prompt you to elevate permissions when installation begins.

Running Visual Studio

You must run Visual Studio with elevated administrative permissions to compile the Visual Studio SDK samples and for many other scenarios. To enable the appropriate settings every time that you start Visual Studio, you can create a shortcut on your desktop. To do this, create a shortcut to Visual Studio, right-click it and then click Properties, click Advanced, and then select Run as administrator. You can do the same for the Visual Studio 2005 command prompt.

Programming Considerations

Both the system registry and the Program Files folder and its subfolders are virtualized under Windows Vista. A system registry key set by a program running without administrative permissions is not available to a program running with administrative permissions.

You can cause any executable file to prompt for administrative permissions by setting the UAC manifest in the PE header. For more information, see Windows Vista Application Development Requirements for User Account Control Compatibility.

See Also

Show: