AD GPO SW Deploy - jude-lindale/Wiki GitHub Wiki

Prepare an OU, user & workstation

  • First we want to make a OU within the Active Directory Users and Computers on MGMT01 called "Software Deploy". We can do so by running the following command:

    New-ADOrganisationalUnit -Name "Software Deploy" -Path "DC=jude,DC=local"
    
  • To remove an OU using PowerShell we will run the following:

     Remove-ADOrganisationalUnit -Name "Test" -Path "DC=jude,DC=local"
    
  • Then The folder should be under jude.local within Active Directory Users and Computer

  • We will then move WSK01-Jude from the Computers folder and jude.lindale from the Users folder and place both within Software Deploy

Deploying Software via GPO

  • We now will create a Share on MGMT with the name "Software". We do this by going to the Share section within the Server Management, choosing MGMT01, use the right click and choose new share.

  • Once the share is created we go over to WSK01 and login as jude.lindale. From there we then go to file explorer, choose network, and the map the network drive with the following path:

    \\mgmt01-jude.jude.local\Software
    
  • We should now see putty-64bit-0.78-installer

  • We the go back to MGMT and create a group policy. We do this by going to Group Policy Management from the Tools dropdown in Server Manager

  • From there we will make a policy under:

    Computer Configuration -> Policies -> Software Settings -> Software Installation
    
  • We will create the GPO in that location and call it "Deploy SW"

  • Once Deploy SW is created, we will edit the policy and assign Putty’s .msi package to deploy, once the installer is in there we will move over to WSK01.

  • On WSK01 we will run the following command in CMD:

    gpupdate /force
    
  • Once WSK01 has restarted and we log back in we can search for putty in the windows search bar and it should have installed

  • We can the search the eventlogs to confirm the installation was successful in PowerShell using the following command:

    Get-EventLog -LogName System -EntryType Information -Source 'Application Management Group Policy'