Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Assigning a job object to a process which is configured to start automatically from a remote desktop session


View products that this article applies to.

Symptoms

Your application is configured to start automatically from a remote desktop session.� You have an application specified in the following registry key:

HKLM\Software\MicroSoft\WindowsNT\CurrentVersion\Winlogon\AppSetup

The application configured in the above registry key cannot associate a job object with itself or with any child processes. AssignProcessToJob object() fails with ERROR_ACCESS_DENIED.

↑ Back to the top


Cause

There is a job object already associated with your application.�

↑ Back to the top


Resolution

This is by design.

↑ Back to the top


More information

The system�assoicates a job object with your application to determine when to terminate the application when the session has ended.

↑ Back to the top


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Keywords: KB2269642

↑ Back to the top

Article Info
Article ID : 2269642
Revision : 1
Created on : 7/1/2010
Published on : 7/1/2010
Exists online : False
Views : 255