情况:
通过 T1 连接到客户端工作位置的并置 DC。T1 的平均使用率约为 2/3。全部 1 个活动目录。
我正在尝试通过 GPO 将启动脚本部署到工作位置的客户端。它似乎在某些计算机上有效,而在其他计算机上无效,但始终如一。例如,它将始终在 PC1 上运行,而在 PC2 上始终不运行。即使在同一个位置。我打开了 netlogon 日志记录,下面是其中一台“不工作”的 PC 报告的内容......
一旦他们登录,其他 GPO 就会工作。我知道倾向于说这是一个 DNS 问题,但记录很好,其他 PC 工作正常。我还重新将计算机添加到域...
此外,在 DC/服务器位置,还有其他服务器报告与 Netlogon 启动有关的“RPC 服务器没有响应”,并且每个人偶尔都会抛出关于“端点映射器没有端点”的 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 运行并发布以下输出:
让我们知道。这听起来很有趣。