terminal服务器上的强制configuration文件无法加载。 Userenv.logdebugging

最近在我们的个人资料分享中,我们有很多已损坏的个人资料。 目前我不知道为什么,但我决定切换到一个强制性的configuration文件,因为用户可以使用相同的,没有必要为每个用户分别configuration文件。

这是我做的。 我用一个新用户login到terminal服务器,并configuration了一些东西(导入的证书和一些文件)。 然后我退出了。 后来,作为pipe理员,我复制configuration文件到另一台服务器,并将其重命名为bsilo。 我确保用户configuration单元设置已经调整。 每个人都可以进入蜂巢。 我分享了每个人的完全访问权限的bsilo文件夹。 我设置NTFS权限来读取,读取和执行,列出域用户的文件夹内容。 我也将NTUSER.DAT更名为NTUSER.MAN。

现在我在terminal服务器上设置一个envvariables%manprofile%,它指向\ server \ bsilo \ ntuser.man

我将env var设置为testing用户的terminal服务configuration文件path。 当我login时,用户得到以下输出

该系统找不到指定的path。 有人能指出我正确的方向吗? 谢谢

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

详细信息 – 系统找不到指定的path。

USERENV(218.1f38)15:52:49:255 GetInterface:返回rpc绑定句柄USERENV(218.1f38)15:52:49:255 ReportError:RPC终点IProfileDialog_9D36D6DD48F0578A2A41B23D7A982E63 USERENV(218.1f38)15:52:49:255 ReportError:等待rpcasynchronous事件USERENV(1774.2398)15:52:49:255 ErrorDialogEx:调用DialogBoxParam USERENV(1774.2398)15:52:49:270 ErrorDlgProc :: DialogBoxParam USERENV(218.1f38)15:52:52:177 RpcAsyncCompleteCall完成,状态= 0 USERENV(218.1f38)15:52:52:177 ReleaseInterface:释放rpc绑定句柄USERENV(218.1f38)15:52:52:177 LoadUserProfile:ParseProfilePath返回FALSE USERENV(218.1f38)15:52:52:177 CancelCSCBypassedConnection:取消E:USERENV(218.1f38)15:52:52:177的连接CancelCSCBypassedConnection:连接已删除。 USERENV(218.1f38)15:52:52:177 CSyncManager :: LeaveLock USERENV(218.1f38)15:52:52:192 CSyncManager :: LeaveLock:locking释放USERENV(218.1f38)15:52:52:192 CHashTable :: HashDelete:S-1-5-21-807756564-1922302612-1565739477-22627删除USERENV(218.1f38)15:52:52:192 CSyncManager :: LeaveLock:locking已删除USERENV(218.1f38)15:52:52:192 LoadUserProfile :003关于恢复回用户<00000000> USERENV(218.1f38)15:52:52:192 LoadUserProfile:离开值为0. USERENV(218.1f38)15:52:52:192 ======= ================================================== USERUENV(218.1f38)15:52:52:192 LoadUserProfileI:LoadUserProfileP失败与3 USERENV(218.1f38)15:52:52:192 LoadUserProfileI:返回3 USERENV(1774.d18)15:52:52:192 LoadUserProfile:正在运行as self USERENV(1774.d18)15:52:52:192 LoadUserProfile:调用LoadUserProfileI失败。 err = 3 USERENV(218.200c)15:52:52:192 IProfileSecurityCallBack:客户端validation。 USERENV(218.200c)15:52:52:192 ReleaseClientContext:释放上下文USERENV(218.200c)15:52:52:192 ReleaseClientContext_s:释放上下文USERENV(218.200c)15:52:52:192 MIDL_user_freeinputUSERENV(1774年。 d18)15:52:52:192 ReleaseInterface:释放rpc绑定句柄USERENV(1774.d18)15:52:52:192 LoadUserProfile:返回FALSE。 错误= 3

几件事情:

  1. 请按照这篇文章设置您的默认用户configuration文件。 这是正确的方法。 没有锤子需要。 这将创build一个自定义的默认用户configuration文件,然后您可以复制到您的所有TS服务器或域中的Netlogon共享,并将成为所有漫游configuration文件的模板。

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

  1. 按照这篇文章设置您的漫游configuration文件共享。 没有锤子需要。

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

  1. 在漫游configuration文件共享上禁用脱机文件caching以消除configuration文件损坏问题。