summaryrefslogtreecommitdiffstats
path: root/answerfiles/setuppass2.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'answerfiles/setuppass2.cmd')
-rw-r--r--answerfiles/setuppass2.cmd7
1 files changed, 7 insertions, 0 deletions
diff --git a/answerfiles/setuppass2.cmd b/answerfiles/setuppass2.cmd
new file mode 100644
index 0000000..42426c6
--- /dev/null
+++ b/answerfiles/setuppass2.cmd
@@ -0,0 +1,7 @@
+echo these are commands to be run upon second login post installation
+echo Install Standalone Root CA
+cscript a:\Setupca.vbs /IS
+echo add setuppass3 RunOnce script
+reg add HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce /v SetupPass3 /t REG_SZ /d "cmd /c a:\setuppass3.cmd > c:\setuppass3.log 2>&1"
+echo Reboot in 2 minutes because CA install requires a reboot to complete
+shutdown -r -f -t 120 -c "Shutting down in 2 minutes - Reboot required for CA installation to complete"