Page 2 of 4 FirstFirst 1234 LastLast
  1.    2 Weeks Ago #10
    Join Date : Nov 2017
    Posts : 3
    Windows 10

    Thanks for your reply, Kari! So I'm have another issue; I'm able to install my image with no problems on the HP Elitebooks that we use. However, when I try to use it on a Lenovo Thinkpad T540p or T550, I'm getting an error with creating a partition in the first part of the setup:

    "Windows could not create a partition on disk 0. The error occurred while applying the unattend answer file's <DiskConfiguration> setting. Error code: 0x80042565"

    The answer file works fine on the HP... so why am I getting this error on the Lenovo's?
      My ComputerSystem Spec
  2.    2 Weeks Ago #11
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,971
    Windows 10 Pro
    Thread Starter

    Most common reason is that you are using autounattend.xml with partitioning scheme for GPT partitioned UEFI machines on a MBR partitioned BIOS machine or vice versa.


    EDIT:

    I just created a Generation 1 VM (BIOS / MBR) in Hyper-V and run unattended install from my UEFI / GPT install media to get this screenshot:
    Name:  image.png
Views: 83
Size:  109.5 KB

    Reason for this error is me using wrong autounattend.xml file, one that tries to partition disk as GPT on a BISO based machine instead of MBR.

    I would need to prepare autounattend.xml separately for BIOS / MBR and UEFI / GPT machines, as told in tutorial starting from step 3.12. Examples showing differences in partitioning MBR and GPT disks are shown in step 3.14.

    Kari
      My ComputerSystem Spec
  3.    2 Weeks Ago #12
    Join Date : Jun 2017
    Posts : 114
    10 Pro 16299.15 64 Bit

    thanks very nice and useful
      My ComputerSystem Spec
  4.    1 Week Ago #13
    Join Date : Nov 2017
    Posts : 3
    Windows 10 Pro x64

    Hi Kari,
    Thanks for this amazing tutorial! I have though a couple of questions, basically regarding to this step:
    3.11) Select the disk you added in Answer File pane, set DiskID to be 0 and WillWipeDisk to true:

    1. If I have several disks on my computer, how can I make sure it will prepare the image, to install windows on the right disk?
    2. As I have a Desktop and a Laptop, how can I make sure, that on each of them I'll be installing windows on the right primary disk? (Since windows changes Drive letters).
    On both cases, the primary disk will be an M2 SSD disk, but I have on both machines other disk partitions which I want to preserve from being deleted or wiped

    My last question is regarding how can I integrate the "Move users folder tutorial" (especially the part when the User folder is moved into a different drive, during Windows installation).

    What I intend is to create a Windows installation cd/usb in which I can automatically move the users folder during the installation, but silently, if possible, so I could skip the part of pressing SHIFT+F3 during the network setup screen and doing it manually. You think this is possible, to make it all automated?


    Thanks very much for your help!
      My ComputerSystem Spec
  5.    1 Week Ago #14
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,971
    Windows 10 Pro
    Thread Starter

    Quote Originally Posted by Fordlobus View Post
    1. If I have several disks on my computer, how can I make sure it will prepare the image, to install windows on the right disk?
    2. As I have a Desktop and a Laptop, how can I make sure, that on each of them I'll be installing windows on the right primary disk? (Since windows changes Drive letters).
    On both cases, the primary disk will be an M2 SSD disk, but I have on both machines other disk partitions which I want to preserve from being deleted or wiped.
    It seems that you must forget automating first phase of Windows installation, Step Three in tutorial completely. If you do Step Three (3.1 through 3.22) the whole disk, all partitions on it will be wiped clean and any existing data will be lost. There is no way you can leave existing partitions intact.

    In your case, just do Steps One and Two, skip Three, then continue from Four.


    Quote Originally Posted by Fordlobus View Post
    My last question is regarding how can I integrate the "Move users folder tutorial" (especially the part when the User folder is moved into a different drive, during Windows installation).

    What I intend is to create a Windows installation cd/usb in which I can automatically move the users folder during the installation, but silently, if possible, so I could skip the part of pressing SHIFT+F3 during the network setup screen and doing it manually. You think this is possible, to make it all automated?
    In Windows SIM, expand Microsoft-Windows-Shell-Setup component, right click FolderLocations setting, select Add Setting to pass 7 oobeSystem, select FolderLocations in Answer File pane, enter location for Users folder in ProfilesDirectory:
    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	494.7 KB 
ID:	163119

    (Click to enlarge.)

    Kari
      My ComputerSystem Spec
  6.    1 Week Ago #15
    Join Date : Nov 2017
    Posts : 3
    Windows 10 Pro x64

    Quote Originally Posted by Kari View Post
    It seems that you must forget automating first phase of Windows installation, Step Three in tutorial completely. If you do Step Three (3.1 through 3.22) the whole disk, all partitions on it will be wiped clean and any existing data will be lost. There is no way you can leave existing partitions intact.

    In your case, just do Steps One and Two, skip Three, then continue from Four.

    Kari
    Hi Kari,
    Thanks for you superquick reply! LEt me explain you a bit more about how I have my disks configured:
    A) My Laptop: A primary SSD disk where windows is installed, and a Secondary Disk where I have 4 partitions (\Documents, \Downloads, so on...)
    B) My desktop: A primary SSD disk where Windows is installed, a secondary SSD with \Users folder (Thanks for it!) and a RAID 1 disk with 4 partitions (Documents, Downloads, etc).

    So, in your tutorial, you mention to set a Disk ID when adding a new disk. I dont mind creating the system partitions when installing Windows 1709, but I'd need to be sure that Windows will be installed in the right disk, otherwise I could lose information
    3.11) Select the disk you added in Answer File pane, set DiskID to be 0 and WillWipeDisk to true:

    In my case, on Laptop the primary disk might as well be DiskID 0, but on my Desktop it's DiskID 1 (since it's a PCI SSD)

    I guess that if I skip whole Step 3, I'll be able to choose in which Disk can I install windows, am I right?
    If that's the case, it doesn't bother me, since I prefer to make sure where windows will be installed

    Thanks for your excellent support, I'll keep digging in your tutorials!!
      My ComputerSystem Spec
  7.    1 Week Ago #16
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,971
    Windows 10 Pro
    Thread Starter

    Quote Originally Posted by Fordlobus View Post
    I guess that if I skip whole Step 3, I'll be able to choose in which Disk can I install windows, am I right?
    If that's the case, it doesn't bother me, since I prefer to make sure where windows will be installed
    Yes, skip Step Three entirely and you have normal option to partition disks and select on which disk Windows will be installed. Do Step Four, though, to automate OOBE.

    Kari
      My ComputerSystem Spec
  8.    1 Week Ago #17
    Join Date : Nov 2017
    Posts : 3
    Windows 10 Pro x64

    Cool! I'll try this weekend By the way, if the user folder exists, let's say in drive D:, Will it be overwritten during installation, or if it already exists, will be kept with all data?

    I intend to re-install windows with this image, with my same existing username located on the d:\users folder

    Will it be ok, and all data kept exactly as is now?

    Thanks so much for your patience!
      My ComputerSystem Spec
  9.    1 Week Ago #18
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,971
    Windows 10 Pro
    Thread Starter

    No, you can't use an existing Users folder from another installation. The target drive should be empty.
      My ComputerSystem Spec
  10.    1 Week Ago #19
    Join Date : Mar 2017
    NAGPUR
    Posts : 34
    windows 10

    I think Kari that step 6.3, 6.4 & onwards can only be performed on a physical machine & not on a virtual machine (virtualbox) as it is not possible to send the crtl+alt+f3 command to a virtual machine
      My ComputerSystem Spec

 
Page 2 of 4 FirstFirst 1234 LastLast


Similar Threads
Tutorial Category
Installation & Upgrade PowerShell Scripting - Create USB Install Media for Windows 10
The way Windows operating system is delivered and installed has changed quite a lot from days when Windows 3.0 was delivered on 6 floppy disks. To install, you booted PC from floppy 1, which in its turn asked you to eject it and insert floppy 2 to...
Tutorials
Solved unattended TRUSTEER RAPPORT loading and install, suspicious activity
yesterday, 4 august 0400 south african time , my computer must have loaded trusteer rapport , made a system restore point before running it and my system time zone was set to cuiaba, brazil . i tried to go back to a pre trusteer rapport system...
AntiVirus, Firewalls and System Security
Is an unattended upgrade possible?
Hi, We've got hundreds of computers running Win 7 Pro that we'd like to upgrade to Windows 10. Is there a way of running the setup with an answer file? Anywhere I can get example answer files from? I don't really care what the settings...
Installation and Upgrade
Issue with "CopyProfile" option in Unattended Install
I have been creating generalized images for deployment in an enterprise scenario. In order to do so, I've installed Windows 10, booted into audit mode from the Welcome Screen, then customized Windows. After this, I can run sysprep with an unattend...
General Support
Another way of unattended PXE installation -- and it works :-)
I had a run on the preview 10240 by unattended installation. what I wanted to see is if I could create a golden image on one very old PC (HP Elitebook 6930p), sysprep it and afterwards apply that image by autoupdating the drivers to my Dell...
Installation and Upgrade
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 10:04.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums