<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx</link><description>Starting with Windows Server 2008 the CA product team introduced a set of COM objects that can be used to control the installation of CAs. Using VBScript you can quickly automate the setup and installation of a CA.Below is a script that is being used</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3509674</link><pubDate>Thu, 19 Jul 2012 02:52:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3509674</guid><dc:creator>Rich Megginson</dc:creator><description>&lt;p&gt;The script works great if you are logged in. &amp;nbsp;What I would like to do is install and setup the CA as part of an unattended install, as an Enterprise Root CA (setupca.vbs /IE). &amp;nbsp; I cannot get this to work on 2008 R2. &amp;nbsp;No matter in which pass I put it &amp;quot;specialize&amp;quot; (RunSynchronous) &amp;quot;oobeSystem&amp;quot; (FirstLogonCommands) or even in SetupComplete.cmd, I always get this error:&lt;/p&gt;
&lt;p&gt;InstallAndVerifyCA: Error! Must be a domain administrator to create Enterprise CA&lt;/p&gt;
&lt;p&gt;I know it needs AD to be up and running - I can setup AD unattended with dcpromo /unattend:file.ini - then a reboot is required - is there some way I can do the following during an unattended setup:&lt;/p&gt;
&lt;p&gt;dcpromo /unattend:file.init&lt;/p&gt;
&lt;p&gt;reboot&lt;/p&gt;
&lt;p&gt;setupca.vbs /IE&lt;/p&gt;
&lt;p&gt;????&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3509674" width="1" height="1"&gt;</description></item><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3508680</link><pubDate>Thu, 12 Jul 2012 08:48:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3508680</guid><dc:creator>Darren Bennett</dc:creator><description>&lt;p&gt;Refer to &lt;a rel="nofollow" target="_new" href="http://technet.microsoft.com/en-us/library/ee918754(WS.10).aspx"&gt;technet.microsoft.com/.../ee918754(WS.10).aspx&lt;/a&gt;. &amp;nbsp;This contains an updated version of the script as of June 19th, 2012&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3508680" width="1" height="1"&gt;</description></item><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3501443</link><pubDate>Fri, 01 Jun 2012 03:36:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3501443</guid><dc:creator>ChrisL</dc:creator><description>&lt;p&gt;Which script do I use, this one or the one here: &lt;a rel="nofollow" target="_new" href="http://technet.microsoft.com/en-us/library/ee918754(WS.10).aspx"&gt;technet.microsoft.com/.../ee918754(WS.10).aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3501443" width="1" height="1"&gt;</description></item><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3452049</link><pubDate>Fri, 09 Sep 2011 05:11:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3452049</guid><dc:creator>MS2065 [MSFT]</dc:creator><description>&lt;p&gt;Unfortunately I am not aware of an automated SCEP installation script.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3452049" width="1" height="1"&gt;</description></item><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3451870</link><pubDate>Thu, 08 Sep 2011 13:38:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3451870</guid><dc:creator>Mark Peragallo</dc:creator><description>&lt;p&gt;How would one go about adding and configuring the Network Device Enrollment Service?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3451870" width="1" height="1"&gt;</description></item><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3392387</link><pubDate>Tue, 08 Mar 2011 02:26:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3392387</guid><dc:creator>Andy Arismendi</dc:creator><description>&lt;p&gt;Where are the cmdlets for this? Or more setup functionality in servermanagercmd?&lt;/p&gt;
&lt;p&gt;With the VBS, is there a way to specify the length of certificate validity?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3392387" width="1" height="1"&gt;</description></item><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3386684</link><pubDate>Fri, 11 Feb 2011 02:49:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3386684</guid><dc:creator>Dan</dc:creator><description>&lt;p&gt;I agree with Patrick! &amp;nbsp;Why aren&amp;#39;t there CMDlets for this yet?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3386684" width="1" height="1"&gt;</description></item><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3342951</link><pubDate>Fri, 09 Jul 2010 07:40:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3342951</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;Cool script, thank you for that.&lt;/p&gt;
&lt;p&gt;I wonder if the same could not be achive using PowerShell.&lt;/p&gt;
&lt;p&gt;for instance POSH is used to manage Exchange, AD and other servcies.&lt;/p&gt;
&lt;p&gt;Is there a particular reason to use &amp;quot;old&amp;quot; vbScript rather than &amp;quot;new&amp;quot; POSH scripts?&lt;/p&gt;
&lt;p&gt;Thank you for your feedback&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3342951" width="1" height="1"&gt;</description></item><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3329095</link><pubDate>Thu, 29 Apr 2010 04:14:43 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3329095</guid><dc:creator>Mika Seitsonen</dc:creator><description>&lt;p&gt;See &lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/mrsnrub/archive/2010/03/02/q-when-is-a-validity-period-not-a-validity-period.aspx"&gt;http://blogs.technet.com/mrsnrub/archive/2010/03/02/q-when-is-a-validity-period-not-a-validity-period.aspx&lt;/a&gt; for instructions on how to modify script in order to include this functionality.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3329095" width="1" height="1"&gt;</description></item><item><title>re: Automated CA installs using VB script on Windows Server 2008 and 2008R2 [UPDATED]</title><link>http://blogs.technet.com/b/pki/archive/2009/09/18/automated-ca-installs-using-vb-script-on-windows-server-2008-and-2008r2.aspx#3324408</link><pubDate>Mon, 12 Apr 2010 01:44:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3324408</guid><dc:creator>core-jockey</dc:creator><description>&lt;p&gt;I searched the better part of 2 days trying to find a way to configure cert services on R2 core.&lt;/p&gt;
&lt;p&gt;Thanks for providing this script. &amp;nbsp;It works very nicely.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3324408" width="1" height="1"&gt;</description></item></channel></rss>