Category Archives: Horizon View

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.

Advertisements

Install NVIDIA GPU Drivers on ESXi 5.5

Obtain the latest drivers for specific NVIDIA GPU from the NVIDIA Downloads page – http://www.nvidia.com/Download/index.aspx?lang=en-us, the download will be in a .VIB format.

Upload this VIB file to a datastore on the ESXi host using the vSphere Client/Web Console.

You will need to enter the host in to maintenance mode using the vSphere Client or via the shell:

hostsvc/maintenance_mode_enter

Initiate the install of the driver:

localcli software vib install --no-sig-check -v /vmfs/volumes/DATASTORENAME/PATHTOVIB/FILENAME.VIB

Monitor the Shell window for the progress of the installation, you will see the following message on the window:

Installation Result  
  Message: Operation finished successfully.  
  Reboot Required: false  
  VIBs Installed: VIB NAME

Reboot the host, once rebooted you will need to exit the maintenance mode using the vSphere or Shell:

hostsvc/maintenance_mode_exit

Confirm the installation of drivers

Check the status of the Xorg service by running this command:

 /etc/init.d/xorg status

This should confirm the xorg service is installed.

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.