我有一台带有域的旧服务器 2008 机器old.local
。我创建了一台新服务器 (2012 R2),将其提升为 dc 并创建了域new.local
。
我为用户文件夹设置了一个共享Users$
。我将一个用户的文件夹(称他为吉姆)从 移动old.local
到new.local
。在已加入old.local
并由该用户使用的计算机上,我加入了new.local
。我更新了 上的配置文件文件夹路径new.local
以反映Users$/jim
新服务器上的位置。
现在,当我以 jim 用户身份登录刚刚加入新域的计算机时,我收到“使用临时配置文件登录”消息。事件查看器中唯一提到登录的内容是:
DCOM got error "1787" and was unable to logon OLD\jim in order to run the server: {UUID}
我搞不清楚为什么它会记录尝试登录旧域的错误。我也搞不清楚为什么会出现临时配置文件问题;文件夹的有效权限显示 jim 是拥有完全控制权的所有者。不过,如果这只是无法正确登录新域的产物,我也不会感到惊讶。
如果您有任何想法我可以检查什么来追踪这个问题,我将非常感激。
答案1
如果是我,我会以稍微不同的顺序来做事,以避免这种情况。我怀疑您复制到新服务器的漫游配置文件导致了问题。迁移到新域时配置文件出现问题的情况我经常遇到。
如果我是你,我会执行以下操作来尝试解决该问题:
Log off as Jim
Log in as Local admin
Take a backup of the local and roaming profile
Right click Computer\Properties\Advanced System Settings\Advanced Tab\User Profiles - Highlight any reference to Jim in the list and hit delete
Go to the server, delete the server copy of Jim's roaming profile and remove the roaming profile setting from the user account object
Log off local admin and restart the machine
Log in as Jim (you will create a new profile)
Set the roaming profile setting for Jim, then log off and on a few times until you can see the profile appear on the server
Copy folders you need from the **old roaming profile backup** to the **new local** profile. Do not copy the whole thing as you'll move over things like the NTuser.dat file and other system files that will be either useless or cause you problems. Only copy stuff you need, like favourites and desktop for example.
Log off as Jim (new profile will be saved to the server is the location specified in AD)
Log on as Jim (the profile will be downloaded from the server and will hopefully now work)
这应该可以解决问题。告诉我你的情况。