NetLogon 和 RPC 錯誤
情況:
通過 T1 連接到客戶端工作位置的並置 DC。T1 的平均使用率約為 2/3。全部 1 個活動目錄。
我正在嘗試通過 GPO 將啟動腳本部署到工作位置的客戶端。它似乎在某些電腦上有效,而在其他電腦上無效,但始終如一。例如,它將始終在 PC1 上執行,而在 PC2 上始終不執行。即使在同一個位置。我打開了 netlogon 日誌記錄,下面是其中一台“不工作”的 PC 報告的內容……
一旦他們登錄,其他 GPO 就會工作。我知道傾向於說這是一個 DNS 問題,但記錄很好,其他 PC 工作正常。我還重新將電腦添加到域…
此外,在 DC/伺服器位置,還有其他伺服器報告與 Netlogon 啟動相關的“RPC 伺服器未響應”,並且每個輔助 DC 都會偶爾拋出關於“端點映射器沒有端點”的 DFS 錯誤另一個伺服器…
也許 DC 工作過度了?有什麼方法可以確認嗎?2 個 DC 只有大約 90 個工作站/伺服器。2 個工作地點和 1 個科羅拉多設施。我做了一些 netstat -an 看看發生了什麼,他們平均 15-20 “TIME_WAIT"s
想法?
15:27:28 [INIT] 未為 Netlogon 定義組策略 09/16 15:27:28 [INIT] 以下是解析後的有效值 09/16 15:27:28 [初始化] Sysvol = C:\WINDOWS\SYSVOL\SYSVOL 09/16 15:27:28 [INIT] 腳本 = (null) 09/16 15:27:28 [INIT] SiteName (0) = Default-First-Site-Name 09/16 15:27:28 [初始化] RpcDacl = (null) 09/16 15:27:28 [INIT] 脈衝 = 300 (0x12c) 09/16 15:27:28 [INIT] 隨機化 = 1 (0x1) 09/16 15:27:28 [INIT] 最大脈衝 = 7200 (0x1c20) 09/16 15:27:28 [INIT] PulseConcurrency = 10 (0xa) 09/16 15:27:28 [INIT] PulseTimeout1 = 10 (0xa) 09/16 15:27:28 [INIT] PulseTimeout2 = 300 (0x12c) 09/16 15:27:28 [初始化]MaximumMailslotMessages = 500 (0x1f4) 09/16 15:27:28 [INIT] MailslotMessageTimeout = 10 (0xa) 09/16 15:27:28 [INIT] MailslotDuplicateTimeout = 2 (0x2) 09/16 15:27:28 [初始化] ExpectedDialupDelay = 0 (0x0) 09/16 15:27:28 [初始化] ScavengeInterval = 900 (0x384) 09/16 15:27:28 [INIT] MaximumPasswordAge = 30 (0x1e) 09/16 15:27:28 [初始化] LdapSrvPriority = 0 (0x0) 09/16 15:27:28 [初始化] LdapSrvWeight = 100 (0x64) 09/16 15:27:28 [初始化] LdapSrvPort = 389 (0x185) 09/16 15:27:28 [初始化] LdapGcSrvPort = 3268 (0xcc4) 09/16 15:27:28 [初始化] KdcSrvPort = 88 (0x58) 09/16 15:27:28 [初始化] KerbIsDoneWithJoinDomainEntry = 0 (0x0) 09/16 15:27:28 [初始化] DnsTtl = 600 (0x258) 09/16 15:27:28 [初始化] DnsRefreshInterval = 86400 (0x15180) 09/16 15:27:28 [INIT] CloseSiteTimeout = 900 (0x384) 09/16 15:27:28 [INIT] SiteNameTimeout = 300 (0x12c) 09/16 15:27:28 [INIT] DuplicateEventlogTimeout = 14400 (0x3840) 09/16 15:27:28 [初始化] MaxConcurrentApi = 0 (0x0) 09/16 15:27:28 [INIT] NegativeCachePeriod = 45 (0x2d) 09/16 15:27:28 [INIT] BackgroundRetryInitialPeriod = 600 (0x258) 09/16 15:27:28 [初始化] BackgroundRetryMaximumPeriod = 3600 (0xe10) 09/16 15:27:28 [初始化] BackgroundRetryQuitTime = 0 (0x0) 09/16 15:27:28 [初始化] BackgroundSuccessfulRefreshPeriod = 4294967295 (0xffffffff) 09/16 15:27:28 [初始化] NonBackgroundSuccessfulRefreshPeriod = 1800 (0x708) 09/16 15:27:28 [INIT] DnsFailedDeregisterTimeout = 172800 (0x2a300) 09/16 15:27:28 [INIT] MaxLdapServersPinged = 55 (0x37) 09/16 15:27:28 [初始化] DBFlag = 545325055 (0x2080ffff) 09/16 15:27:28 [初始化]MaximumLogFileSize = 20000000 (0x1312d00) 09/16 15:27:28 [INIT] ForceRediscoveryInterval = 43200 (0xa8c0) 09/16 15:27:28 [初始化] RefusePasswordChange = FALSE 09/16 15:27:28 [初始化] AllowReplInNonMixed = FALSE 09/16 15:27:28 [初始化] AvoidSamRepl = TRUE 09/16 15:27:28 [初始化] AvoidLsaRepl = TRUE 09/16 15:27:28 [INIT] SignSecureChannel = TRUE 09/16 15:27:28 [初始化] SealSecureChannel = TRUE 09/16 15:27:28 [初始化] RequireSignOrSeal = TRUE 09/16 15:27:28 [初始化] RequireStrongKey = FALSE 09/16 15:27:28 [初始化] SysVolReady = TRUE 09/16 15:27:28 [初始化] UseDynamicDns = TRUE 09/16 15:27:28 [INIT] RegisterDnsARecords = TRUE 09/16 15:27:28 [初始化] AvoidPdcOnWan = FALSE 09/16 15:27:28 [初始化] AutoSiteCoverage = TRUE 09/16 15:27:28 [INIT] AvoidDnsDeregOnShutdown = TRUE 09/16 15:27:28 [初始化] DnsUpdateOnAllAdapters = FALSE 09/16 15:27:28 [初始化] Nt4Emulator = FALSE 09/16 15:27:28 [初始化] DisablePasswordChange = FALSE 09/16 15:27:28 [初始化] NeutralizeNt4Emulator = FALSE 09/16 15:27:28 [初始化] AllowSingleLabelDnsDomain = FALSE 09/16 15:27:28 [INIT] 命令行解析成功... 09/16 15:27:28 [INIT] Netlogon.dll 已被解除安裝(從中恢復)。 09/16 15:27:28 [SITE] 將站點名稱設置為“Default-First-Site-Name” 09/16 15:27:28 [會話] \Device\NetBT_Tcpip_{1A232E93-DFF8-4177-A408-866CD52B9F83}:添加傳輸 (192.168.100.18) 09/16 15:27:28 [會議] Winsock 地址:192.168.100.18 (1) 09/16 15:27:28 [DNS] 將 DnsForestName 設置為:test.local 09/16 15:27:28 [DOMAIN] 測試:添加新域 09/16 15:27:28 [DOMAIN] 將我們的電腦名稱設置為 FRTEST037 frtest037.test.local 09/16 15:27:28 [DOMAIN] 設置Netbios域名進行測試 09/16 15:27:28 [DOMAIN] 將 DNS 域名設置為 test.local。 09/16 15:27:28 [DOMAIN] 將域 GUID 設置為 db465d51-0612-406f-bd7f-c2649bc8008f 09/16 15:27:28 [CRITICAL] C:\WINDOWS\system32\config\netlogon.ftj:無法打開。2 09/16 15:27:28 [INIT] 從二進製文件中獲取記憶體的受信任域列表。 09/16 15:27:28 [MISC] NlpInitializeTrace 成功 0 09/16 15:27:28 [LOGON] NlSetForestTrustList:新的受信任域列表: 09/16 15:27:28 [LOGON] 0: test test.local (NT 5) (Forest Tree Root) (Primary Domain) (Native) 09/16 15:27:28 [登錄] Dom Guid:db465d51-0612-406f-bd7f-c2649bc8008f 09/16 15:27:28 [登錄] Dom Sid:S-1-5-21-3926823378-3145110219-1190181204 09/16 15:27:28 [INIT] 啟動 RPC 伺服器。 09/16 15:27:28 [SESSION] 測試:NlSessionSetup:嘗試會話設置 09/16 15:27:28 [SESSION] 測試:NlDiscoverDc:開始同步發現 09/16 15:27:28 [MISC] DsGetDcName 函式呼叫:Dom:(null) Acct:(null) Flags: DS 09/16 15:27:32 [MISC] DsrEnumerateDomainTrusts:已呼叫,標誌 = 0x9 **09/16 15:27:44 [CRITICAL] NetpDcGetDcNext:_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.test.local.:無法查詢 DNS。1460 0x5b4 09/16 15:27:44 [關鍵] NetpDcGetDcNext:_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.test.local.:無法查詢 DNS。1460 0x5b4 09/16 15:27:44 [CRITICAL] NetpDcGetNameIp:test.local。:沒有從 DnsQuery 返回數據。 09/16 15:27:44 [MAILSLOT] 發送“Sam Logon”消息以在所有傳輸上測試 [1C]。 09/16 15:27:44 [CRITICAL] NetpDcGetNameIp: test.local.: DnsQuery 沒有返回數據。** 09/16 15:27:44 [MAILSLOT] 發送“Sam Logon”消息以在所有傳輸上測試 [1C]。 09/16 15:27:46 [關鍵] NetpDcGetNameNetbios:test.local。:無法 NlBrowserSendDatagram。(1C) 53 09/16 15:27:46 [CRITICAL] NetpDcGetName: test.local.: IP 和 Netbios 都已完成。 09/16 15:27:46 [關鍵] NetpDcGetNameNetbios:test.local。:無法 NlBrowserSendDatagram。(1C) 53 09/16 15:27:46 [MISC] DsGetDcName 函式返回 1355: Dom:(null) Acct:(null) Flags: DS 09/16 15:27:46 [CRITICAL] NetpDcGetName: test.local.: IP 和 Netbios 都已完成。 09/16 15:27:46 [CRITICAL] 測試:NlDiscoverDc:找不到 DC。 09/16 15:27:46 [CRITICAL] 測試:NlSessionSetup:會話設置:無法選擇受信任的 DC 09/16 15:27:46 [MISC] 事件日誌:5719(1)“測試”0xc000005e c000005e ^... 09/16 15:27:46 [MISC] DsGetDcName 函式呼叫:Dom:test Acct:(null) 標誌:DS NETBIOS RET_DNS 09/16 15:27:46 [SESSION] 測試:NlSetStatusClientSession:將連接狀態設置為 c000005e 09/16 15:27:46 [SESSION] 測試:NlSessionSetup:會話設置失敗 09/16 15:27:46 [INIT] 啟動成功 09/16 15:27:46 [MISC] DsrEnumerateDomainTrusts:返回:0 09/16 15:27:46 [MISC] NetpDcGetName:test.local。最近類似查詢失敗 0 09/16 15:27:46 [MISC] DsGetDcName 函式返回 1355: Dom:test Acct:(null) Flags: DS NETBIOS RET_DNS 09/16 15:27:46 [INIT] 未為 Netlogon 定義組策略 09/16 15:27:46 [INIT] 以下是解析後的有效值 09/16 15:27:46 [MISC] NlWksScavenger: 可以在 26 天內再次呼叫 (0x86e6c342) 09/16 15:27:46 [會話] I_NetLogonGetAuthData:(空)測試 09/16 15:27:46 [關鍵] I_NetLogonGetAuthData:測試:失敗 C000005E 09/16 15:27:48 [會話] NetrLogonGetTimeServiceParentDomain:test.local。是父域。(PdcSameSite:1) 09/16 15:27:49 [SITE] DsrGetSiteName:從本地記憶體返回站點名稱“Default-First-Site-Name”。 09/16 15:27:49 [MISC] DsGetDcName 函式呼叫:Dom:(null) Acct:(null) Flags: IP TIMESERV AVOIDSELF 背景 09/16 15:27:49 [MISC] NetpDcGetName:test.local。最近類似查詢失敗 3204 09/16 15:27:49 [MISC] DsGetDcName 函式返回 1355:Dom:(null) Acct:(null) Flags: IP TIMESERV AVOIDSELF 背景 09/16 15:27:49 [SITE] DsrGetSiteName:從本地記憶體返回站點名稱“Default-First-Site-Name”。 09/16 15:27:49 [MISC] DsGetDcName 函式呼叫:Dom:(null) Acct:(null) Flags: IP TIMESERV AVOIDSELF 背景 09/16 15:27:49 [MISC] NetpDcGetName:test.local。最近類似查詢失敗 3250 09/16 15:27:49 [MISC] DsGetDcName 函式返回 1355:Dom:(null) Acct:(null) Flags: IP TIMESERV AVOIDSELF 背景 09/16 15:28:46 [MISC] DsGetDcName 函式呼叫:Dom:(null) Acct:(null) Flags: DS
Userenv 日誌(根據要求)
USERENV(220.224) 11:38:29:859 UnloadUserProfile: Entering, hProfile = <0x730> USERENV(220.224) 11:38:29:859 UnloadUserProfile: In console winlogon process USERENV(220.224) 11:38:29:859 UnloadUserProfileP: Entering, hProfile = <0x730> USERENV(220.224) 11:38:29:875 GetExclusionListFromRegistry: Policy list is empty, returning user list = <Local Settings;Temporary Internet Files;History;Temp;Local Settings\Application Data\Microsoft\Outlook> USERENV(220.224) 11:38:29:875 CSyncManager::EnterLock <S-1-5-21-3926823378-3145110219-1190181204-500> USERENV(220.224) 11:38:29:875 CSyncManager::EnterLock: No existing entry found USERENV(220.224) 11:38:29:875 CSyncManager::EnterLock: New entry created USERENV(220.224) 11:38:29:875 CHashTable::HashAdd: S-1-5-21-3926823378-3145110219-1190181204-500 added in bucket 16 USERENV(220.224) 11:38:29:875 UnloadUserProfileP: Wait succeeded. In critical section. USERENV(220.224) 11:38:29:875 MyRegUnLoadKey: Returning 1. USERENV(220.224) 11:38:29:875 UnloadUserProfileP: Succesfully unloaded profile USERENV(220.224) 11:38:29:875 MyRegUnLoadKey: Returning 1. USERENV(220.224) 11:38:29:875 UnLoadClassHive: Successfully unmounted S-1-5-21-3926823378-3145110219-1190181204-500_Classes USERENV(220.224) 11:38:29:875 UnloadUserProfileP: Successfully unloaded user classes USERENV(220.224) 11:38:29:875 UnloadUserProfileP: Impersonated user USERENV(220.224) 11:38:29:875 UnloadUserProfileP: Writing local ini file USERENV(220.224) 11:38:29:890 UnloadUserProfileP: Reverting to Self USERENV(220.224) 11:38:29:890 UnloadUserProfileP: exitting and cleaning up USERENV(220.224) 11:38:29:890 CSyncManager::LeaveLock <S-1-5-21-3926823378-3145110219-1190181204-500> USERENV(220.224) 11:38:29:890 CSyncManager::LeaveLock: Lock released USERENV(220.224) 11:38:29:890 CHashTable::HashDelete: S-1-5-21-3926823378-3145110219-1190181204-500 deleted USERENV(220.224) 11:38:29:890 CSyncManager::LeaveLock: Lock deleted USERENV(220.224) 11:38:29:890 UnloadUserProfileP: Leave critical section. USERENV(220.224) 11:38:29:890 UnloadUserProfileP: Leaving with a return value of 1 USERENV(220.224) 11:38:29:890 UnloadUserProfile: UnloadUserProfileP succeeded USERENV(220.224) 11:38:29:890 UnloadUserProfile: returning 1 USERENV(24c.ad8) 11:38:32:843 UnloadUserProfile: Entering, hProfile = <0x398> USERENV(24c.ad8) 11:38:32:843 GetInterface: Returning rpc binding handle USERENV(220.8c0) 11:38:32:843 IProfileSecurityCallBack: client authenticated. USERENV(220.8c0) 11:38:32:843 DropClientContext: Got client token 000007B8, sid = S-1-5-18 USERENV(220.8c0) 11:38:32:843 MIDL_user_allocate enter USERENV(220.8c0) 11:38:32:843 DropClientContext: load profile object successfully made USERENV(220.8c0) 11:38:32:843 DropClientContext: Returning 0 USERENV(24c.ad8) 11:38:32:843 UnLoadUserProfile: Calling DropClientToken (as self) succeeded USERENV(220.9d8) 11:38:32:859 IProfileSecurityCallBack: client authenticated. USERENV(220.9d8) 11:38:32:859 UnloadUserProfileP: Entering, hProfile = <0x600> USERENV(220.9d8) 11:38:32:859 UnloadUserProfileP: ImpersonateUser <000007b8>, old token is <00000000> USERENV(220.9d8) 11:38:32:859 GetExclusionListFromRegistry: Policy list is empty, returning user list = <Local Settings;Temporary Internet Files;History;Temp> USERENV(220.9d8) 11:38:32:859 CSyncManager::EnterLock <S-1-5-19> USERENV(220.9d8) 11:38:32:859 CSyncManager::EnterLock: No existing entry found USERENV(220.9d8) 11:38:32:859 CSyncManager::EnterLock: New entry created USERENV(220.9d8) 11:38:32:859 CHashTable::HashAdd: S-1-5-19 added in bucket 12 USERENV(220.9d8) 11:38:32:859 UnloadUserProfileP: Wait succeeded. In critical section. USERENV(220.9d8) 11:38:32:859 UnloadUserProfileP: Didn't unload user profile, Ref Count is 2 USERENV(220.9d8) 11:38:32:859 UnloadUserProfileP: Reverted back to user <00000000> USERENV(220.9d8) 11:38:32:859 CSyncManager::LeaveLock <S-1-5-19> USERENV(220.9d8) 11:38:32:859 CSyncManager::LeaveLock: Lock released USERENV(220.9d8) 11:38:32:859 CHashTable::HashDelete: S-1-5-19 deleted USERENV(220.9d8) 11:38:32:859 CSyncManager::LeaveLock: Lock deleted USERENV(220.9d8) 11:38:32:859 UnloadUserProfileP: Leave critical section. USERENV(220.9d8) 11:38:32:859 UnloadUserProfileP: Leaving with a return value of 1 USERENV(220.9d8) 11:38:32:859 UnloadUserProfileI: returning 0 USERENV(24c.ad8) 11:38:32:859 UnloadUserProfile: Calling UnloadUserProfileI succeeded USERENV(220.8c0) 11:38:32:859 IProfileSecurityCallBack: client authenticated. USERENV(220.8c0) 11:38:32:859 ReleaseClientContext: Releasing context USERENV(220.8c0) 11:38:32:859 ReleaseClientContext_s: Releasing context USERENV(220.8c0) 11:38:32:859 MIDL_user_free enter USERENV(24c.ad8) 11:38:32:859 ReleaseInterface: Releasing rpc binding handle USERENV(24c.ad8) 11:38:32:859 UnloadUserProfile: returning 1 USERENV(218.21c) 11:39:05:078 InitializePolicyProcessing: Initialised Machine Mutex/Events USERENV(218.21c) 11:39:05:093 InitializePolicyProcessing: Initialised User Mutex/Events USERENV(218.21c) 11:39:05:093 LibMain: Process Name: \??\C:\WINDOWS\system32\winlogon.exe USERENV(218.21c) 11:39:05:218 Entering CUserProfile::Initialize ... USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize called by winlogon USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: critical section initialized USERENV(218.21c) 11:39:05:234 CSyncManager::Initialize: critical section initialized USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: registry key Software\Microsoft\Windows NT\CurrentVersion\ProfileList opened USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: Proccessing S-1-5-21-527237240-813497703-725345543-500 USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock <S-1-5-21-527237240-813497703-725345543-500> USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:234 CHashTable::HashAdd: S-1-5-21-527237240-813497703-725345543-500 added in bucket 17 USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:234 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000100 USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock <S-1-5-21-527237240-813497703-725345543-500> USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:234 CHashTable::HashDelete: S-1-5-21-527237240-813497703-725345543-500 deleted USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: Proccessing S-1-5-21-527237240-813497703-725345543-1007 USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock <S-1-5-21-527237240-813497703-725345543-1007> USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:234 CHashTable::HashAdd: S-1-5-21-527237240-813497703-725345543-1007 added in bucket 22 USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:234 CUserProfile::GetRefCountAndFlags: Ref count is 1, state is 00000000 USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Ref Count is not 0 USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock <S-1-5-21-527237240-813497703-725345543-1007> USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:234 CHashTable::HashDelete: S-1-5-21-527237240-813497703-725345543-1007 deleted USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: Proccessing S-1-5-21-527237240-813497703-725345543-1006 USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock <S-1-5-21-527237240-813497703-725345543-1006> USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:234 CHashTable::HashAdd: S-1-5-21-527237240-813497703-725345543-1006 added in bucket 21 USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:234 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000000 USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock <S-1-5-21-527237240-813497703-725345543-1006> USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:234 CHashTable::HashDelete: S-1-5-21-527237240-813497703-725345543-1006 deleted USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: Proccessing S-1-5-21-527237240-813497703-725345543-1003 USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock <S-1-5-21-527237240-813497703-725345543-1003> USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:234 CHashTable::HashAdd: S-1-5-21-527237240-813497703-725345543-1003 added in bucket 18 USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:234 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000104 USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock <S-1-5-21-527237240-813497703-725345543-1003> USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:234 CHashTable::HashDelete: S-1-5-21-527237240-813497703-725345543-1003 deleted USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: Proccessing S-1-5-21-3926823378-3145110219-1190181204-500 USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock <S-1-5-21-3926823378-3145110219-1190181204-500> USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:234 CHashTable::HashAdd: S-1-5-21-3926823378-3145110219-1190181204-500 added in bucket 16 USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:234 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000100 USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock <S-1-5-21-3926823378-3145110219-1190181204-500> USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:234 CHashTable::HashDelete: S-1-5-21-3926823378-3145110219-1190181204-500 deleted USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: Proccessing S-1-5-21-3926823378-3145110219-1190181204-1686 USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock <S-1-5-21-3926823378-3145110219-1190181204-1686> USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:234 CHashTable::HashAdd: S-1-5-21-3926823378-3145110219-1190181204-1686 added in bucket 11 USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:234 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000204 USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock <S-1-5-21-3926823378-3145110219-1190181204-1686> USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:234 CHashTable::HashDelete: S-1-5-21-3926823378-3145110219-1190181204-1686 deleted USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: Proccessing S-1-5-21-3926823378-3145110219-1190181204-1189 USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock <S-1-5-21-3926823378-3145110219-1190181204-1189> USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:234 CHashTable::HashAdd: S-1-5-21-3926823378-3145110219-1190181204-1189 added in bucket 9 USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:234 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000100 USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock <S-1-5-21-3926823378-3145110219-1190181204-1189> USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:234 CHashTable::HashDelete: S-1-5-21-3926823378-3145110219-1190181204-1189 deleted USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: Proccessing S-1-5-21-3926823378-3145110219-1190181204-1141 USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock <S-1-5-21-3926823378-3145110219-1190181204-1141> USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:234 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:234 CHashTable::HashAdd: S-1-5-21-3926823378-3145110219-1190181204-1141 added in bucket 20 USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:234 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000000 USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock <S-1-5-21-3926823378-3145110219-1190181204-1141> USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:234 CHashTable::HashDelete: S-1-5-21-3926823378-3145110219-1190181204-1141 deleted USERENV(218.21c) 11:39:05:234 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:234 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:234 CUserProfile::Initialize: Proccessing S-1-5-21-3926823378-3145110219-1190181204-1137 USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock <S-1-5-21-3926823378-3145110219-1190181204-1137> USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:250 CHashTable::HashAdd: S-1-5-21-3926823378-3145110219-1190181204-1137 added in bucket 2 USERENV(218.21c) 11:39:05:250 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:250 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000100 USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock <S-1-5-21-3926823378-3145110219-1190181204-1137> USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:250 CHashTable::HashDelete: S-1-5-21-3926823378-3145110219-1190181204-1137 deleted USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:250 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:250 CUserProfile::Initialize: Proccessing S-1-5-21-3926823378-3145110219-1190181204-1122 USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock <S-1-5-21-3926823378-3145110219-1190181204-1122> USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:250 CHashTable::HashAdd: S-1-5-21-3926823378-3145110219-1190181204-1122 added in bucket 19 USERENV(218.21c) 11:39:05:250 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:250 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000100 USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock <S-1-5-21-3926823378-3145110219-1190181204-1122> USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:250 CHashTable::HashDelete: S-1-5-21-3926823378-3145110219-1190181204-1122 deleted USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:250 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:250 CUserProfile::Initialize: Proccessing S-1-5-21-3926823378-3145110219-1190181204-1106 USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock <S-1-5-21-3926823378-3145110219-1190181204-1106> USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:250 CHashTable::HashAdd: S-1-5-21-3926823378-3145110219-1190181204-1106 added in bucket 21 USERENV(218.21c) 11:39:05:250 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:250 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000000 USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock <S-1-5-21-3926823378-3145110219-1190181204-1106> USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:250 CHashTable::HashDelete: S-1-5-21-3926823378-3145110219-1190181204-1106 deleted USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:250 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:250 CUserProfile::Initialize: Proccessing S-1-5-21-2000478354-1580818891-1606980848-7164 USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock <S-1-5-21-2000478354-1580818891-1606980848-7164> USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:250 CHashTable::HashAdd: S-1-5-21-2000478354-1580818891-1606980848-7164 added in bucket 12 USERENV(218.21c) 11:39:05:250 CUserProfile::CleanupUserProfile: Enter critical section. USERENV(218.21c) 11:39:05:250 CUserProfile::GetRefCountAndFlags: Ref count is 0, state is 00000000 USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock <S-1-5-21-2000478354-1580818891-1606980848-7164> USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock: Lock released USERENV(218.21c) 11:39:05:250 CHashTable::HashDelete: S-1-5-21-2000478354-1580818891-1606980848-7164 deleted USERENV(218.21c) 11:39:05:250 CSyncManager::LeaveLock: Lock deleted USERENV(218.21c) 11:39:05:250 CUserProfile::CleanupUserProfile: Leave critical section USERENV(218.21c) 11:39:05:250 CUserProfile::Initialize: Proccessing S-1-5-21-2000478354-1580818891-1606980848-7141 USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock <S-1-5-21-2000478354-1580818891-1606980848-7141> USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: No existing entry found USERENV(218.21c) 11:39:05:250 CSyncManager::EnterLock: New entry created USERENV(218.21c) 11:39:05:250 CHashTable::HashAdd: S-1-5-21-2000478354
我認為您可能同時遇到多個問題。
我會在腳本未執行的客戶端上打開 USERENV 調試,看看那裡出現了什麼。創建一個系統資料庫項“HKLM\Software\Microsoft\Windows NT\CurrentVersion\Diagnostics”,並在該項下添加一個 REG_DWORD 值“RunDiagnosticLoggingGlobal”設置為 1。這會將大量 USERENV 日誌記錄資訊放入事件日誌中。設置它,然後用“gpupdate /sync /boot”彈回機器並看看。(我的精神力量說 DHCP 媒體感知問題……我們會看到。我假設你已經將“在電腦啟動和登錄時始終等待網路”設置為“啟用”。)
您可以從獲取此 netlogon 日誌的 DC 執行並發布以下輸出:
dcdiag /test:DNS /v
讓我們知道。這聽起來很有趣。