Skip to content

Mohammed Wasay

Dallas based Design Technologist & Hybrid Developer

  • Home
  • Posts
    • Azure
      • Azure Active Directory
    • Office365 | M365
    • Programming
      • PowerShell
      • Python
    • Platform
      • Windows
        • Active Directory
        • SCCM
      • Mac
      • Linux
    • VMware
    • Storage
  • Contact
  • About
  • Get NordVPN
  • Client
    • Make a payment

Deploying the SCCM Client with VMware Client Windows Guest Customization

  • Home
  • 2018
  • April
  • Deploying the SCCM Client with VMware Client Windows Guest Customization

Since SCCM is our configuration management tool of choice, the SCCM client needs to get installed on all of our newly provisioned VMs.

I created a service account that only has read permission to the \\sccmserver\sms_sitecode\client share on the SCCM server. The client is installed from this location to ensure that we are always using the latest version and get rid of any need to manually copy files or put it in the template.

1. Make sure that you have your customization spec configured to log in once as administrator:

2. Add the following lines to you customization spec.

PowerShell
1
2
3
4
cmd.exe /c net use i: \\sccmserver\SMS_sitecode\Client /user:username password
cmd.exe /c i:\ccmsetup.exe <options>
timeout 60
cmd.exe /c shutdown -r -t 00

This maps a drive to your SCCM share using the service account, installs the client, and then reboots the virtual machine. I put a timeout (sleep) for 60 seconds in there to make sure the install has time to do what it needs to do and it is working well at this point.

3. Once the VM is created and customized and rebooted you should have a service ‘SMS Agent’ started (Automatic Delayed Start).

 

By: mo wasayPosted on April 19, 2018Categories : Categories : SCCM, VMware, WindowsTags: 2012 account automation ccmsetup ccmsetup.exe cmd custom customization Guest once options powershell reboot run SCCM sequence service specification tasks template vmware windows

Post navigation

NSLookup still showing IP of demoted Domain Controller
All of Windows Cipher Suites

My name is Mohammed Wasay I am part of the Global Digital Workplace Team at KPMG International. I define myself as a Hybrid Developer, Programmer, and Technical Consultant, who has a creative twist to innovate, inspire, and simplify solutions. I enjoy engaging with the community and customers around the world. Opinions and suggestions are my own.

    • Active Directory
    • Azure Active Directory
    • Information Technology
    • Linux
    • Mac
    • Office365 | M365
    • PowerShell
    • SCCM
    • SharePoint
    • VMware
    • Windows
    Copyright © 2023 Mohammed Wasay. All Rights Reserved | Workart by Theme Palace