Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Install pfx cert in user personal store via gpo

$
0
0

I've looked through tons of blogs, websites, forums, etc and still cannot get my certificate to install.

I placed my cert in the personal snap-in on the server (2012 R2), created a GPO to install the MSI package which went smooth and also create a GPO to install the certificate yet I still don't see it appearing in my personal certs in the registry.

Here's the scripts i ran

import-cert.bat

certutil -f -user -p password -importpfx %LOGONSERVER%\netlogon\certificates\mycompany.pfx

import-certificate-slightly.vbs

Set oShell = CreateObject ("Wscript.Shell") 
Dim strArgs 
strArgs = "cmd /c %LOGONSERVER%\netlogon\Certificates\import-certificate.bat" 
oShell.Run strArgs, 0, false

Then I created a task under user - preferences to install the cert when the user unlocks the workstation using the admin account.


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>