Microsoft Windows Vista Community Forums - Vistaheads
Driver Scanner 2009 - Free Scan Now



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner 2009 - Free Scan Now

Vista Upgrade fails at "Gathering Files" when two users share the same user profile (ProfileImagePath). Message: "the upgrade was cancelled".

microsoft.public.windows.vista.installation setup



Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Reply
  #1 (permalink)  
Old 10-19-2007
Carl Farrington
 

Posts: n/a
Vista Upgrade fails at "Gathering Files" when two users share the same user profile (ProfileImagePath). Message: "the upgrade was cancelled".
Vista Upgrade fails at "Gathering Files" when two users share the same user
profile (ProfileImagePath). Message: "the upgrade was cancelled".

It seems that the Vista upgrade (from XP SP2), looks through
HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList, and tries to
do some work on the registry hives of the user profiles it finds
(NTUSER.DAT). When it comes across a hive that is loaded, but not the
currently logged-on user, it attempts to unload that hive from the registry
so that it can do whatever it's trying to do.

In the (unusual) case where a non-logged-on user points at the same profile
path as the currently logged-on user, the migration will fail because whilst
trying to unload the hive of the non-logged-on user, it is in effect trying
to unload the hive of the logged-on user, which can't be done.

For example, I had my Local Administrator account set to use the profile at
\Documents and Settings\carl, as well as DOMAINUSER\carl also using this
profile.

This is an unusual situation, although I have done this where a non-techie
has decided to set his own laptop up, and has all sorts of settings and
customisation, only for me to point out that the machine needs joining to
the domain which would normally result in a fresh profile being created. I
tend to migrate the profile and remove the old local user, but occasionally
I also leave the previous local account pointing at that profile also.

There is a piece of software out there intended for just this purpose. It's
called "User Profile Wizard", by a company called ForensiT. See
http://www.forensit.com/profwiz/index.htm . The reason I was in this
situation personally was because I wanted to test out this tool, since an IT
friend of mine liked the procedure I used but thought there should be an
easy tool to do it, and I found my procedure doesn't work properly with
Vista, so I tested out this tool on my laptop, by mapping the local
administrator account to my own user profile (carl).

Also see
http://groups.google.co.uk/group/mic...678c76ffd249c7
(http://tinyurl.com/34xdbz ) for the manual process I use, pre-Vista anyway.
I haven't learned the differences with Vista yet.

The fix is to go into HKLM\Software\Microsoft\Windows
NT\CurrentVersion\ProfileList and find the SID of the extra/unneccesary user
of the profile, and change their ProfileImagePath to something different.
Doesn't matter if that path doesn't exist yet, a clean profile will be
created upon logon.

Here are some logs. I know I am not the only person who has had this
problem, but I never found a solution out here on the Internet, so hopefully
posting this will help others who may find themselves in this odd situation.

Incidentally, the OEM Vista disk and license can be used to upgrade from OEM
XP SP2 no problem.

setupact.log:
2007-10-18 21:14:07, Warning [0x0803da] MIG Waiting 6000 msec to retry
hive load (tries remaining: 1)...
2007-10-18 21:14:13, Warning [0x0803d9] MIG IndirectKeyMapper:
RegLoadKey(HKEY_USERS,S-1-5-21-1708537768-839522115-1202660629-1108,C:\Documents
and Settings\carl\NTUSER.DAT) failed (32)
2007-10-18 21:14:13, Info MIG Attempting to find and
unload hive C:\Documents and Settings\carl\NTUSER.DAT
(\Device\HarddiskVolume1\Documents and Settings\carl\NTUSER.DAT)
2007-10-18 21:14:13, Info [0x0808ad] MIG Hive
\Device\HarddiskVolume1\Documents and Settings\carl\NTUSER.DAT is loaded at
\REGISTRY\USER\S-1-5-21-73586283-1417001333-725345543-500
2007-10-18 21:14:13, Info [0x0808ae] MIG Unloading hive at
HKEY_USERS\S-1-5-21-73586283-1417001333-725345543-500
2007-10-18 21:14:13, Warning [0x0808af] MIG Failed to unload hive at
HKEY_USERS\S-1-5-21-73586283-1417001333-725345543-500 (error 5)
2007-10-18 21:14:13, Warning [0x0808aa] MIG Failed to find and unload
hive: C:\Documents and Settings\carl\NTUSER.DAT (error 5)
2007-10-18 21:14:13, Info MIG Dumping hive list at
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\hivelist...
2007-10-18 21:14:13, Info MIG
[\REGISTRY\MACHINE\HARDWARE] =>
2007-10-18 21:14:13, Info MIG
[\REGISTRY\MACHINE\SECURITY] =>
\Device\HarddiskVolume1\WINDOWS\system32\config\SE CURITY
2007-10-18 21:14:13, Info MIG
[\REGISTRY\MACHINE\SOFTWARE] =>
\Device\HarddiskVolume1\WINDOWS\system32\config\so ftware
2007-10-18 21:14:13, Info MIG
[\REGISTRY\MACHINE\SYSTEM] =>
\Device\HarddiskVolume1\WINDOWS\system32\config\sy stem
2007-10-18 21:14:13, Info MIG
[\REGISTRY\USER\.DEFAULT] =>
\Device\HarddiskVolume1\WINDOWS\system32\config\de fault
2007-10-18 21:14:13, Info MIG [\REGISTRY\MACHINE\SAM]
=> \Device\HarddiskVolume1\WINDOWS\system32\config\SA M
2007-10-18 21:14:13, Info MIG
[\REGISTRY\USER\S-1-5-20] => \Device\HarddiskVolume1\Documents and
Settings\NetworkService\NTUSER.DAT
2007-10-18 21:14:13, Info MIG
[\REGISTRY\USER\S-1-5-20_Classes] => \Device\HarddiskVolume1\Documents and
Settings\NetworkService\Local Settings\Application
Data\Microsoft\Windows\UsrClass.dat
2007-10-18 21:14:13, Info MIG
[\REGISTRY\USER\S-1-5-19] => \Device\HarddiskVolume1\Documents and
Settings\LocalService\NTUSER.DAT
2007-10-18 21:14:13, Info MIG
[\REGISTRY\USER\S-1-5-19_Classes] => \Device\HarddiskVolume1\Documents and
Settings\LocalService\Local Settings\Application
Data\Microsoft\Windows\UsrClass.dat
2007-10-18 21:14:13, Info MIG
[\REGISTRY\USER\S-1-5-21-73586283-1417001333-725345543-500] =>
\Device\HarddiskVolume1\Documents and Settings\carl\NTUSER.DAT
2007-10-18 21:14:13, Info MIG
[\REGISTRY\USER\S-1-5-21-73586283-1417001333-725345543-500_Classes] =>
\Device\HarddiskVolume1\Documents and Settings\carl\Local
Settings\Application Data\Microsoft\Windows\UsrClass.dat
2007-10-18 21:14:13, Info MIG End of hive list
2007-10-18 21:14:13, Warning [0x0803db] MIG IndirectKeyMapper:
RegLoadKey(HKEY_USERS,S-1-5-21-1708537768-839522115-1202660629-1108,C:\Documents
and Settings\carl\NTUSER.DAT) failed; giving up (32)



setuperr.log:
2007-10-18 21:14:13, Error [0x08039d] MIG Cannot add mapping for
user profile C:\Documents and Settings\carl. Error: 32: class
Mig::Win32ErrorException: Win32ErrorException: Error(32), .
__thiscall Mig::CIndirectKeyMapper::CIndirectKeyMapper(class UnBCL::String
*,struct HKEY__ *,class UnBCL::String *,class UnBCL::String *,int,int,const
Mig::HiveLoadRetryOptions *)
[gle=0x000003f0]
2007-10-18 21:14:13, Error [0x080801] MIG User profile loading
error. Aborting due to external request.[gle=0x000003f0]
2007-10-18 21:14:13, Error [0x0802fa] MIG MigStartUp caught
exception: class Mig::Win32ErrorException: Win32ErrorException: Error(1253),
User profile loading error. Aborting due to external request..
void __thiscall Mig::COnlineWinNTPlatform::ProcessUser(class
Mig::CRegistryDataStore *,class Mig::CRegistryDataUnit *,class UnBCL::String
*,class UnBCL::String *,int)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-19-2007
Adam Leinss
 

Posts: n/a
Re: Vista Upgrade fails at "Gathering Files" when two users share the same user profile (ProfileImagePath). Message: "the upgrade was cancelled".
"Carl Farrington" <carl@noitsnotcss-networks.commy.invalid> wrote in
news:5nrg2iFha74eU1@mid.individual.net:

> For example, I had my Local Administrator account set to use the
> profile at \Documents and Settings\carl, as well as
> DOMAINUSER\carl also using this profile.


No idea why you would do this instead of just copying one profile to
the other 2 accounts. Having two accounts sharing 1 profile (or more
specifically: one profile directory) is a really bad idea.

Here's why:

Create two accounts. Have them share the profile. Reboot. Login as
Account A. Now logoff and login as Administrator. Try to delete the
profile Account A uses. You can't.

Windows keeps a lock on NTUSER.DAT even after you log out. If you have
multiple logins trying to lock the same file you can get corruption.

If you have a profile that you want to use, just use the User Account
profile copy function and overwrite the profile you want replaced.

Adam
--
Visit my PC Tech blog at www.leinss.com/blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-20-2007
Carl Farrington
 

Posts: n/a
Re: Vista Upgrade fails at "Gathering Files" when two users share the same user profile (ProfileImagePath). Message: "the upgrade was cancelled".

"Adam Leinss" <aleinss@hotmail.com> wrote in message
news:Xns99CE60FC92944aleinsstoughguy@140.99.99.138 ...
> "Carl Farrington" <carl@noitsnotcss-networks.commy.invalid> wrote in
> news:5nrg2iFha74eU1@mid.individual.net:
>
>> For example, I had my Local Administrator account set to use the
>> profile at \Documents and Settings\carl, as well as
>> DOMAINUSER\carl also using this profile.

>
> No idea why you would do this instead of just copying one profile to
> the other 2 accounts. Having two accounts sharing 1 profile (or more
> specifically: one profile directory) is a really bad idea.
>
> Here's why:
>
> Create two accounts. Have them share the profile. Reboot. Login as
> Account A. Now logoff and login as Administrator. Try to delete the
> profile Account A uses. You can't.
>
> Windows keeps a lock on NTUSER.DAT even after you log out. If you have
> multiple logins trying to lock the same file you can get corruption.


Are you sure about that? It's been my experience that this only happens when
event id 1517 is logged. The message goes something like "Windows saved user
Carl's registry while an application or service was still using the registry
during log off. The memory used by the user's registry has not been freed.
The registry will be unloaded when it is no longer in use"

Provided this event doesn't occur, the profile will not be locked after
logging off.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-23-2007
Adam Leinss
 

Posts: n/a
Re: Vista Upgrade fails at "Gathering Files" when two users share the same user profile (ProfileImagePath). Message: "the upgrade was cancelled".
"Carl Farrington" <carl@noitsnotcss-networks.commy.invalid> wrote in
news:5nv2k8Fjrgg2U1@mid.individual.net:

> Are you sure about that? It's been my experience that this only
> happens when event id 1517 is logged. The message goes something
> like "Windows saved user Carl's registry while an application or
> service was still using the registry during log off. The memory
> used by the user's registry has not been freed. The registry will
> be unloaded when it is no longer in use"
>
> Provided this event doesn't occur, the profile will not be locked
> after logging off.
>


100%. We implemented a domain a while back where we would have to go
to each workstation and convert the local profile to a domain one. No
amount of using unlock utilties would release explorer's lock on
NTUSER.DAT. Once you logged a user in, NTUSER.DAT was forever locked
until reboot.

This happened on every workstation I tried. Sometimes you would get a
PC that already rebooted, others not.

If you are doing this for a laptop where you have a domain and a local
account, just place "pointers" to the domain profile in the local
profile. For example: we had My Documents in C:\documents and settings
\mrspock point to C:\documents and settings\mrspock.enterprise on the
desktop. The remote user would place their documents in the domain
profile by dragging them to this icon. When they come back and log in,
their regular My Documents icon points to the same location.

Adam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-24-2007
Carl Farrington
 

Posts: n/a
Re: Vista Upgrade fails at "Gathering Files" when two users share the same user profile (ProfileImagePath). Message: "the upgrade was cancelled".

"Adam Leinss" <aleinss@hotmail.com> wrote in message
news:Xns99D251C9D4AF5aleinsstoughguy@140.99.99.138 ...
> "Carl Farrington" <carl@noitsnotcss-networks.commy.invalid> wrote in
> news:5nv2k8Fjrgg2U1@mid.individual.net:
>
>> Are you sure about that? It's been my experience that this only
>> happens when event id 1517 is logged. The message goes something
>> like "Windows saved user Carl's registry while an application or
>> service was still using the registry during log off. The memory
>> used by the user's registry has not been freed. The registry will
>> be unloaded when it is no longer in use"
>>
>> Provided this event doesn't occur, the profile will not be locked
>> after logging off.
>>

>
> 100%. We implemented a domain a while back where we would have to go
> to each workstation and convert the local profile to a domain one. No
> amount of using unlock utilties would release explorer's lock on
> NTUSER.DAT. Once you logged a user in, NTUSER.DAT was forever locked
> until reboot.
>
> This happened on every workstation I tried. Sometimes you would get a
> PC that already rebooted, others not.


Must be some third party application that was installed on all the machines.
The event log would have given you event id 1517.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I add the icons "Delete", "Cut", "Copy" and "Paste" in Vis Moonwalker microsoft.public.windows.vista.file management 5 09-17-2007 23:53
Missing "Documents" and "Music" folders after upgrade from Windows XP. Anyone know how to recreate them? Sean microsoft.public.windows.vista.installation setup 5 04-05-2007 04:24
Internet Explorer 7 for Windows Vista not prompting me to "Open/Run" or "Save" files Brandon Taylor microsoft.public.windows.vista.general 2 04-01-2007 22:45
"Desktop Optimization Pack" as Winternals upgrade... how does a user get it? Modern Meta microsoft.public.windows.vista.general 7 03-01-2007 18:11
"Windows Media Center" upgrade to "Vista Business" ? =?Utf-8?B?cGV5eg==?= microsoft.public.windows.vista.installation setup 4 02-11-2007 08:02


All times are GMT +1. The time now is 01:38.


Driver Scanner 2009 - Free Scan Now

Driver Scanner 2 - Free Scan Now



Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119