-
Notifications
You must be signed in to change notification settings - Fork 0
7.1 GPO
Create a new AD OU:
New-ADOrganizationalUnit -Name "Software Deploy" -Path "DC=elizabeth,DC=local"
Move things from TestOU to Software Deploy:
Move-ADObject -Identity "CN=WKS01-ELIZABETH,OU=TestOU,DC=elizabeth,DC=local" -TargetPath "OU=Software Deploy,DC=elizabeth,DC=local"
Since I did a stupid and created TestOU protected from accidental deletion, in order to delete it we need to turn that flag off and then delete it. We can do that with the following powershell command:
Get-ADOrganizationalUnit -identity "OU=TestOU,DC=elizabeth,DC=local" | Set-ADObject -ProtectedFromAccidentalDeletion:$false -PassThru | Remove-ADOrganizationalUnit -Confirm:$false
First I had to install file services on mgmt using the add roles and features wizard, then I navigated to the shares tab under file services in server manager and created a new share called "Software." The file paths for this is below:
- Local: C:\Shares\Software
- Remote: \mgmt-elizabet\Software
mgmt-elizabet is not a typo, the last part of my name got cut off
Use the group policy management tool (which may need to be installed) to create a new GPO under the Software Deploy OU

In the group policy management editor, go to the software installation settings and create a new package. Select the PuTTY installer via its network file share address. Should look like this:

Then go to workstation and run gpupdate /force in the command line, and wait for the wks to reboot and install the software
Access the logs of the putty install via Event Viewer (search for keyword "putty," it will be the first result)
You can also find the event logs via Powershell. I used the following command:
Get-EventLog -LogName System -Message *putty* -Newest 1
Which gave me this output:
