Jump to content
Welcome to our new Citrix community!
  • 0

Unattendent ImageWizard


Question

5 answers to this question

Recommended Posts

  • 0

Hi Jens, running “Imagingwizard /?” At the command line will display below information:

Quote

 

Runing “Imagingwizard /?” At the command line will display below information:

P2Pvs: Copies disk <Volume#> volumes for MBR, or all boot disk partitions for UEFI, to the vDisk.

<Volume#> cannot be specified for UEFI. If no <Volume#> are specified, then all of the volumes for the boot disk are processed.

P2Pvs [<Volume1> [<Volume2> [<Volume3> [<Volume4>]]]] [[/Capacity1=<MB>] [/Capacity2=<MB>] [/Capacity3=<MB>] [/Capacity4=<MB>]]

 

P2Vhdx: Copies disk <Volume#> volumes for MBR, or all boot disk partitions for UEFI, to a <VhdName>.vhdx file in the <Workspace Folder>.

<Volume#> cannot be specified for UEFI. If no <Volume#> are specified, then all of the volumes for the boot disk are processed.

P2Vhdx <VhdxName> <Workspace Folder> [<Volume1> [<Volume2> [<Volume3> [<Volume4>]]]] [/Capacity1=<MB>] [/Capacity2=<MB>] [/Capacity3=<MB>] [/Capacity4=<MB>]

 

P2Vhd: Copies disk <Volume#> volumes for MBR, or all boot disk partitions for UEFI, to a <VhdName>.vhd file in the <Workspace Folder>.

<Volume#> cannot be specified for UEFI. If no <Volume#> are specified, then all of the volumes for the boot disk are processed.

P2Vhd <VhdName> <Workspace Folder> [<Volume1> [<Volume2> [<Volume3> [<Volume4>]]]] [/Capacity1=<MB>] [/Capacity2=<MB>] [/Capacity3=<MB>] [/Capacity4=<MB>]

 

Volume2Volume: Copies one <SourceVolume> volume to a <DestVolume> volume.

Volume2Volume <SourceVolume> <DestVolume>

 

Options

/? - Show help.

 

/UI is optional for displaying a progress dialog during processing.

/QuitWhenDone is optional with /UI to end the program when finished, otherwise the progress dialog is left displayed when finished.

 

Options to increase capacity can be used with P2Pvs, P2Vhdx and P2Vhd for MBR when <Volume#> are specified.

/Capacity#=<MB> - volume # capacity in MB. # is any value from 1 to 4. The number of MB must be greater than the current capacity.

 

Examples:

P2Pvs C: D: E: F: /UI /QuitWhenDone

P2Vhdx name F:\temp C: D: E: F: /UI /QuitWhenDone

P2Vhd name F:\temp C: D: E: F: /UI /QuitWhenDone

Volume2Volume C: G: /UI /QuitWhenDone

 

So you would then run commands like the example, putting imagingiwizard in front:

Imagingwizard.exe P2Pvs C: D: E: F: /UI /QuitWhenDone

Imagingwizard.exe  P2Vhdx name F:\temp C: D: E: F: /UI /QuitWhenDone

 

 

Also perhaps of interest, as you mention Hyperv Gen2 VMs in an earlier post.

On hyperv once a VM is fully configured and ready for capture to PVS vdisk, the vhdx file can be copied directly from hyperv storage into the PVS vdisk store storage location, renamed as required, and then via PVS console-> Store->Right click-> Import vdisk (it will prompt to say it will create pvp file, thats expected and needed).
 

  • Like 1
Link to comment
  • 0

Sorry, we are using the steps as mentioned by KELANR:

 

"On hyperv once a VM is fully configured and ready for capture to PVS vdisk, the vhdx file can be copied directly from hyperv storage into the PVS vdisk store storage location, renamed as required, and then via PVS console-> Store->Right click-> Import vdisk (it will prompt to say it will create pvp file, thats expected and needed)."

 

Using Hyper-V you can use these steps - it works fine :-)

Link to comment
  • 0
On 2/6/2019 at 1:50 PM, Stefan Wendrich1709160263 said:

At my installation it doesnt work. It says everytime in the log, that a citrix provisioning imaging vdisk cannot be found.

 

I run my imagingwizard.exe with these commands:

 


imagingwizard.exe "P2Vhdx image1.vhdx \\ctxpvs1\share /UI /QuitWhenDone"

Write Permissions are right to the share.

ANy ideas ?

 

Drop the /UI and /QuitWhenDone switches.  Also, don't wrap the arguments inside a single set of quotes.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...