none
automate windows intune client installation

    Question

  • we are using sccm 2007 now...we would like to move to the windows intune environment, as we are moving to the intune we must be able to deploy windows intune clients automatically even when the client computer has sccm 2007 client..


    MCITP

    Thursday, March 14, 2013 6:43 PM

Answers

  • Joe,

    The Windows Intune installer is available in MSI.    Using the command line switches, you can extract the MSI installers.  Using the /Extract command, you'll get the two MSI's to use for Deployment.

    Windows_Intune_Setup.exe /?

    Tool Usage:
    Windows_Intune_Setup.exe [/Quiet]
    Windows_Intune_Setup.exe /Extract <destination-directory>

            /Quiet          Used to run enrollment package installation in quiet mod
    e.
            /Extract        Used to extract enrollment packages (Windows_Intune_{X86
    ,X64}.msi)
             destination     Specifies the directory for the extracted package.
            /PrepareEnroll  Used to prepare the reference machine for automatic enro
    llment after Windows Setup.

    When executed with no switch specified, enrollment package will be run.

    e.g.:- Windows_Intune_Setup.exe
    e.g.:- Windows_Intune_Setup.exe/Quiet
    e.g.:- Windows_Intune_Setup.exe/Extract %temp%
    e.g.:- Windows_Intune_Setup.exe/PrepareEnroll


    Friday, March 22, 2013 10:36 PM
    Moderator

All replies

  • Intune will not install if the SCCM client is installed. So you first have to uninstall the SCCM client. Then, you can deploy Intune via a Computer Startup Script in Group Policy. The script could check for the existence of the SCCM client and only attempt to install Intune if SCCM is not detected.
    Friday, March 15, 2013 5:17 AM
  • is there any way to automate sccm client uninstallation and install windows intune client automatically...??

    MCITP

    Friday, March 15, 2013 7:31 PM
  • I'm not a SCCM guy, but you can probably use the SCCM console to remove the SCCM client.

    Otherwise, you could automate the uninstall with a group policy object that contains a startup script that calls CCMSetup.exe with the /Uninstall switch.

    http://technet.microsoft.com/en-us/library/bb694276.aspx

    Then pushing out Intune can be done with a startup script in group policy. The startup script is recommended because it runs under the system account, which is needed because the Intune client installer must be run with local admin privs. Just remember to include the certificate file that comes with the Intune download and place it in the same directory where the installer runs, as this is how the client knows which Intune tenant to point to.

    Friday, March 15, 2013 10:17 PM
  • Thank you.

    sorry for late reply.

    it woked , then how to prevent running the same script again and again to same comupters that is already installed windows intune client.


    MCITP


    • Edited by killi1987 Friday, March 22, 2013 4:13 AM
    Friday, March 22, 2013 4:13 AM
  • Hi,

    You can also use the Group Policy Software Installation instead of a startup script.

    http://technet.microsoft.com/library/jj676611.aspx

    and

    http://support.microsoft.com/kb/816102

    Thanks,

    Jon L. - MSFT

    Friday, March 22, 2013 6:19 PM
    Moderator
  • Jon, It would be great if the Intune client was available in .MSI format but since it is only available in .EXE, there is no way with Group Policy to perform a silent install unless you put it in a script. Group policy computer policies only support MSI packages. User policies support exe but only as a published application (requires user interaction). Therefore if you know of a way other than putting it in a startup script, please share. Thanks, Joe
    Friday, March 22, 2013 7:25 PM
  • Joe,

    The Windows Intune installer is available in MSI.    Using the command line switches, you can extract the MSI installers.  Using the /Extract command, you'll get the two MSI's to use for Deployment.

    Windows_Intune_Setup.exe /?

    Tool Usage:
    Windows_Intune_Setup.exe [/Quiet]
    Windows_Intune_Setup.exe /Extract <destination-directory>

            /Quiet          Used to run enrollment package installation in quiet mod
    e.
            /Extract        Used to extract enrollment packages (Windows_Intune_{X86
    ,X64}.msi)
             destination     Specifies the directory for the extracted package.
            /PrepareEnroll  Used to prepare the reference machine for automatic enro
    llment after Windows Setup.

    When executed with no switch specified, enrollment package will be run.

    e.g.:- Windows_Intune_Setup.exe
    e.g.:- Windows_Intune_Setup.exe/Quiet
    e.g.:- Windows_Intune_Setup.exe/Extract %temp%
    e.g.:- Windows_Intune_Setup.exe/PrepareEnroll


    Friday, March 22, 2013 10:36 PM
    Moderator
  • How are you doing with your migration to intune?

    Does it work? Were you able to install the intune client with sccm?

    Friday, February 26, 2016 9:44 AM