Copied image from HDD with ntfs to CF with FAT32, then User Environment error during bootup

  • Thread starter Cato Svellingen
  • Start date
C

Cato Svellingen

Hi,

i set up my image in HDD running ntfs. then I copied all files to CF with
FAT32 (under WinPE),.

The image has automatic logon to a custom shell:

During Bootup of XPe on CF, a message pops up saying :
***********
User environment:

Windows cannot log you on because .....
and
Windows cannot create a temporary profile directory, maybe because of
permission rights .....etc.
******************

and this never goes away , hence i cannot run anything ...

Whats this ??
Because I changed file systems ??

Cato
 
B

Brad Combs

Cato,

Since you used PE, I guess you used xcopy? If so did you use any switches,
namely /H which copies hidden and system files as well. There's also /e to
copy subdirectories (including emtpy).

HTH,
--
Brad Combs
Imago Technologies, LLC

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
C

Cato Svellingen

I used xcopy with /E /H /K

I think thats OK,... !?

the image starts to boot, but stops when this error message about User
Environment pops up ....
 
C

Cato Svellingen

Is it possible to copy a complete XPe OS from one disk to another using
xcopy ???
As long as using XP PE for example and the disk is partitioned and formatted
correctly ???

Or do i need some form of disk cloning tools top get it copied OK :???

Cato
 
K

KM

Cato,
Is it possible to copy a complete XPe OS from one disk to another using xcopy ???
As long as using XP PE for example and the disk is partitioned and
formatted correctly ???

Yes, xcopy is enough if you use NTFS.
If you use FAT and fdisk'ed the CF from DOS, you will need to bottprep it
also.
Or do i need some form of disk cloning tools top get it copied OK :???

System Cloning Tools has nothing to do with the image copying process.

Using WinPE, can you verify that your image got copied properly.

KM
 
C

Cato Svellingen

I have deployed and set up one image to HDD, then i want to also "clone"
this XPe OS to other disk, e.g. CF disk.

Can you verify that I can do this just by copying the system files in WinPE
using xcopy ??

Cato
 
K

KM

Cato,

You can consider that as a test but if it is failing I'd rather check if
files got copied properly (just use cmd/dir commands on CF).

I've just reilized that we know nothing about your hardware.

How many partitions your HDD had and CF have?
When you copied everything to CF, did you preserve the same partition order?

Usually the Winlogon message you are seeing appears when your drive letter
is changed (while copying to another drive or CF). The boot is ok since ARC
path is set properly in boot.ini. But then, when profiles are loaded, it
gets messed up.

KM
 
S

Slobodan Brcin \(eMVP\)

Cato,

Also it would be nice if you could use same DiskID beside same partition positions. This would allow you to preserve volume letter
assignment after copy operation.

Nevertheless just copy can be done but few things must be true.
1. XPe should be on first disk partition named C:
2. If you use EWF do not use anything except reg configured RAM EWF.
3. Make sure that destination CF was not present in your device while doing FBA or you will need to reassign volume letters before
last shutdown.

If you have CF marked as fixed and on IDE cable you should not have any other problems.

Best regards,
Slobodan
 
C

Cato Svellingen

OK.
I did not have the same ID for HDD as for CF.
Partition order was the same. 2 partitions on each.
Primary partiton same size on both.
But HDD has one larger secondary partition.

I just notized that there was a documents and settings directory that has
been created on CF drive D during boot up ...
Dont know why XPe is accessing drive D ...

Cato



Slobodan Brcin (eMVP) said:
Cato,

Also it would be nice if you could use same DiskID beside same partition
positions. This would allow you to preserve volume letter
assignment after copy operation.

Nevertheless just copy can be done but few things must be true.
1. XPe should be on first disk partition named C:
2. If you use EWF do not use anything except reg configured RAM EWF.
3. Make sure that destination CF was not present in your device while
doing FBA or you will need to reassign volume letters before
 
K

KM

Cato,

Are you deploying image on system drive C:? (where is you \Windows directory?)

Anyway, before copying image from HDD to CF, you may delete [HKLM\SYSTEM\MountedDevices] reg.key (or do that on the image offline).

Also, double check your image directories settings in TD.
 
K

KM

Cato,

You can also reset mounted devices info by running fbreseal.exe.

Quote from documentation:
"If you have a system with two or more physical drives, the cloning tools
remove the STORAGE\VOLUMES and reinstall them on the next boot if the cloned
drive is not the one that contains the Master Boot Record (MBR). When this
happens, the partition letters for the drives are reversed."

Just in case, make sure you've got this QFE installed:
http://www.microsoft.com/downloads/...CB-28D0-49E7-A059-400A7D6059E2&displaylang=en.

KM
Cato,

Are you deploying image on system drive C:? (where is you \Windows directory?)

Anyway, before copying image from HDD to CF, you may delete
[HKLM\SYSTEM\MountedDevices] reg.key (or do that on the image offline).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top