Jump to content

Recommended Posts

Posted

hey I want to know how I can hide this proces

Run("rundll32.exe cryptext.dll,CryptExtAddPFX cert.p12")

@SW_HIDE does not work gives me following error

Unable to execute the external program.:

Run("rundll32.exe cryptext.dll,CryptExtAddPFX cert.p12",@SW_HIDE)

Posted (edited)

Hi,

maybe this helps .

Run("rundll32.exe cryptext.dll,CryptExtAddPFX cert.p12", "", @SW_HIDE)

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted

Try:

$YourCommand = "rundll32.exe cryptext.dll,CryptExtAddPFX cert.p12"

RunWait(@ComSpec & " /c " & $YourCommand, "", @SW_HIDE)

it seems like it is working for the first window but the next window is not hidden. How can I hide each of the windows in the installation. can I simply use RunWait("",@SW_HIDE)?

  • 6 months later...
Posted

This works fine for me:

$strCertificate = "c:\certificates\cert.p12"
Run("c:\windows\system32\rundll32.exe cryptext.dll,CryptExtAddPFX " & $strCertificaat, "", @SW_HIDE)

You originally forgot the second parameter, the empty one ("").

Posted

Is there a way to tell the commanline to install the .p12 certificate under as a private computercertificate (MMC)?

I also need to send a unique password to each certificate.

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...