After computer migration the 'User name' still reflects the source user account name in the logon bo (NETIQKB10439)

  • 7710439
  • 02-Feb-2007
  • 28-Nov-2007

Resolution

fact
Domain Migration Administrator 6.x

fact
Domain Migration Administrator 7.x

symptom
After computer migration the 'User name' still reflects the source user account name in the logon box.

cause
The process the Domain Migration Administrator (DMA) 7.0/7.1 agent uses when the option 'Change default logon domain registry key' is selected, updates the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultDomainName in the registry.  With the release of DMA 7.2, when a Windows XP machine is migrated the agent also updates the CachePrimaryDomain and AltDefaultDomainName subkeys of the Winlogon key in order to avoid issues with XP reverting back to the source domain name stored in these values. This process does not not update the DefaultUserName or AltDefaultUserName subkeys to reflect a user account name that was changed during the user migration process.

note

An unsupported workaround for this functionality would be to use a script during the computer migration process. Domain Migration Administrator (DMA) cannot dispatch scripts with the agent process, however Windows Management Instrumentation (WMI) will allow you to execute a script against a remote machine that is WMI enabled. Typically this will be Microsoft Windows XP/2000 or later machines. Microsoft Windows NT does not have WMI installed by default. However, this can be downloaded from Microsoft and would need to be installed on any machine that the script would run against.

Here are the tasks that would need to be accomplished with a PreComputer script during the Migrate Computers wizard:

  1. Use the Read String and DWORD Values script as an example of a script to read the value HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName.
  2. Replace strComputer = "." with strComputer = CopiedAccount.SourceSam.
  3. Locate the record in the MigratedObjects table of the DMA Protar.mdb file (\Program Files\NetIQ\DMA\Protar.mdb) where the SourceSamName column = the value retrieved from the DefaultUserName value of the remote machine.
  4. Read the equivalent entry for TargetSamName for that record.
  5. Use the Changing String-valued and DWORD-valued Entries script as an example of how to set the regkey to the newly retrieved value.


note

The scripts referenced in this article can be found in the Microsoft Windows 2000 Scripting Guide:



note

Please refer to Microsoft for more information on installing WMI on Windows NT machines via Windows Management Instrumentation (WMI) CORE 1.5 (Windows NT 4.0):



note
Note: The request for this type of functionality is being considered for a future release, however, at this time there has been no decision made to include this feature.

Additional Information

Formerly known as NETIQKB10439

Feedback service temporarily unavailable. For content questions or problems, please contact Support.