none
在域工作站中使用gpupdate 更新组策略时,报“刷新 User 策略失败。错误 - 系统找不到指定的文件” RRS feed

  • 问题

  • 问题现象:

         工作站(win7/xp)启动后执行gpupdate ,等待2-3分钟会提示“刷新 User 策略失败。错误 - 系统找不到指定的文件”,但是compute策略刷新成功。然后再执行一次就都刷新成功了。不知道什么原因,在uer策略中也没有配置什么特别的策略。会是什么原因呢?该如何查询?多谢!

    2013年7月27日 8:29

全部回复

  • 看下系统日志

    2013年7月27日 9:43
  • 系统日志没有什么问题,我获取了一下userenv日志(重启虚拟机之后),发现有很多错误,但是不知道该如下排查。多谢!

    USERENV(110.20c) 06:37:05:421 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(110.20c) 06:37:10:843 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(110.114) 06:37:13:031 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(110.114) 06:37:23:562 LoadProfileInfo:  Failed to open profile mapping key with error 2
    USERENV(110.114) 06:37:23:562 GetProfileType:  Couldn't load Profile Information.
    USERENV(278.27c) 06:38:17:546 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(2e0.2e4) 06:38:19:250 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(344.348) 06:38:33:296 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(500.504) 06:41:19:578 LoadProfileInfo:  Failed to open profile mapping key with error 2
    USERENV(500.504) 06:41:19:578 GetProfileType:  Couldn't load Profile Information.
    USERENV(f8.1fc) 14:55:53:405 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(d0.788) 14:56:03:530 LoadUserProfileI: LoadUserProfileP failed with 21
    USERENV(f8.1e8) 14:56:03:530 LoadUserProfile: Calling LoadUserProfileI failed. err = 21
    USERENV(d0.e4) 14:56:03:749 LoadUserProfileI: LoadUserProfileP failed with 21
    USERENV(f8.1e8) 14:56:03:749 LoadUserProfile: Calling LoadUserProfileI failed. err = 21
    USERENV(7e0.728) 15:00:00:343 LoadProfileInfo:  Failed to open profile mapping key with error 2
    USERENV(7e0.728) 15:00:00:343 GetProfileType:  Couldn't load Profile Information.
    USERENV(d0.e4) 15:00:05:780 LoadUserProfileI: LoadUserProfileP failed with 21
    USERENV(f8.6ec) 15:00:05:780 LoadUserProfile: Calling LoadUserProfileI failed. err = 21
    USERENV(d0.e4) 15:03:14:952 LoadUserProfileI: LoadUserProfileP failed with 21
    USERENV(f8.420) 15:03:14:952 LoadUserProfile: Calling LoadUserProfileI failed. err = 21
    USERENV(210.23c) 15:03:15:155 LoadProfileInfo:  Failed to open profile mapping key with error 2
    USERENV(210.23c) 15:03:15:155 GetProfileType:  Couldn't load Profile Information.
    USERENV(4c4.4c8) 15:03:26:593 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(4c4.4c8) 15:03:26:640 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(4c4.4c8) 15:03:41:640 ProcessAutoexec: Cannot process autoexec.bat.
    USERENV(700.460) 15:04:26:921 LoadProfileInfo:  Failed to open profile mapping key with error 2
    USERENV(700.460) 15:04:26:936 GetProfileType:  Couldn't load Profile Information.
    USERENV(4ac.49c) 15:04:33:233 LoadProfileInfo:  Failed to open profile mapping key with error 2
    USERENV(4ac.49c) 15:04:33:249 GetProfileType:  Couldn't load Profile Information.
    USERENV(220.224) 15:11:06:062 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(220.308) 15:11:09:000 GetUserGuid: Failed to get user guid with 1355.
    USERENV(220.308) 15:11:09:000 GetUserGuid: Failed to get user guid with 1355.
    USERENV(220.308) 15:11:09:000 GetUserGuid: Failed to get user guid with 1355.
    USERENV(220.308) 15:11:09:515 GetUserGuid: Failed to get user guid with 1355.
    USERENV(220.308) 15:11:09:515 GetUserGuid: Failed to get user guid with 1355.

    。。。。。

    USERENV(2c4.2c8) 08:30:34:890 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(2c4.2dc) 08:30:37:671 LoadUserProfileI: LoadUserProfileP failed with 21
    USERENV(2f0.2f4) 08:30:37:671 LoadUserProfile: Calling LoadUserProfileI failed. err = 21
    USERENV(2c4.3fc) 08:31:00:421 LoadUserProfileI: LoadUserProfileP failed with 21
    USERENV(2f0.38c) 08:31:00:421 LoadUserProfile: Calling LoadUserProfileI failed. err = 21
    USERENV(2c4.2dc) 08:31:07:421 LoadUserProfileI: LoadUserProfileP failed with 21
    USERENV(2f0.38c) 08:31:07:421 LoadUserProfile: Calling LoadUserProfileI failed. err = 21
    USERENV(2c4.3fc) 08:31:07:671 LoadUserProfileI: LoadUserProfileP failed with 21
    USERENV(2f0.38c) 08:31:07:671 LoadUserProfile: Calling LoadUserProfileI failed. err = 21
    USERENV(338.17c) 08:31:48:921 CopyProfileDirectoryEx: CreateFile failed for directory C:\WINDOWS\system32\config\systemprofile\Application Data\Microsoft\SystemCertificates\My with error 32
    USERENV(514.518) 08:33:03:406 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:33:03:421 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:33:03:421 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:33:03:421 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.6fc) 08:34:40:625 MyRegUnLoadKey:  Failed to unmount hive 00000005
    USERENV(514.6fc) 08:34:40:656 DumpOpenRegistryHandle: 2 user registry Handles leaked from \Registry\User\S-1-5-21-1438706584-51332482-802857149-1003
    USERENV(514.6fc) 08:34:40:656 UnloadUserProfileP: Didn't unload user profile <err = 5>
    USERENV(514.6fc) 08:34:40:687 MyRegUnLoadKey:  Failed to unmount hive 00000005
    USERENV(514.6fc) 08:34:40:687 UnLoadClassHive: failed to unload classes key with 5
    USERENV(514.6fc) 08:34:40:687 DumpOpenRegistryHandle: 16 user registry Handles leaked from \Registry\User\S-1-5-21-1438706584-51332482-802857149-1003_Classes
    USERENV(514.6fc) 08:34:40:687 ReportError: Impersonating user.
    USERENV(514.518) 08:36:09:609 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:36:09:609 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:36:09:609 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:36:09:609 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:38:49:406 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:38:49:406 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:38:49:406 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.518) 08:38:49:406 CUserProfile::CleanupUserProfile: Ref Count is not 0
    USERENV(514.20c) 08:39:24:375 GetMachineToken:  AcceptSecurityContext failed with 0x80090324
    USERENV(514.20c) 08:39:24:375 GetGPOInfo:  Failed to get the machine token with  -2146893020
    USERENV(514.20c) 08:39:24:390 ProcessGPOs: GetGPOInfo failed.
    USERENV(514.c54) 18:18:51:654 ProcessGPORegistryPolicy: Failed to move archive file to temporary file due to error: 2.
    USERENV(13c.6d0) 18:18:52:529 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.b50) 20:06:00:395 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.624) 21:43:03:394 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.624) 23:14:06:212 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.e40) 01:02:09:100 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.e38) 02:56:13:801 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.b0c) 04:39:18:605 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.b28) 06:32:21:839 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.de4) 08:13:24:680 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.b78) 10:08:27:763 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.850) 11:49:30:647 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.e38) 13:27:37:397 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.168) 15:00:40:352 GetGPOList: CoInitializeSecurity failed with 0x80010119
    USERENV(13c.cfc) 16:50:43:109 GetGPOList: CoInitializeSecurity failed with 0x80010119

    2013年7月27日 10:51
  • 您好!

    为了进一步帮助您解决该问题,请检查系统日志和应用程序日志,把相关错误事件的具体信息以及错误截图贴到论坛中来,包括事件ID、事件类型和事件描述。

    谢谢您的配合。


    微软一站式示例脚本库: http://blogs.technet.com/b/onescript

    2013年7月29日 8:43
    版主