You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-1
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,34 @@ If all variables are correct, script will download and install the agents
21
21
After completed, it promtps to be shutdown. If left alone for 30sec, it will auto shutdown
22
22
23
23
## InstallAgentAsSYSTEM.bat
24
-
Does exactly as the Darwin scritp above does but instead uses the bulletin SYSTEMS account (no password required). Fully automated
24
+
Does exactly as the Darwin script above does but instead uses the bulletin SYSTEMS account (no password required). Fully automated
25
+
26
+
In addition to the above script installing the agents, it also copied a vbscript to a scripts folder folder for vRA Guest Agent. This script I wrote to manage local user accounts settings and passwords. Its has a bunch of switches that allow you to automatically add user to admin groups and administer the admin account. This is especially useful during vRA deployment.
27
+
28
+
To do this
29
+
- create a property for each business group (bg.security.group) that is the same as an AD security group.
30
+
- create a property definition for setting the windows password (windows.os.password)
- Use the /admin swithc to configure the admin account name based on what the vm has (eg. newadmin)
41
+
- in the blueprint, add the windows password property, with show in request enabled, to the virtual machine custom properties.
42
+
- in the blueprint, add the UserAndGroupControl property group to the virtual machine property group section.
43
+
- in the blueprint, configure the VM so it joins the domain (cloneSpec)
44
+
- Publish and Entitle the blueprint
45
+
- Request the item, and if done correctly the password and security group will be passed during deployment, changing the load admin password and adding the group.
46
+
25
47
26
48
## UninstallAgent.bat
27
49
This script will remove the old Agents if they exists and delete their folders. SHould be ran before any other if doing a cleanup
28
50
It will also remove the Darwin account. However since the Darwin account was running as a service, it is considered to be in use even thought the active service has been removed. So there will be a residula folder residing in C:\Users folder. The InstallAgentAsDarwin.bat scritp will clean that up before creating a new Darwin account.
29
51
30
52
## InstallUpdatesOnly.bat
53
+
this script installs updates from WSUS point. It will also install PowerShell 5.1 on Windows 7, 8 , 8.1, 2012 and 2012r2. Unlike typical scripts where registry key are set.
54
+
This one use LGPO.exe to build the WSUS pointer locally. I did this so that it can be viewed and changed via gpedit.msc. There are a few prerequisites that must be done. Follow the README.md in the Updates folder
0 commit comments