Lync 2013

Deploy Skype for Business Client vía GPO

Hello I bring to you a way to deploy Skype for Business with Office 365 Click-to-run tool.

First we need to Download Office 2016 Deployment Tool from here

Then we need to shared a Folder in one Machine (This Folder must be accesible from any user computer, will be the Installation repository)

I create a Folder Named “Shared” (Yes , I Know, Such Original!) and give Everyone Read-Only Permission.

Unzip the Office 2016 Deploymet Tool Files at Shared Folder

Image 183

As we only want to Install Skype for Business we need to modify the configuration.xml file like this. (We will use 32 bits version as Recommended Version)

First modify the initial configuration file to download the Office Suite

<Add SourcePath=”\\server\Shared_File” OfficeClientEdition=”32″>
<Product ID=”O365ProPlusRetail” >
<Language ID=”en-us” />

My configuration.xml file look like this

Image 202

Then execute the follow to download the necessary files

\\server\shared_folder\setup.exe /download \\server\shared_folder\configuration.xml

For me, will be as follow.

Image 188

An Office Folder will be added to our Shared Folder.

Image 198

Now, we need to create a .cmd file as Follow.

IF EXIST “C:\Program Files (x86)\Microsoft Office\root\Office16\lync.exe” (goto End) else (goto Install)
start \\ad-ucblogmx\Shared\setup.exe /configure \\ad-ucblogmx\Shared\configuration2.xml

Put the .cmd in the same Shared Folder.

And create a second .xml file (I called Configuration2.xml) where select only Skype for Business to Install.

<Add SourcePath=”\\server\share_folder” OfficeClientEdition=”32″ Branch=”Current”>
<Product ID=”O365ProPlusRetail”>
<Language ID=”en-us” />
<ExcludeApp ID=”Access” />
<ExcludeApp ID=”Excel” />
<ExcludeApp ID=”Groove” />
<ExcludeApp ID=”InfoPath” />
<ExcludeApp ID=”OneDrive” />
<ExcludeApp ID=”OneNote” />
<ExcludeApp ID=”Outlook” />
<ExcludeApp ID=”PowerPoint” />
<ExcludeApp ID=”Project” />
<ExcludeApp ID=”Publisher” />
<ExcludeApp ID=”SharePointDesigner” />
<ExcludeApp ID=”Visio” />
<ExcludeApp ID=”Word” />
<Updates Enabled=”TRUE” Branch=”Current” />
<Display Level=”None” AcceptEULA=”TRUE” />
<Property Name=”AUTOACTIVATE” Value=”0″ />

For my lab the configuration2.xml look like this.

Image 204

Now, from Group Policy Manager, create a GPO. I name my GPO “Skype for Business Install”

Edit your GPO, go to Computer Configuration->Windows Settings -> Scripts (Startup/Shutdown) , Select Startup

Image 190

Now, add the Network Path to our .cmd File (must be the network path, not local disk)

Image 197

and Listo! The users computers will have Skype for Business installed.

Image 205

Hope this will help you.





15 comentarios en “Deploy Skype for Business Client vía GPO

  1. 1. I believe the CHM file reference in this guide is referring to the .CMD/.BAT file.

    2. If copying/pasting, make sure to replace all of the quotation marks as the one’s in there may or may not be recognized.

    3. Update the .CMD/.BAT file to point to “configuration2.xml”.

  2. is somebody there? i’ve tried this, but Skype For Business couldn’t be install. Only the GPO is applied but nothing is happening. i think that it’s the scrip which is not good cause even when i copy it to the client machine, to execute without the GPO, it’s not working. So please if somebody can help me with it.

  3. Hi Rodolfo Castro,

    i dont have any lync client installer on the machine. Since the morning, i’am reading, testing, some tuto, but no succes. in your .cmd file, somebody tell me that it’s not necessary to put the (goto End) else (goto Install) in the bracket. i think i’ll retry you r tutoriel, cause it’s look simple and well explained. but i dont realy know why it’s not working with me. i’ll keep you informed about the second test i’ll do. Thank you so much for replying to me.

    1. Yes, you can try to remove that part on the script, it’s just in case you got already installed to skip. Please also be sure that on the xml conf file you don’t list Skype for Business on the excluded apps. and check the Product ID version is the one that applies to your version. (O365ProPlusRetail)

  4. All right. but if i remove that part of the script, it will not check if SFB is installed right? because the way the script is explained is exactly what i want.let me know, should i remove only the brackets or all the part (goto End) else (goto Install)? otherwise, the other points you talked are correct. now i’am ready to lauch the test. so be back soon.

  5. i have updated the script, and now it’s my GPO which not applying to the client computer. that’s not a probleme, i’ll fix it. but now i think it’ll work because i’ve tried to lauch the script directly on client computer without using the GPO and it’s work. thing that’s not working before. I’ll fix applying the GPO and retry.

  6. Hi Rodolfo,

    i have fixed the GPO applying issue, and tried again the script, and it’s work only on the DC that i’ve added to clients where i should deploy the GPO. but it’s not working on these others client. i dont know why. i’am trying now to understand that and fix it. so be back there soon if got something news. thank you.

  7. Hi Rodolfo,

    i don’t know what’s wrong with my script or GPO, but my test is not working as expected. the GPO applied very well on the client, but the script is not running, so nothing is happenning as installing Skype for Business.

  8. Hi Rodolfo,

    i don’t know what’s wrong with my script or GPO, but my test is not working as expected. the GPO applied very well on the client, but the script is not running, so nothing is happenning as installing Skype for Business.

  9. Hi,

    Yep the shared folder permission is set to everyone and i give total control permission to everyone, but nothing. same old result.

Deja un comentario