积极答复者
如何修改AD域的【域名(Windows 2000 以前版本)】,域名为abc,但登录时需要用abcmail\user

问题
答案
-
您好,
感谢您的回复。
请问有注意到第一个链接里的答案吗,他的方法可能会帮到您:
“Does this mean that currently the User logon name for "Fred Bloggs" is "fred.bloggs@adomain.com" but the Pre Windows 2000 is "adomain\something.else" ?
If so, using powershell-
Get-ADUser -SearchBase “ou=users,dc=adomain,dc=com” -filter * | % {
$NewSamAccountName = $user.UserPrincipalName.split("@")[0] $_ | Set-ADUser -SamAccountName $NewSamAccountName }
Get all the users in the searchbase make a new SamAccountName by splitting the UPN on the @ then set the new SamAccountName
Make an OU with two test users in to play with before using it for real... ”
Best regards,
Lavilian
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已标记为答案 ningkingv 2019年3月8日 8:50
全部回复
-
您好,
感谢您在此发帖。
根据您的情况,我找到了一个给出解决方案的相似线程:
此外,我还找到一些关于用户登录名和用户登陆名(Windows 2000以前的版本)的讨论供您参考:
(请注意:由于有些网站不是由微软托管的,链接可能会改变,恕不另行通知。 Microsoft不保证此信息的准确性。)希望以上信息能够对您有所帮助。
Best regards,
Lavilian
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
- 已编辑 Lavilian LiModerator 2019年3月7日 7:10
-
您好,
感谢您的回复。
请问有注意到第一个链接里的答案吗,他的方法可能会帮到您:
“Does this mean that currently the User logon name for "Fred Bloggs" is "fred.bloggs@adomain.com" but the Pre Windows 2000 is "adomain\something.else" ?
If so, using powershell-
Get-ADUser -SearchBase “ou=users,dc=adomain,dc=com” -filter * | % {
$NewSamAccountName = $user.UserPrincipalName.split("@")[0] $_ | Set-ADUser -SamAccountName $NewSamAccountName }
Get all the users in the searchbase make a new SamAccountName by splitting the UPN on the @ then set the new SamAccountName
Make an OU with two test users in to play with before using it for real... ”
Best regards,
Lavilian
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已标记为答案 ningkingv 2019年3月8日 8:50
-
您好,
很荣幸我的信息能够对您有所帮助。
非常感谢您的分享。
如果遇到其他任何问题,请随时在论坛中发帖。
Have a nice day!
Lavilian
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.