Tag Archives: vdi

Deploying System Center EndPoint Protection Client to your Golden Image

When building golden image for your SCCM Workstation, theres a couple of changes you will need to make to the antivirus client before you deploy the image. The following steps can be incorporated in to the Build Task Sequence or alternatively while building your VDI base image.

Software you will need:

Install the Systems Center Endpoint Protection client with the following switches:

scepinstall.exe /s /q /NoSigsUpdateAtInitialExp

Install the latest EndPoint Definition Updates

Next, we will need to modify some registry entries using the PSexec utility, launch an Administrative Command Prompt and run:

c:\psexec.exe -s -i regedit.exe

Delete the following registry keys if they exist:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\InstallTime
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Scan\LastScanRun
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Scan\LastScanType
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Scan\LastQuickScanID
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Scan\LastFullScanID
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RemovalTools\MRT\GUID

Its important this step is done right at the end of your build image, if this is for your sccm image then ensure your image is captured straight after this. If your building your VDI base image ensure this is the last step prior to shutting down the virtual machine for your snapshot.

Troubleshoot the NVIDIA GPU installed in the ESXi Host

You will need to open a SSH connection to the ESXi host to run these commands.

First lets confirm ESXi can pick up the GPU.

nvidia-smi

nvidia smi

The above results show there is a NVIDIA GRID K1 GPU installed.

However, this does not confirm that the GPU is being used.

Confirm if Xorg Service is Running:

/etc/init.d/xorg status

If the service is not running, we can attempt to start the service:

/etc/init.d/xorg start

if the service is started, we can run the following command to list the virtual machines which are using the GPU memory

gpuvm

If successful we should see a list similar to below:

image

Keep an eye out for my next post on the installing the NVIDIA GPU drivers on ESXi 5.5.