Jump to content

Recommended Posts

Posted

Hi,

I am using bdehdcfg.exe from MS (that is able to shrink the c: and create a new partition) preparing the drive for BitLocker, however, I am getting some wiered issue: My approach is that we vb script the bdehdcfg.exe cli tool and then wrap it in an .msi, however;

1. If I run the .vbs and have the cli in place, the operation works nicely!

2. If I wrap the .vbs and the cli tool in the .msi, the .msi actually kicks of the scripts, repartitions it and formats the newly created drive. Finally, the script/tool also creates the required boot directory (boot files) for Vista on that new partition. Problem is, that when checking the partition it is not set to active. Setting the partition to active is not specified as a switch on the bdehdcfg.exe, the .exe is written to do that...

It seems as if, the .exe/.msi file fails beacuse of:

1. Either the .msi kills some hidden/dettached child process from the bdehdcfg.exe utility

2. Some feature blocks the activation of the partition!

Summary:

1. Command works

2. Script works

3. .msi module works partly / just dont know which process the .exe runs/executes?

Anyone using bdehdcfg.exe know of this? Seen it? Driving me mad....


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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...