터미널 서버의 필수 프로필을 로드하지 못했습니다. Userenv.log 디버그

터미널 서버의 필수 프로필을 로드하지 못했습니다. Userenv.log 디버그

최근 프로필 공유에 손상된 프로필이 많이 있습니다. 지금은 이유를 알 수 없지만 사용자가 모두 동일하게 사용할 수 있고 각 사용자에 대해 별도의 프로필을 가질 필요가 없기 때문에 하나의 필수 프로필로 전환하기로 결정했습니다.

내가 한 일은 다음과 같습니다. 새로운 사용자로 터미널 서버에 로그인하고 일부 항목(가져온 인증서 및 몇 가지 파일)을 구성했습니다. 그런 다음 로그아웃했습니다. 나중에 관리자로서 프로필을 다른 서버에 복사하고 이름을 bsilo로 바꿨습니다. 사용자 하이브 설정이 조정되었는지 확인했습니다. 모두가 벌통에 접근할 수 있었습니다. 모든 사람이 전체 액세스 권한을 갖도록 bsilo 폴더를 공유했습니다. 도메인 사용자의 폴더 내용을 읽고, 읽고, 실행하고, 나열하도록 NTFS 권한을 설정했습니다. 또한 NTUSER.DAT의 이름을 NTUSER.MAN으로 바꿨습니다.

이제 터미널 서버에 \server\bsilo\ntuser.man을 가리키는 환경 변수 %manprofile%를 설정했습니다.

테스트 사용자의 터미널 서비스 프로필 경로로 env var를 설정했습니다. 사용자로 로그인하면 다음과 같은 결과가 나타납니다.

시스템이 지정된 경로를 찾을 수 없습니다. 누군가 나에게 올바른 방향을 알려줄 수 있습니까? 감사해요

USERENV(1774.d18) 15:52:39:724 InitializePolicyProcessing: Initialised Machine Mutex/Events USERENV(1774.d18) 15:52:39:724 InitializePolicyProcessing: Initialised User Mutex/Events USERENV(1774.d18) 15:52:39:724 LibMain: Process Name: \??\C:\WINDOWS\system32\winlogon.exe USERENV(1774.d18) 15:52:48:005 LoadUserProfile: Yes, we can impersonate the user. Running as self USERENV(1774.d18) 15:52:48:005 ========================================================= USERENV(1774.d18) 15:52:48:005 LoadUserProfile: Entering, hToken = <0x340>, lpProfileInfo = 0x6e5d8 USERENV(1774.d18) 15:52:48:005 LoadUserProfile: lpProfileInfo->dwFlags = <0x0> USERENV(1774.d18) 15:52:48:005 LoadUserProfile: lpProfileInfo->lpUserName = USERENV(1774.d18) 15:52:48:005 LoadUserProfile: lpProfileInfo->lpProfilePath = <\server\bsilo\ntuser.man> USERENV(1774.d18) 15:52:48:005 LoadUserProfile: lpProfileInfo->lpDefaultPath = <\BDPINF5\netlogon\Default User> USERENV(1774.d18) 15:52:48:005 LoadUserProfile: NULL server name USERENV(1774.d18) 15:52:48:005 LoadUserProfile: no thread token found, impersonating self. USERENV(1774.d18) 15:52:48:005 GetInterface: Returning rpc binding handle USERENV(218.2f94) 15:52:48:005 IProfileSecurityCallBack: client authenticated. USERENV(218.2f94) 15:52:48:005 DropClientContext: Got client token 000009B4, sid = S-1-5-18 USERENV(218.2f94) 15:52:48:005 MIDL_user_allocate enter USERENV(218.2f94) 15:52:48:005 DropClientContext: load profile object successfully made USERENV(218.2f94) 15:52:48:005 DropClientContext: Returning 0 USERENV(1774.d18) 15:52:48:005 LoadUserProfile: Calling DropClientToken (as self) succeeded USERENV(1774.d18) 15:52:48:005 CProfileDialog::Initialize : Cookie generated USERENV(1774.d18) 15:52:48:005 CProfileDialog::Initialize : Endpoint generated USERENV(218.1f38) 15:52:48:005 IProfileSecurityCallBack: client authenticated. USERENV(218.1f38) 15:52:48:020 LoadUserProfileI: RPC end point IProfileDialog_9D36D6DD48F0578A2A41B23D7A982E63 USERENV(218.1f38) 15:52:48:020 In LoadUserProfileP USERENV(218.1f38) 15:52:48:020 LoadUserProfile: Running as client, sid = S-1-5-18 USERENV(218.1f38) 15:52:48:020 ========================================================= USERENV(218.1f38) 15:52:48:020 LoadUserProfile: Entering, hToken = <0x98c>, lpProfileInfo = 0x9c940 USERENV(218.1f38) 15:52:48:020 LoadUserProfile: lpProfileInfo->dwFlags = <0x0> USERENV(218.1f38) 15:52:48:020 LoadUserProfile: lpProfileInfo->lpUserName = USERENV(218.1f38) 15:52:48:020 LoadUserProfile: lpProfileInfo->lpProfilePath = <\server\bsilo\ntuser.man> USERENV(218.1f38) 15:52:48:020 LoadUserProfile: lpProfileInfo->lpDefaultPath = <\BDPINF5\netlogon\Default User> USERENV(218.1f38) 15:52:48:020 LoadUserProfile: NULL server name USERENV(218.1f38) 15:52:48:020 LoadUserProfile: User sid: S-1-5-21-807756564-1922302612-1565739477-22627 USERENV(218.1f38) 15:52:48:020 CSyncManager::EnterLock USERENV(218.1f38) 15:52:48:020 CSyncManager::EnterLock: No existing entry found USERENV(218.1f38) 15:52:48:020 CSyncManager::EnterLock: New entry created USERENV(218.1f38) 15:52:48:020 CHashTable::HashAdd: S-1-5-21-807756564-1922302612-1565739477-22627 added in bucket 11 USERENV(218.1f38) 15:52:48:020 LoadUserProfile: Wait succeeded. In critical section. USERENV(218.1f38) 15:52:48:864 GetOldSidString: Failed to open profile profile guid key with error 2 USERENV(218.1f38) 15:52:48:864 GetProfileSid: No Guid -> Sid Mapping available USERENV(218.1f38) 15:52:48:864 TestIfUserProfileLoaded: return with error 2. USERENV(218.1f38) 15:52:48:864 GetOldSidString: Failed to open profile profile guid key with error 2 USERENV(218.1f38) 15:52:48:864 GetProfileSid: No Guid -> Sid Mapping available USERENV(218.1f38) 15:52:48:864 LoadUserProfile: Expanded profile path is \server\bsilo\ntuser.man USERENV(218.1f38) 15:52:48:880 ParseProfilePath: Entering, lpProfilePath = <\server\bsilo\ntuser.man> USERENV(218.1f38) 15:52:48:880 CheckXForestLogon: checking x-forest logon, user handle = 2444 USERENV(218.1f38) 15:52:48:880 CheckXForestLogon: policy set to disable XForest check USERENV(218.1f38) 15:52:48:880 ParseProfilePath: Mandatory profile (.man extension) USERENV(218.1f38) 15:52:49:239 AbleToBypassCSC: Try to bypass CSC USERENV(218.1f38) 15:52:49:239 AbleToBypassCSC: tried NPAddConnection3ForCSCAgent. Error 2109 USERENV(218.1f38) 15:52:49:239 AbleToBypassCSC: Share \server\bsilo mapped to drive E. Returned Path E:\ntuser.man USERENV(218.1f38) 15:52:49:239 ParseProfilePath: CSC bypassed. Profile path E:\ntuser.man USERENV(218.1f38) 15:52:49:255 ParseProfilePath: Tick Count = 0 USERENV(218.1f38) 15:52:49:255 ParseProfilePath: GetFileAttributes found something with attributes <0x2022> USERENV(218.1f38) 15:52:49:255 ParseProfilePath: Found a file USERENV(218.1f38) 15:52:49:255 ReportError: Impersonating user. USERENV(218.1f38) 15:52:49:255 ReportError: Logging Error

DETAIL - The system cannot find the path specified.

USERENV(218.1f38) 15:52:49:255 GetInterface: Returning rpc binding handle USERENV(218.1f38) 15:52:49:255 ReportError: RPC End point IProfileDialog_9D36D6DD48F0578A2A41B23D7A982E63 USERENV(218.1f38) 15:52:49:255 ReportError: waiting on rpc async event USERENV(1774.2398) 15:52:49:255 ErrorDialogEx: Calling DialogBoxParam USERENV(1774.2398) 15:52:49:270 ErrorDlgProc:: DialogBoxParam USERENV(218.1f38) 15:52:52:177 RpcAsyncCompleteCall finished, status = 0 USERENV(218.1f38) 15:52:52:177 ReleaseInterface: Releasing rpc binding handle USERENV(218.1f38) 15:52:52:177 LoadUserProfile: ParseProfilePath returned FALSE USERENV(218.1f38) 15:52:52:177 CancelCSCBypassedConnection: Cancelling connection of E: USERENV(218.1f38) 15:52:52:177 CancelCSCBypassedConnection: Connection deleted. USERENV(218.1f38) 15:52:52:177 CSyncManager::LeaveLock USERENV(218.1f38) 15:52:52:192 CSyncManager::LeaveLock: Lock released USERENV(218.1f38) 15:52:52:192 CHashTable::HashDelete: S-1-5-21-807756564-1922302612-1565739477-22627 deleted USERENV(218.1f38) 15:52:52:192 CSyncManager::LeaveLock: Lock deleted USERENV(218.1f38) 15:52:52:192 LoadUserProfile: 003 About Reverted back to user <00000000> USERENV(218.1f38) 15:52:52:192 LoadUserProfile: Leaving with a value of 0. USERENV(218.1f38) 15:52:52:192 ========================================================= USERENV(218.1f38) 15:52:52:192 LoadUserProfileI: LoadUserProfileP failed with 3 USERENV(218.1f38) 15:52:52:192 LoadUserProfileI: returning 3 USERENV(1774.d18) 15:52:52:192 LoadUserProfile: Running as self USERENV(1774.d18) 15:52:52:192 LoadUserProfile: Calling LoadUserProfileI failed. err = 3 USERENV(218.200c) 15:52:52:192 IProfileSecurityCallBack: client authenticated. USERENV(218.200c) 15:52:52:192 ReleaseClientContext: Releasing context USERENV(218.200c) 15:52:52:192 ReleaseClientContext_s: Releasing context USERENV(218.200c) 15:52:52:192 MIDL_user_free enter USERENV(1774.d18) 15:52:52:192 ReleaseInterface: Releasing rpc binding handle USERENV(1774.d18) 15:52:52:192 LoadUserProfile: Returning FALSE. Error = 3

답변1

몇 가지 사항:

  1. 기본 사용자 프로필을 설정하려면 이 문서를 따르세요. 이것이 올바른 방법입니다. 망치가 필요하지 않습니다. 이렇게 하면 모든 TS 서버 또는 도메인의 Netlogon 공유에 복사할 수 있는 사용자 지정 기본 사용자 프로필이 생성되고 모든 로밍 프로필의 템플릿이 됩니다.

http://technet.microsoft.com/en-us/library/cc780839(WS.10).aspx

  1. 로밍 프로필 공유를 설정하려면 이 문서를 따르세요. 망치가 필요하지 않습니다.

http://technet.microsoft.com/en-us/library/cc737633(WS.10).aspx

  1. 프로필 손상 문제를 제거하려면 로밍 프로필 공유에서 오프라인 파일 캐싱을 비활성화합니다.

관련 정보