Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VDI Gold Image updating?

We have 5 different gold images that we maintain through out the College and we have started to to deploy Sophos central and move away from an enterprise on premises solution. I have followed the instructions in KB120560 (https://community.sophos.com/kb/en-us/120560) , but was wondering after you setup the install on your VDI gold image and configure it ......do you have to go through the configuration every time you update the gold image as we update the gold images and recompose at least once a month? And if you do need to go through the configuration every time is it script-able



This thread was automatically locked due to age.
Parents
  • Jason,

    The link below looks to be what you need. With that being said, let me know if you find a good way to script this process? The only part that I am struggling with is the token part (steps 6 & 7)

    https://community.sophos.com/kb/en-us/120560

    Thanks,

    Jeremy

  • Update to my last post:

    I created a script to just remove the mentioned files without the parts about the cert changes, it seems to be working and new desktops are registering in Sophos Central. The problem that I am having now is that I am getting duplicate names in Sophos Central, so I created a new post of this problem.

    https://community.sophos.com/products/sophos-cloud/f/sophos-central/89965/duplicate-machine-names-for-non-persistent-vdi-desktops-in-sophos-central

  • I created a registration.txt file and formatted it according to the instructions. I put that in a directory along with a batch file that stops the services and copies that registration.txt file where it needs to go. Below is my script. I run this everytime I need to take a new master image to deploy.

     

    @echo off
    echo  Stopping services . . .
    net stop "Sophos MCS Client" /yes
    echo  Stopping services, done.
    echo deleting files...
    del "C:\ProgramData\Sophos\Management Communications System\Endpoint\Persist\credentials" /F
    del "C:\ProgramData\Sophos\Management Communications System\Endpoint\Persist\EndpointIdentity.txt" /F
    del "C:\ProgramData\Sophos\Management Communications System\Endpoint\Persist\*.xml" /F
    del "C:\ProgramData\Sophos\AutoUpdate\data\machine_ID.txt" /F
    echo deleting files complete
    echo copy files
    copy "C:\AV Generlization script\registration.txt" "C:\ProgramData\Sophos\Management Communications System\Endpoint\Config"

    cls
    Echo Anti-Virus generalization completed...
    pause

  • Great, thanks a lot for that info Jason.

    Are you experiencing issues with duplicate computer names in your Sophos Central? When a new machine is created that has the same name as a machine before, the old machine stays in Sophos Central and a new machine is created with the same name for me. With this being the case, both the old and new machines are using a license. 

Reply
  • Great, thanks a lot for that info Jason.

    Are you experiencing issues with duplicate computer names in your Sophos Central? When a new machine is created that has the same name as a machine before, the old machine stays in Sophos Central and a new machine is created with the same name for me. With this being the case, both the old and new machines are using a license. 

Children
No Data