Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Moveuser.exe is incompatible with Windows Vista and is replaced by the new Win32_UserProfile WMI functionality


View products that this article applies to.

Summary

The Windows Resource Kit tool Moveuser.exe is incompatible with Windows Vista. In earlier versions of Windows, Moveuser.exe is used to map an existing local user account profile to a new domain profile when a computer in a workgroup is joined to a domain. Alternatively the tool can also used to map an existing domain account profile to another new domain account profile. However, you cannot use the Moveuser.exe tool to perform these tasks on a Windows Vista-based computer.

↑ Back to the top


Resolution

Service pack information

To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack

Hotfixes and security updates that are included in SP2 for Windows Vista Service and for Windows Server 2008

For more information about the hotfixes and the security updates that are included in SP2 for Windows Vista and for Windows Server 2008, visit the following Microsoft TechNet Web site: -Note:Currently, the list of hotfixes and security updates is available only in English.

Update information


After you install the update that is described in this article, the User Profile Windows Management Instrumentation (WMI) provider (Win32_UserProfile) is added in Windows Vista. This User Profile WMI provider replaces Moveuser.exe in Windows Vista. The new User Profile WMI provider can be used to map an existing local account profile to a new domain based account. It can also be used to map an existing domain-based account profile to a new domain-based account profile.The following files are available for download from the Microsoft Download Center:

Windows Vista, 32-bit versions
Download Download the Windows6.0-KB930955-x86.msu package now.

Windows Vista, 64-bit versions
Download Download the Windows6.0-KB930955-x64.msu package now.For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

↑ Back to the top


Prerequisites

To apply this update, you must have Windows Vista installed.

Restart requirement

You must restart the computer after you apply this update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Vista, 32-bit versions
File nameFile versionFile sizeDateTimePlatform
Profprov.dll6.0.6000.2051532,76816-Jan-200703:35x86
Profsvc.dll6.0.6000.20515163,84016-Jan-200703:35x86
Userprofilewmiprovider.mofNot Applicable10,70216-Jan-200700:02Not Applicable
X86_microsoft-windows-profsvc.d_31bf3856ad364e35_6.0.6000.20515_none_24c745098e822984.manifestNot Applicable69116-Jan-200717:13Not Applicable
X86_microsoft-windows-profsvc_31bf3856ad364e35_6.0.6000.20515_none_fa4ee34c4ea7bad8.manifestNot Applicable49,15216-Jan-200717:14Not Applicable
Windows Vista, 64-bit versions
File nameFile versionFile sizeDateTimePlatform
Amd64_microsoft-windows-profsvc.d_31bf3856ad364e35_6.0.6000.20515_none_80e5e08d46df9aba.manifestNot Applicable69516-Jan-200717:13Not Applicable
Amd64_microsoft-windows-profsvc_31bf3856ad364e35_6.0.6000.20515_none_566d7ed007052c0e.manifestNot Applicable49,15216-Jan-200717:19Not Applicable
Profprov.dll6.0.6000.2051549,15216-Jan-200704:42x64
Profsvc.dll6.0.6000.20515180,22416-Jan-200704:42x64
Userprofilewmiprovider.mofNot Applicable10,70216-Jan-200700:02Not Applicable

↑ Back to the top


More Information

Information about how to use the User Profile WMI provider

  • The source user profile cannot be private.
  • Any folder redirection to a local volume or to a server must be disabled.
  • Access to the following settings is not preserved:
    • Encrypted files
    • Certificates
    • The user account picture
  • Disable encryption for any files before you map any profile to another new user account profile.
  • User saved passwords will not be mapped from the local profile to the domain profile. Therefore, the user will be prompted to reenter these passwords the first time that they access the associated program. For example, the user will be prompted to reenter the password for Windows Live Messenger the first time that they start the program after the profile is moved.
  • The User Profile WMI provider is implemented like other WMI interfaces by using WMI tools, scripts, or applications that use the WMI COM interface. For more information about how to use WMI, see the"About WMI" topic at the following MSDN Web site:
  • To learn specifically about the management functions that the User Profile WMI provider supports, use a repository browsing tool to explore the class in the \root\CIMV2 namespace.

Visual Basic script examples

  • The following Microsoft Visual Basic script example retrieves a user profile object through the user name and the domain and then deletes the user profile object.
    strComputer ="."

    Set objAccount = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
    & strComputer &"\root\cimv2:Win32_UserAccount." _
    &"Domain='contoso',Name='fabrikam'")

    Set objUserProfile = GetObject("winmgmts:{impersonationlevel=impersonate}!\\" _
    & strComputer &"\root\cimv2:Win32_UserProfile." _
    &"SID='" & objAccount.SID &"'")

    objUserProfile.Delete_
  • RoamingPreferenceis the only property that can be set by a user who has administrative credentials. The following Visual Basic script example retrieves and displays information about all the profiles on the local computer.
    • To run the Visual Basic script against a remote computer, set the value of the strComputer variable to the name or the IP address of the remote computer. The placeholder RemoteComputerName is used to set the variable in the following example:

      strComputer = “RemoteComputerName”.
    • When you run this script by using Wscript.exe, one series of message boxes is displayed for each profile. You receive one message box for each profile. You have to click OKto close each message.
    • To avoid these message boxes, run the script by using Cscript.exe instead of Wscript.exe. When you use Cscript.exe, the information is displayed at the command prompt instead of as message boxes. To run the following script by using Cscript.exe, type cscript.exe script_nameat the command prompt, and then press ENTER.
strComputer ="."
Set objWMIService = GetObject("winmgmts:\\" & strComputer &"\root\cimv2")
Set colProfiles = objWMIService.ExecQuery("Select * from Win32_UserProfile")
For Each objProfile in colProfiles
Set objSID = objWMIService.Get("Win32_SID.SID='" & objProfile.SID &"'")
Wscript.Echo"======================================================"& VBNewLine _
&"Sid:" & objProfile.Sid & VBNewLine _
&"User Name:" & objSID.AccountName & VBNewLine _
&"User Domain:" & objSID.ReferencedDomainName & VBNewLine _
&"LocalPath:" & objProfile.LocalPath & VBNewLine _
&"Loaded:" & objProfile.Loaded & VBNewLine _
&"RefCount:" & objProfile.RefCount & VBNewLine _
&"RoamingConfigured:" & objProfile.RoamingConfigured & VBNewLine _
&"RoamingPath:" & objProfile.RoamingPath & VBNewLine _
&"RoamingPreference:" & objProfile.RoamingPreference & VBNewLine _
&"Status:" & objProfile.Status & VBNewLine _
&"LastUseTime:" & objProfile.LastUseTime & VBNewLine _
&"LastDownloadTime:" & objProfile.LastDownloadTime & VBNewLine _
&"LastUploadTime:" & objProfile.LastUploadTime & VBNewLine
Next

↑ Back to the top


For more information about the terms that are used to describe software updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbvistasp1fix, atdownload, kbbug, kbfix, kbqfe, kbpubtypekc, kb

↑ Back to the top

Article Info
Article ID : 930955
Revision : 4
Created on : 4/10/2020
Published on : 4/10/2020
Exists online : False
Views : 336