S
SugarDaddy
Hello,
I'm looking for some help with a problem I am having with our
activation application. Basically the network at our organization
doesn't allow us to use the Volume Activation Management Tool (VAMT)
because it requires that the WMI ports be open on the firewall. We do
not have the luxury of being able to open these ports across the
network. So we created a new solution.
This pertains to Windows Vista Enterprise (Volume License).
Basically we have a ClickOnce app that runs on the Vista client. It
attempts KMS activation first. If that fails (for whatever reason),
it requests the user to log in and then downloads an encrypted MAK,
decrypts it, injects it into Vista using WMI InstallProductKey(string)
and then attempts to activate using WMI Activate(). The actual
activation is done in a separate process that runs elevated as
Administrator so I don't see the problem being a permission thing, but
I digress. In any case, the InstallProductKey method seems to
succeed. However, the Activate method fails with an exception, but
the exception has no message so I have no idea why it fails and the
best I can do is output a message that "Activation failed." which is
hardly helpful to us or the users.
I think it's also worth noting that the Registry Override is not
installed because our distribution cannot allow users to re-initialize
the product key (if it's installed in a lab or something).
Basically I can't find any documentation that discusses the exact
process that must be performed to activate with a valid MAK. What
does the WMI InstallLicense method do? What is the string parameter?
Could this by why my activations or failing?
I'm looking for some help with a problem I am having with our
activation application. Basically the network at our organization
doesn't allow us to use the Volume Activation Management Tool (VAMT)
because it requires that the WMI ports be open on the firewall. We do
not have the luxury of being able to open these ports across the
network. So we created a new solution.
This pertains to Windows Vista Enterprise (Volume License).
Basically we have a ClickOnce app that runs on the Vista client. It
attempts KMS activation first. If that fails (for whatever reason),
it requests the user to log in and then downloads an encrypted MAK,
decrypts it, injects it into Vista using WMI InstallProductKey(string)
and then attempts to activate using WMI Activate(). The actual
activation is done in a separate process that runs elevated as
Administrator so I don't see the problem being a permission thing, but
I digress. In any case, the InstallProductKey method seems to
succeed. However, the Activate method fails with an exception, but
the exception has no message so I have no idea why it fails and the
best I can do is output a message that "Activation failed." which is
hardly helpful to us or the users.
I think it's also worth noting that the Registry Override is not
installed because our distribution cannot allow users to re-initialize
the product key (if it's installed in a lab or something).
Basically I can't find any documentation that discusses the exact
process that must be performed to activate with a valid MAK. What
does the WMI InstallLicense method do? What is the string parameter?
Could this by why my activations or failing?