remove skype

How to Remove Skype for Business

Microsoft has announced in 2019 that they will completely discontinue Skype for Business until July 2021, replacing it by Teams once and for all (Read about it here). While this is probably great news for almost everyone, this can tunr into a big headache for many network administrators and support analysts out there.

Although Microsoft has its plans well defined, there is still no news of an official tool for removing Skype for Business in a silent, automated way, in bulk and without harming the other applications in the Office365 package.

I was asked in my company to then develop an automated silent way to remove skype, considering that I should complete this in the best possible way, covering both 32 and 64 bit versions.

After a lot of research on the internet, I could not find anything that was ready to go. If it exists it hasn’t been shared (yet), and that’s why I decided to get some hands on and get this done. Since I was successful I then decided to share my solution to help other colleagues.

Obs: I’ve tested this method inside my environment, using the latest Office365 x86 and x64 installs. If you want to test in your own environment, I suggest you do it on a testing machine or VM first to see how the script will behave in your reality. I will not be held responsible for unexpected or inappropriate results to the outcome of your trials.

Step 1:
Download the zipped folder with the necessary files here.
Step 2:
Copy the zipped folder over to the test machine and extract it. Then just double-click on the UninstallSkype.bat file present in that folder and wait for the removal to run. A command prompt window will open but all other commands will be running silently.

Suggestion:
You can encapsulate the files to run in SCCM, logon script, GPO, PSExec, etc. You just need to have the ability to adapt the script and tools to the reality of your environment.

That is all, I’ve shared everything the easiest and best way that I could think of, I hope this was helpfull to you.

Cheers!

Como Remover o Skype for Business

A Microsoft anunciou em 2019 que irá descontinuar por completo o Skype for Business até Julho de 2021, no intuito de dar exclusividade ao Teams (Leia aqui). Apesar de ser uma ótima notícia para o público em geral, isso pode significar dor de cabeça à vista para diversos administradores de redes e analistas de suporte por aí.

Por mais que a Microsoft tenha seus planos bem definidos, todavia não existe uma ferramenta oficial de remoção do Skype for Business de forma automatizada, em massa e sem prejudicar os demais aplicativos do pacote Office365.

Fui solicitado em minha empresa para desenvolver então uma forma automática e silenciosa para remover o programa, considerando que deveria concluir isso da melhor forma possível, abrangendo tanto as versões 32 quanto 64 bits.

Após muito pesquisar na internet, percebi que realmente não existe nada pronto. Se existe não foi compartilhado (ainda), e por isso resolvi por a mão na massa. Como obtive sucesso decidi compartilhar para ajudar outros colegas.

P.S.: Eu testei este método em meu ambiente, usando instalações x86 e x64 do Office365 mais recentes. Se quiser testar em seu ambiente, sugiro que o faça em uma máquina de testes antes pra ver como o script irá se comportar em sua realidade. Não me responsabilizo por resultados inesperados ou inadequados às suas pretensões.

Passo 1:

Baixe a pasta zipada com os arquivos necessários aqui.

Passo 2:

Copie a pasta zipada para a máquina de teste e extraia a mesma. Depois é só dar um duplo clique no arquivo UninstallSkype presente na pasta e aguardar a execução da remoção. Uma janela do prompt de comando será aberta mas todos os demais comandos são silenciosos.

Sugestão:

Você pode encapsular os arquivos para rodar no SCCM, script de logon, GPO, PSExec, etc. Basta que tenha habilidade em adaptar o script e as ferramentas para a realidade do seu ambiente.

No mais é isso, deixei tudo bem mastigado e o único trabalho que terão é baixar e descompactar a pasta.

Grande abraço e até a próxima!