Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
PRB: Visual C++ .NET Project Build Error PRJ0016
Article ID: 313363 - View products that this article applies to.
This article was previously published under Q313363
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/256986/EN-US/ )Description of the Microsoft Windows Registry
When you build a Visual C++ .NET project, the compiler throws the following error:
error PRJ0016: The user's security settings prevent the process from being created. These settings are required for building.
A value is assigned to the following registry key:
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
To resolve this problem, delete the RestrictRun key or add Vcspawn.exe to the list of .exe files in the key.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
The registry key that is mentioned in the "Cause" section, which is required by the Application Specification for Microsoft Windows 2000 (also know as "Windows 2000 Logo"), enables administrators to restrict the processes that run on users' computers. Development tools, however, are exempt from this requirement.
Steps to Reproduce Behavior
For other top-hit Visual C++ .NET Microsoft Knowledge Base articles, visit the following Microsoft Web site:
Visual C++ .NET (2002) Support CenterFor additional information, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/151176/EN-US/ )Policy Registry Entries (Default User)