Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: User Profiles - Create and Move During Windows 7 Installation

13 Feb 2016   #1080
Kari

Microsoft Community Contributor Award Recipient

 

Those error messages are telling that the temp folder (the drive where it is located) is full. On which drive you have your Users relocated, how full is that drive?

I have never had these issues, and as you can see if you read through the whole thread, all over 1,000 posts, you are about the first one telling that .NET Framework cannot be installed-


My System SpecsSystem Spec
.
13 Feb 2016   #1081
urzu7

Windows 7 Home Premium 64bit
 
 

It is a totally clean install of Windows 7 onto my SSD and a totally empty 2TB HDD to which I moved my User and Program Data to so I doubt that the drive is full but rather it cannot be found/accessed.

Like you said, I found it weird too that I am the first to encounter this situation but through countless clean reinstalling of Windows 7, I figured that if I were to leave the User and Program Data untouched in the SSD, there is no trouble at all in running Windows update and installing .NET frameworks.
My System SpecsSystem Spec
14 Feb 2016   #1082
Kari

Microsoft Community Contributor Award Recipient

 

You misunderstood my point. Relocated Users folder is most definitely not the reason why installation of .NET Framework 4.6.1 and Avira failed in your case, you need to search the reason elsewhere.

Although quite tired to constantly needing to show that this method works, that the various errors users get are mostly caused by either the user him/herself, or PC having some other issues, I decided to prove my point once more.

I installed Windows 7 Ultimate SP1 today on a test machine (I'm fully moved on to Windows 10), sysprepped it relocating the Users folder to drive D:, and finally installed both .NET Framework 4.6.1 and Avira, the same software you are claiming that can't be installed when Users folder is relocated. Both installations worked perfectly without any whatsoever issues.

Captured the process, too:

My System SpecsSystem Spec
08 Mar 2016   #1083
micks88

Windows 7 Home Premium x64
 
 

Hello people of the forum and Karl, since its yours thread and tutorial ive read 20 times.
First post here and and im looking for help.
Well i built my own system just over a year ago and the ssd was getting full being only 120GB so i read about moving the user folder and program data and here i am. Having done the fresh install and copy and pasted the xml file i get an error when rebooting into oobe mode (Windows could not parse or process unattend answer file[C:\Windows\Panther\unattend.xml] for pass [oobesystem]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup]. )

so i double and triple checked im doing everything correct to which i think i am.. windows is loaded to C drive, i want to move to D drive and windows boot disc is in E drive and file on G drive (USB).
but clearly im going wrong somewhere... here is what my xml file looks like
Quote:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FolderLocations>
<ProfilesDirectory>d:\Users</ProfilesDirectory>
<ProgramData>d:\ProgramData</ProgramData>
</FolderLocations>
</component>
</settings>
<cpifflineImage cpi:source="wim:E:/sources/install.wim#Windows 7 HomePremium" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
I think ive posted that bit correctly and hopefully you can see where im going wrong.
Here is a copy of the error from the panther file, not sure if this is correct either.
[QUOTExml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
-^
][/QUOTE]
or this if i open it in notebook.
Quote:
<xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema">
<s:Schema id="RowsetSchema">
<s:ElementType name="row" content="eltOnly" rs:updatable="true">
<s:AttributeType name="Cls" rs:number="0">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Sev" rs:number="1">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Maj" rs:number="2">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Min" rs:number="3">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="LN" rs:number="4">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Fil" rs:number="5">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Fun" rs:number="6">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Uid" rs:number="7">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Msg" rs:number="8">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="PID" rs:number="9">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="TID" rs:number="10">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Con" rs:number="11">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Exe" rs:number="12">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Mod" rs:number="13">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Err" rs:number="14">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="MD" rs:number="15">
<s:datatype dt:type="hexBinary"/>
</s:AttributeType>
<s:AttributeType name="DT" rs:number="16">
<s:datatype dt:type="dateTime"/>
</s:AttributeType>
</s:ElementType>
</s:Schema>
<rs:data>
</rs:data>
</xml>
<xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema">
<s:Schema id="RowsetSchema">
<s:ElementType name="row" content="eltOnly" rs:updatable="true">
<s:AttributeType name="Cls" rs:number="0">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Sev" rs:number="1">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Maj" rs:number="2">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Min" rs:number="3">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="LN" rs:number="4">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Fil" rs:number="5">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Fun" rs:number="6">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Uid" rs:number="7">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Msg" rs:number="8">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="PID" rs:number="9">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="TID" rs:number="10">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Con" rs:number="11">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Exe" rs:number="12">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Mod" rs:number="13">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Err" rs:number="14">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="MD" rs:number="15">
<s:datatype dt:type="hexBinary"/>
</s:AttributeType>
<s:AttributeType name="DT" rs:number="16">
<s:datatype dt:type="dateTime"/>
</s:AttributeType>
</s:ElementType>
</s:Schema>
<rs:data>
</rs:data>
</xml>
<xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema">
<s:Schema id="RowsetSchema">
<s:ElementType name="row" content="eltOnly" rs:updatable="true">
<s:AttributeType name="Cls" rs:number="0">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Sev" rs:number="1">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Maj" rs:number="2">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Min" rs:number="3">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="LN" rs:number="4">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Fil" rs:number="5">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Fun" rs:number="6">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Uid" rs:number="7">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Msg" rs:number="8">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="PID" rs:number="9">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="TID" rs:number="10">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="Con" rs:number="11">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Exe" rs:number="12">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Mod" rs:number="13">
<s:datatype dt:type="string"/>
</s:AttributeType>
<s:AttributeType name="Err" rs:number="14">
<s:datatype dt:type="int"/>
</s:AttributeType>
<s:AttributeType name="MD" rs:number="15">
<s:datatype dt:type="hexBinary"/>
</s:AttributeType>
<s:AttributeType name="DT" rs:number="16">
<s:datatype dt:type="dateTime"/>
</s:AttributeType>
</s:ElementType>
</s:Schema>
<rs:data>
</rs:data>
</xml>
Fingers crossed thats correct, i sooo hope you can help me out here its got my head battered.
Regards
Michael
oh and if you need any more info just ask.
My System SpecsSystem Spec
.

08 Mar 2016   #1084
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by micks88 View Post
Fingers crossed thats correct, i sooo hope you can help me out here its got my head battered.
Regards
Michael
Hi Michael, welcome to the Seven Forums.

I suspect it is faulty drive letters; the drive D: as target is often more problematic than other drives, read this warning from this same tutorial on our sister site the Ten Forums, it applies to Windows 7, 8 and 8.1, too:

Quote:
warning   Warning
If you intend to use drive D: as the location for the relocated Users folder, please read this before proceeding!

Windows "likes" to set the the drive ID letters like this:
  • Drive C: > The system drive where Windows will be installed
  • Drive D: > First optical drive (CD / DVD drive)
  • Drive E: > Second partition on the same disk where the C: is located, or in case that disk only has one partition, the first partition on the secondary disk
Now when you sysprep telling it to move the Users to D: drive, after the reboot Windows might find that the D: is an optical drive and your intended drive D: is now E:, sysprep fails and you have to reinstall.

To be sure you are able to use drive D: for the relocated Users folder you need to set the drive letters manually before the sysprep is run. In Audit Mode you can do this for instance with Disk Management by manually changing the drive letters:
  • Change the optical drive letter to something at the end of the alphabet, I use X:
  • Change the drive letter of the partition or disk you intend to use for the Users folder to D:
  • If the partition or disk you want to use already has a letter D:, change it to something else, close the Disk Management, open it again and change the letter back to D:
See the tutorial at our sister site the Seven Forums: Drive Letter - Add, Change, or Remove in Windows

I recommend to always set drive letters manually to override the defaults but this is especially important for those wanting to use drive D: for relocated Users folder.
(Quote from Users Folder - Move Location in Windows 10 - Windows 10 Forums)

If you can access the system, the error log tells more. If possible find the log file setupact.log in C:\Windows\System32\Sysprep\Panther and post it here.

If nothing else helps, my recommendation is to restore a system image and start from beginning.

Kari
My System SpecsSystem Spec
08 Mar 2016   #1085
micks88

Windows 7 Home Premium x64
 
 

Hi Kari, (apologises for above - wrong spelling of your name) thanks for the reply and the speed.
i think this is what you are after. i shall change the drive letters around like you say and await anything else you have to say about the below.
thanks
My System SpecsSystem Spec
08 Mar 2016   #1086
micks88

Windows 7 Home Premium x64
 
 

Thanks
My System SpecsSystem Spec
08 Mar 2016   #1087
micks88

Windows 7 Home Premium x64
 
 

Sorry for super long posts, I thought as much when posting there would be another way.
My System SpecsSystem Spec
08 Mar 2016   #1088
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by micks88 View Post
and final part i hope..
im sure there would of been another way to do that.. short way or something.
In the future, please zip the log files and upload them as attachment. Using QUOTE tags with long log files makes the posts annoying to read!

You could also use CODE tags but in this case it would have not helped you because the log file has over 30K characters whereas the max length of a post is 20K characters.

To keep this thread readable please edit all your previous three posts and remove the quoted parts of the log file, I've seen them and there was nothing to find.

That being said, the only error messages I can see are a few SYSPRP WinMain:The sysprep dialog box returned FALSE which only confirms my suspicions; in my opinion what happens is that you are telling to sysprep in answer file to move the Users folder to drive D:, but the OOBE boot (so called Welcome Mode) gives ID C: to Windows system drive, then D: to optical drive, and finally E: to the drive you think is D:.

As sysprep cannot relocate a system folder to an optical drive, it fails.
My System SpecsSystem Spec
09 Mar 2016   #1089
micks88

Windows 7 Home Premium x64
 
 

Thanks so much Kari, I will try doing it later when home from work if you think my relocate file is fine
So I'll follow the change drives like you say, change d drive to something else click OK and then go back and put back to d..?
Also I've change cd drive to M, so I will change that in the relocate file.
And finally I am fine using G drive for USB to hold reclocate.xml file?

Fingers crossed it works.

Kari thanks for you help and excellent tutorial, does this forum not do beer tokens etc to say thanks to people.?

Regards
Michael
My System SpecsSystem Spec
Comment

 User Profiles - Create and Move During Windows 7 Installation




Tutorial Tools Search this Tutorial
Search this Tutorial:

Advanced Search




Similar help and support threads
Windows 7 Tutorial Category
Help with User Profiles in Windows Server 2008
Hey guys and ladies. So i have scoured the forums looking for answers to my problem and have yet to get a definitive fix. It may just be me though lol. So I am an IT technician for some schools and i have just implemented a new server. It is running Windows Server 2008. My client machines are...
General Discussion
Windows 7 User profiles issue - Shows logging off after entering corru
This issue has become specific as fixing one problem led to the other: 1) I deleted ntuser.* files while working in linux as they had ugly looking file extensions and I thought they are temporary files. 2) I started getting the message "The Group Policy Client service failed the logon....
Installation & Setup
cannot create new user profiles
Win 7 Home Premium. Optiplex 755. I have a working user profile with administartive rights which works fine. I also have a working guest user. However when I try to create a new user, standard or administator, the new user is shown in "mange users" but cannot be logged into. This happens in safe...
General Discussion
Can't move user profiles
Guys ... opening this as separate thread as previous one took a direction of its own. Scenario As per Tutorial moved my profiles off the C:\ http://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html In order to use Windows Repair/Upgrade Disk I need to move them...
Installation & Setup
How do I move my user profiles back to C:\user
On advice here to keep OS disk space small, followed the tutorial http://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html and moved my user profile from C:\user\name to E:\user\name The problem is Windows upgrade (need to run for repair) will not accept profiles...
Installation & Setup
New to Win7 move User profiles or use Libraries?
I have just upgraded from Vista where we had two user account profiles on the D partition, as I recall, Vista prompted me to set it up this way initially. I got used to using this method, as my single hdd is divided into two partitions, C for the OS and D for Data. I did a new clean install of...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App