Create a Keyfile with command line
A password is required at creation time. The keyfile's SetGuid can be specified either explicitly or by reference to an existing image file, in which case the SetGuid from the existing image file will be used.
If neither SetGuid nor ImageFilePath are specified, then the keyfile SetGuid will be all zeroes.
Usage:
Copy
keyfile.exe <c>reate <KeyFilePath> <password> [SetGuid|ImageFilePath]
To create a keyfile with password "secret" and an explicit SetGuid:
Copy
keyfile.exe c new.spk secret {01234567-89ab-cdef-aabb-ccddeeff0011}
To create a keyfile with password "secret" using the SetGuid from an image:
Copy
keyfile.exe c D:\C_VOL-b001.spk secret D:\C_VOL-b001.spf