ProcessStartInfo.LoadUserProfile 속성

정의

Windows 사용자 프로필을 레지스트리에서 로드할지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool LoadUserProfile { bool get(); void set(bool value); };
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public bool LoadUserProfile { get; set; }
public bool LoadUserProfile { get; set; }
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.LoadUserProfile : bool with get, set
member this.LoadUserProfile : bool with get, set
Public Property LoadUserProfile As Boolean

속성 값

Windows 사용자 프로필을 로드해야 하는 경우true 이고, 그러지 않으면 false입니다. 기본값은 false입니다.

특성

설명

이 속성은 사용자 이름, 암호 및 도메인을 사용하여 프로세스를 시작하는 경우 참조됩니다.

값이 이 true면 레지스트리 키의 HKEY_USERS 사용자 프로필이 로드됩니다. 프로필을 로드하는 데 시간이 오래 걸릴 수 있습니다. 따라서 레지스트리 키의 정보에 HKEY_CURRENT_USER 액세스해야 하는 경우에만 이 값을 사용하는 것이 가장 좋습니다.

Windows Server 2003 및 Windows 2000에서는 프로세스가 자식 프로세스를 만들었는지 여부에 관계없이 새 프로세스가 종료된 후 프로필이 언로드됩니다.

Windows XP에서는 새 프로세스가 종료되고 만든 모든 자식 프로세스가 종료된 후 프로필이 언로드됩니다.

적용 대상