Intune – Deploy Skype Package

email me

Deploy Skype for Windows using Intune.

 

Steps

Step 1 – Create C:\intune\Skype folder.

 

Step 2 – Copy Skype setup EXE to the C:\intune\Skype folder.

 

Step 3 – Create _Intune.cmd in Skype folder containing the following code:

cd "%~dp0"

taskkill /f /im Skype.exe
timeout /t 2
start "" Skype.exe /VERYSILENT /SP- /NOCANCEL /NORESTART /SUPPRESSMSGBOXES /NOLAUNCH -ms
timeout /t 60 :: pay attention to timing
taskkill /f /im Skype.exe
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Skype_is1" /v DisplayVersion /d "8.55.0.141" /t REG_SZ /f /REG:32

::add any other commands here

 

Step 4 – Create Skype.intunewin file using the IntuneWinAppUtil.exe tool:

IntuneWinAppUtil.exe -c C:\intune\Skype -s Skype.exe -o C:\intune

Output

Validating parameters
Validated parameters with 6 milliseconds
Compressing the souce folder ‘C:\intune\Skype’ to ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\Skype.intunewin’
Calculated size for folder ‘C:\intune\Skype’ is 69802161 with 0 milliseconds
Compressed folder ‘C:\intune\Skype’ successfully with 2301 milliseconds
Checking file type
Checked file type with 5 milliseconds
Encrypting file ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\Skype.intunewin’
‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\Skype.intunewin’ has been encrypted successfully with 209 milliseconds
Computing SHA256 hash for C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\ad9e3d7c-7a93-4148-869c-621ad1a849fe
Computed SHA256 hash for ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\ad9e3d7c-7a93-4148-869c-621ad1a849fe’ with 613 milliseconds
Computing SHA256 hash for C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\Skype.intunewin
Computed SHA256 hash for C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\Skype.intunewin with 616 milliseconds
Copying encrypted file from ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\ad9e3d7c-7a93-4148-869c-621ad1a849fe’ to ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\Skype.intunewin’
File ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Contents\Skype.intunewin’ got updated successfully with 84 milliseconds
Generating detection XML file ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage\Metadata\Detection.xml’
Generated detection XML file with 30 milliseconds
Compressing folder ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage’ to ‘C:\intune\Skype.intunewin’
Calculated size for folder ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage’ is 69517434 with 0 milliseconds
Compressed folder ‘C:\Users\Homelab\AppData\Local\Temp\cc09215e-4506-4877-86f7-7f7efe4c5b29\IntuneWinPackage’ successfully with 412 milliseconds
Removing temporary files
Removed temporary files with 8 milliseconds
File ‘C:\intune\Skype.intunewin’ has been generated successfully

[=================================================]   100%
Done!!!

 

Step 5 – Azure Portal > Microsoft Intune > Client Apps > Apps > Add > Windows app (Win32)

Navigate to Skype.intunewin:

Fill in App information:

Fill in Program Config:
Install: _Intune.cmd
Uninstall: “C:\Program Files (x86)\Microsoft\Skype for Desktop\unins000.exe” /SILENT

Fill in basic Requirements:

Fill in Detection Rule Config:
Path: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Skype_is1
Value: DisplayVersion
Method: Version comparison
Operator: Equals
Value: 8.55.0.141
Associated with a 32 bit app: Yes

 

Step 6 – Click Add button.

 

Step 7 – Assign a group to the application and Save:

 

Step 8 – Force a sync or reboot client computer.

 

Notes


Intune Standalone – Win32 app management

Add a Windows line-of-business app to Microsoft Intune

Microsoft Intune Documentation

 

Monitor Setup Process

:WAIT
cls
timeout /t > 1 nul
start /b /wait /LOW c:\windows\system32\TASKLIST.exe /FI “IMAGENAME eq setup.exe” | find /i “setup.exe” && (goto :WAIT)


Custom Publisher

reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Skype_is1” /v Publisher /d “Intune” /t REG_SZ /f /REG:32

 


tags: Skype Intune automation, Intune packaging, Intune scripting, MrNetTek

Apple iTunes – 12.10.3.1

email me

Description

iTunes is a media player, media library, Internet radio broadcaster, and mobile device management application developed by Apple Inc. It was announced on January 9, 2001. It is used to play, download, and organize digital multimedia files, including music and video, on personal computers running the macOS and Windows operating systems. Content could be purchased through the iTunes Store, or imported from CDs, with iTunes as the software letting users manage their online and physical purchases. more…


Download

New iTunes app is available from here:

https://www.apple.com/itunes/download/win64


Contents of iTunes64Setup.exe
 (use 7zip)


Size

264 MB


Silent Install

AppleApplicationSupport.msi /qn /norestart
AppleApplicationSupport64.msi /qn /norestart
AppleMobileDeviceSupport64.msi /qn /norestart
Bonjour64.msi /qn /norestart
AppleSoftwareUpdate.msi /qn /norestart
iTunes64.msi /qn /norestart

or

chocolatey: choco install itunes -y


Installation Path (333 Folders, 4,497 Files, 393 MB on disk)

C:\Program Files\iTunes


MSI Property Table



Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9C96D8AC-EE43-4B47-877C-D11595511C8E}

 

Notes

iTunes for Mac

see Intune Deployment

iTunes Community Forum

iTunes Support

32 Bit Installer

 

Batch Install for SCCM

* save as script.cmd

cd "%~dp0"
md C:\setup
start /wait msiexec /i "AppleApplicationSupport.msi" /qn /norestart ALLUSERS=true /l "C:\Setup\AppleApplication.log"
start /wait msiexec /i "AppleApplicationSupport64.msi" /qn /norestart ALLUSERS=true /l "C:\Setup\AppleApplicationx64.log"
start /wait msiexec /i "AppleMobileDeviceSupport64.msi" /qn /norestart /l "C:\Setup\AppleMobileDevice.log"
start /wait msiexec /i "AppleSoftwareUpdate.msi" /qn /norestart /l "C:\Setup\AppleSoftwareUpdate.log"
start /wait msiexec /i "Bonjour64.msi" /qn /norestart /l "C:\Setup\Bonjour64.log"
start /wait msiexec /i "iTunes64.msi" /qn /norestart /l "C:\Setup\iTunes64.log"

* I don’t allow logs to be created in the current folder; in the ccmcache folder, as this messes with the peer-to-peer hosting and package sync hashes.


Remove AppxPackage

* how you remove the Windows Store App version

C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell -ExecutionPolicy Bypass -Command "Get-AppxPackage *AppleInc.iTunes* | Remove-AppxPackage"


Current Version Uninstall GUIDs

* from the current version MSIs

AppleApplicationSupport.msi: msiexec /x “{C3A282C9-4C8B-4A63-B449-3A064FB378D7}” /qn
AppleApplicationSupport64.msi: msiexec /x “{CC046FB9-E84E-4092-B924-DBE33DA2BE75}” /qn
AppleMobileDeviceSupport64.msi: msiexec /x “{45DDDFED-AABC-450C-B49C-5B4A5E547F5B}” /qn
AppleSoftwareUpdate.msi: msiexec /x “{A3985C05-7386-411F-A4BF-32A73F37EB44}” /qn
Bonjour64.msi: msiexec /x “{56DDDFB8-7F79-4480-89D5-25E1F52AB28F}” /qn
iTunes64.msi: msiexec /x “{9C96D8AC-EE43-4B47-877C-D11595511C8E}” /qn

 

Other MSI Property Values from iTunes64.msi

AdminProperties

DESKTOP_SHORTCUTS;MEDIA_DEFAULTS;REENABLEAUTORUN


SecureCustomProperties

AMDS_IS_INSTALLED;AMDS_SERVICES_INSTALLED;APPLEAPPLICATIONSUPPORT_IS_INSTALLED;APPLEAPPLICATIONSUPPORT64_IS_INSTALLED;ASUW_IS_INSTALLED;AUTORUN;BONJOUR_IS_INSTALLED;BUSEROSVERSION;DESKTOP_SHORTCUTS;DONT_AUTO_SYNC_IPODS;EXISTINGINSTALLDIR;EXISTINGIPODINSTALLDIR;GEARASPIWDM_SERVICE_DELETED;IGNORE_STORE_APP;INSTALLDIR;IPODSUPPORT_IS_INSTALLED;ITUNES_IS_RUNNING;ITUNES_STORE_APP_INSTALLED;MEDIA_DEFAULTS;OLDIPODSERVICE;PCAST_URL_HANDLER;REENABLEAUTORUN;REGSRCH_DESKTOP_SHORTCUTS;REGSRCH_ITUNES_LANGID;REGSRCH_MEDIA_DEFAULTS;SCHEDULE_ASUW;UCRTINSTALLED;UNSUPPORTEDCPU;UNSUPPORTEDIPODSOFTWARE;UPGRADEFOUND_LEGACY;WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED

 

tags: Apple iTunes Installer, iTunes Uninstaller, MrNetTek

Skype for Desktop – 8.55.0.141

email me

Description

Skype is software that enables the world’s conversations. Millions of individuals and businesses use Skype to make free video and voice one-to-one and group calls, send instant messages and share files with other people on Skype.


Download

New Skype for Desktop (Windows) is available here:

https://go.skype.com/windows.desktop.download  MSI  mirror


Size

66.5 MB


Silent Install

setup.exe /VERYSILENT /SP- /NOCANCEL /NORESTART /SUPPRESSMSGBOXES /NOLAUNCH -ms

or

chocolatey: choco install skype -y


Install Location (22 Folders, 156 Files, 244 MB on disk)

C:\Program Files (x86)\Microsoft\Skype for Desktop

view contents: installed files  more info


Silent Uninstall

“C:\Program Files (x86)\Microsoft\Skype for Desktop\unins000.exe” /SILENT

or

chocolatey: choco uninstall skype -y


Registry

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Skype_is1

 

Notes

Download Skype for Mac

see Intune Deployment

Skype Community Forum

Disable Skype auto updates (for Windows and Macs)

Release Notes for 8.55

What’s New in Skype


Skype uses asar compression

C:\Program Files (x86)\Microsoft\Skype for Desktop\resources\app.asar

 

tags: Skype automation, Skype scripting, MrNetTek

VSCode – 1.41.0

email me

Description

Something pretty cool to try out, if you haven’t already done so…is Visual Studio Code, or VSCode. VSCode is an IDE developed by Microsoft for Windows, Linux and macOS. It includes support for debugging, embedded Git control and GitHub, syntax highlighting, intelligent code completion, snippets, and code refactoring. It’s a one-stop shop for most of your coding needs. more…


Download Visual Studio Code

https://aka.ms/win32-x64-user-stable  mirror


Version

1.41.0.0


Install Location (603 Folders, 1,353 Files, 254 MB on disk)

%localappdata%\Programs\Microsoft VS Code

view: installed files  more info


Size

56.7 MB


Screenshots

 

Intellisense

 

Notes

VSCode for Mac

Updates in this version

Issues Fixed

VSCode on GitHub

Intro to VSCode for C# Developers (YouTube)

http://mirror.nienbo.com/vscode/

 

Ignite 2019

Visual Studio Code tips and tricks

 

User Guide

 

Top Extensions

https://marketplace.visualstudio.com/items?itemName=ms-python.python

https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools

https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint

https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp

https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome

https://marketplace.visualstudio.com/items?itemName=redhat.java

https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons

more…

 

tags: VSCode information, VSCode files, MrNetTek

Intune – Deploy Acrobat Reader Package

email me

Deploy Adobe Acrobat Reader using Intune.

 

Steps

Step 1 – Create C:\intune\AcrobatReader folder.

 

Step 2 – Download Enterprise Acrobat Reader, and create custom transform. Copy contents of enterprise EXE to the C:\intune\AcrobatReader folder.

 

Step 3 – Create _Intune.cmd in AcrobatReader folder using the following code:

cd "%~dp0"

setup.exe

::add any other commands here

 

Step 4 – Create AcroRead.intunewin file using the IntuneWinAppUtil.exe tool:

IntuneWinAppUtil.exe -c C:\intune\AcrobatReader -s AcroRead.msi -o C:\intune

Output

Validating parameters
Validated parameters with 7 milliseconds
Compressing the souce folder ‘C:\intune\AcrobatReader’ to ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\AcroRead.intunewin’
Calculated size for folder ‘C:\intune\AcrobatReader’ is 419524365 with 0 milliseconds
Compressed folder ‘C:\intune\AcrobatReader’ successfully with 15473 milliseconds
Checking file type
Checked file type with 32 milliseconds
Encrypting file ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\AcroRead.intunewin’
‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\AcroRead.intunewin’ has been encrypted successfully with 643 milliseconds
Computing SHA256 hash for C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\8c7a8141-708a-4bc9-b9a5-412b5aa854ce
Computed SHA256 hash for ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\8c7a8141-708a-4bc9-b9a5-412b5aa854ce’ with 2096 milliseconds
Computing SHA256 hash for C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\AcroRead.intunewin
Computed SHA256 hash for C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\AcroRead.intunewin with 2033 milliseconds
Copying encrypted file from ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\8c7a8141-708a-4bc9-b9a5-412b5aa854ce’ to ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\AcroRead.intunewin’
File ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Contents\AcroRead.intunewin’ got updated successfully with 241 milliseconds
Generating detection XML file ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage\Metadata\Detection.xml’
Generated detection XML file with 32 milliseconds
Compressing folder ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage’ to ‘C:\intune\AcroRead.intunewin’
Calculated size for folder ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage’ is 225053647 with 0 milliseconds
Compressed folder ‘C:\Users\Homelab\AppData\Local\Temp\e5da3a1e-aba5-4972-a317-3047181382d7\IntuneWinPackage’ successfully with 1263 milliseconds
Removing temporary files
Removed temporary files with 22 milliseconds
File ‘C:\intune\AcroRead.intunewin’ has been generated successfully

[=================================================]   100%
Done!!!

 

Step 5 – Azure Portal > Microsoft Intune > Client Apps > Apps > Add > Windows app (Win32)

Navigate to AcroRead.intunewin:

Fill in App information:

Fill in Program Config:
Install: _Intune.cmd
Uninstall: msiexec /x “{AC76BA86-7AD7-1033-7B44-AC0F074E4100}” /q

Fill in basic Requirements:

Fill in Detection Rule Config:
Path: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-AC0F074E4100}
Value: DisplayVersion
Method: Version comparison
Operator: Equals
Value: 19.021.20058
Associate with a 32bit app: Yes

 

Step 6 – Click Add button.

 

Step 7 – Assign a group to the application and Save:

 

Step 8 – Force a sync or reboot client.

 

Notes

Intune Standalone – Win32 app management

Add a Windows line-of-business app to Microsoft Intune

Microsoft Intune Documentation

 

Custom Publisher

reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-AC0F074E4100}” /v Publisher /d “Intune” /t REG_SZ /f /REG:32

 


tags: Acrobat Reader Intune automation, Intune packaging, Intune scripting, MrNetTek

Google Chrome Browser – 79.0.3945.79

email me

Description

Google Chrome is a cross-platform web browser developed by Google. It was first released in 2008 for Microsoft Windows, and was later ported to Linux, macOS, iOS, and Android. The browser is also the main component of Chrome OS, where it serves as the platform for web apps. more…


Download

New Chrome browser is available here:

https://enterprise.google.com/intl/en_version/chrome/chrome-browser/  mirror

 

Size

58.1 MB


Silent Install

setup.msi /quiet /norestart

or

chocolatey: choco install googlechrome -y


Install Location (10 Folders, 99 Files, 448 MB on disk)

C:\Program Files (x86)\Google\Chrome\Application\79.0.3945.79

view contents: installed files  more info


Silent Uninstall

msiexec /x{E6D120AA-150F-3059-8C1C-DAFAA59BD326} /qn /norestart

or

“C:\Program Files (x86)\Google\Chrome\Application\79.0.3945.79\Installer\setup.exe” –uninstall –multi-install –chrome –system-level –force-uninstall

or

chocolatey: choco uninstall googlechrome -y


Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E6D120AA-150F-3059-8C1C-DAFAA59BD326}

 

App GUID

{E6D120AA-150F-3059-8C1C-DAFAA59BD326}


MSI Property Table

 

MSI CustomAction Table

 

MSI InstallExecuteSequence Table

 

Notes

Download Chrome for Mac

Chrome v79 Features

Chrome Platform Status

Chrome Scrubber

 

Mac – Disable Chrome Auto Updates

Method 1

On Mac, you can go to “Users > Your Mac Drive > Library > Google > GoogleSoftwareUpdate” and rename this folder.


Method 2

Open Finder and go to “Applications” folder.

Right click or control + click on the Google Chrome folder and go to “Show Packaged Content”.

Click “Contents” folder and open “Info.plist” file. Remember you need to have editors like Xcode to open plist file. Also you should have write permission for both “Contents” folder and “Info.plist” file to edit.

Look for “KSUpdateURL” key. In our case this is pointing to “https://tools.google.com/service/update2”.

Simply rename the file to something else and save your changes.


Method 3

#!/bin/sh

Version=$(/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version | awk '{print $3}')

sudo rm -rf /Applications/Google\ Chrome.app/Contents/Frameworks/Google\ Chrome\ Framework.framework/Versions/"$Version"/Frameworks/KeystoneRegistration.framework

 

tags: Chrome development, Chrome scripting, Chrome automation, MrNetTek

Skype for Desktop – 8.55.0.135

email me

Description

Skype is software that enables the world’s conversations. Millions of individuals and businesses use Skype to make free video and voice one-to-one and group calls, send instant messages and share files with other people on Skype.


Download

New Skype for Desktop (Windows) is available here:

https://go.skype.com/windows.desktop.download  mirror


Size

65.5 MB


Silent Install

setup.exe /VERYSILENT /SP- /NOCANCEL /NORESTART /SUPPRESSMSGBOXES /NOLAUNCH -ms


Install Location (22 Folders, 155 Files, 244 MB on disk)

C:\Program Files (x86)\Microsoft\Skype for Desktop

view contents: installed files  more info


Silent Uninstall

“C:\Program Files (x86)\Microsoft\Skype for Desktop\unins000.exe” /SILENT


Registry

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Skype_is1

 

Notes

Download Skype for Mac

Skype Community Forum

Disable Skype auto updates (for Windows and Macs)

Release Notes for 8.55

What’s New in Skype


Skype uses asar compression

C:\Program Files (x86)\Microsoft\Skype for Desktop\resources\app.asar

 

tags: Skype automation, Skype scripting, MrNetTek

Adobe Acrobat Reader – 19.021.20058 (Continuous)

email me

Description

Adobe Acrobat Reader DC software is the free, trusted global standard for viewing, printing, signing, sharing, and annotating PDFs. It’s the only PDF viewer that can open and interact with all types of PDF content – including forms and multimedia. And now, it’s connected to Adobe Document Cloud services – so you can work with PDFs on any device, from anywhere. more…


Download

Enterprise download requires free Adobe registration: AcroRdrDC1902120058_en_US.exe (Continuous)


Size

167 MB


Silent Install

Extract contents of AcroRdrDC1902120058_en_US.exe using 7zip

Use Acrobat Customization Wizard DC to create custom setup

Package and run: setup.exe

* packaging can be as simple as adding source files to a self-extracting EXE (using WinRar), which calls to setup.exe

 

Install Location (1,478 Folders, 2,878 Files, 639 MB on disk)

C:\Program Files (x86)\Adobe\Acrobat Reader DC


Silent Uninstall

MsiExec.exe /x{AC76BA86-7AD7-1033-7B44-AC0F074E4100} /qn /norestart


Registry

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-AC0F074E4100}

 

Notes

Download Acrobat Reader for Mac

see Intune Deployment

Acrobat Reader Community Forum

Acrobat Reader Support

DC Release Notes

chocolatey: choco install adobereader-update

 

 

AcroRdrDCUpd1902120058.msp

 

Adobe MSI and Cmd-line examples

 

tags: Acrobat Reader automation, Acrobat Reader scripting, MrNetTek

Intune – Deploy Citrix Package

email me

Deploy the Citrix Workspace App using Intune.

 

Steps

Step 1 – Create C:\intune\Citrix folder.

 

Step 2 – Download Citrix setup to C:\intune\Citrix folder.

 

Step 3 – Create Intune.cmd in Citrix folder containing the following code:

cd "%~dp0"

CitrixWorkspaceApp.exe /forceinstall /silent STORE0="Store;https://mycitrix.umc.edu/Citrix/ummcWeb/discovery;Store"

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Citrix\Dazzle" /v AllowAddStore /t REG_SZ /d A /f /reg:64

:: add any other commands here

 

Step 4 – Create CitrixWorkspaceApp.intunewin file using the IntuneWinAppUtil.exe tool:

IntuneWinAppUtil.exe -c C:\intune\Citrix -s CitrixWorkspaceApp.exe -o C:\intune

Output

Validating parameters
Validated parameters with 71 milliseconds
Compressing the souce folder ‘C:\intune\Citrix’ to ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\CitrixWorkspaceApp.intunewin’
Calculated size for folder ‘C:\intune\Citrix’ is 135358287 with 2 milliseconds
Compressed folder ‘C:\intune\Citrix’ successfully with 10782 milliseconds
Checking file type
Checked file type with 7 milliseconds
Encrypting file ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\CitrixWorkspaceApp.intunewin’
‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\CitrixWorkspaceApp.intunewin’ has been encrypted successfully with 1049 milliseconds
Computing SHA256 hash for C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\1f6bd862-d312-413c-8260-a3a4e55fb61b
Computed SHA256 hash for ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\1f6bd862-d312-413c-8260-a3a4e55fb61b’ with 2553 milliseconds
Computing SHA256 hash for C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\CitrixWorkspaceApp.intunewin
Computed SHA256 hash for C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\CitrixWorkspaceApp.intunewin with 2668 milliseconds
Copying encrypted file from ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\1f6bd862-d312-413c-8260-a3a4e55fb61b’ to ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\CitrixWorkspaceApp.intunewin’
File ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Contents\CitrixWorkspaceApp.intunewin’ got updated successfully with 622 milliseconds
Generating detection XML file ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage\Metadata\Detection.xml’
Generated detection XML file with 256 milliseconds
Compressing folder ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage’ to ‘C:\intune\CitrixWorkspaceApp.intunewin’
Calculated size for folder ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage’ is 135087474 with 1 milliseconds
Compressed folder ‘C:\Users\Homelab\AppData\Local\Temp\b069c44b-fd37-4729-9728-f504ebaeb095\IntuneWinPackage’ successfully with 1498 milliseconds
Removing temporary files
Removed temporary files with 28 milliseconds
File ‘C:\intune\CitrixWorkspaceApp.intunewin’ has been generated successfully

[=================================================]   100%
Done!!!

 

Step 5 – Azure Portal > Microsoft Intune > Client Apps > Apps > Add > Windows app (Win32)

Navigate to CitrixWorkspaceApp.intunewin:

Fill in App information:

Fill in Program Config:
Install: Intune.cmd
Uninstall: “C:\ProgramData\Citrix\Citrix Workspace 1911\TrolleyExpress.exe” /uninstall /cleanup

Fill in basic Requirements:

Fill in Detection Rule Config:
Path: C:\ProgramData\Citrix\Citrix Workspace 1911
File: TrolleyExpress.exe
Method: File or Folder exists

 

Step 6 – Click Add button.

 

Step 7 – Assign a group to the application and Save:

 

Step 8 – Force a sync or reboot client computer.

 

Notes


Intune Standalone – Win32 app management

Add a Windows line-of-business app to Microsoft Intune

Microsoft Intune Documentation

 

Custom Publisher

reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CitrixOnlinePluginPackWeb” /v Publisher /d “Intune” /t REG_SZ /f /REG:32

 


Direct Download

$appURL = "https://downloadplugins.citrix.com/Windows/CitrixWorkspaceApp.exe"
$appTemp = "$env:SystemRoot\Temp\CitrixWorkspaceApp.exe"
$appOptions = '/AutoUpdateCheck=Auto /AutoUpdateStream=Current /DeferUpdateCount=3 /AURolloutPriority=Slow /NoReboot /Silent EnableCEIP=False'
Start-BitsTransfer -Source $appURL -Destination $appTemp -Priority High -TransferPolicy Always -ErrorAction Continue
Start-Process -FilePath $appTemp -ArgumentList $appOptions

 

tags: Citrix Intune automation, Intune packaging, Intune scripting, MrNetTek

Citrix Workspace App – 19.11.0.50 (1911)

email me

Description

Citrix Workspace app for Windows is easy-to-install software that provides access to your applications and desktops using Citrix Virtual Apps and Desktops from a remote client device. Citrix Workspace app provides access from your desktop, Start menu, Citrix Workspace user interface, or web browsers.

You can use Citrix Workspace app on domain and non-domain joined PCs, tablets, and thin clients. Using Citrix StoreFront in conjunction with Citrix Workspace app allows your organization to provide you with self-service access to your applications and desktops – all with a common user interface, regardless of the endpoint device hardware, operating system (32-bit and 64-bit editions), or form factor. more…

 

Download

A new Citrix Workspace client is available here:

https://www.citrix.com/downloads/workspace-app/windows/workspace-app-for-windows-latest.html

 

Size

129 MB


Silent Install

setup.exe /forceinstall /silent STORE0=”Store;https://mycitrix.umc.edu/Citrix/ummcWeb/discovery;Store”

or

chocolatey: choco install citrix-workspace -y


Install Location (115 Folders, 982 Files, 353 MB on disk)

C:\Program Files (x86)\Citrix

view contents: installed files  more info


Silent Uninstall

setup.exe /silent /uninstall

or

“C:\ProgramData\Citrix\Citrix Workspace 1911\TrolleyExpress.exe” /uninstall /cleanup

or

chocolatey: choco uninstall citrix-workspace -y


Registry

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\CitrixOnlinePluginPackWeb

 

Notes

Download Citrix Workspace for Mac

see Intune Deployment

Product Documentation  What’s new

Citrix moves from Receiver to Workspace

https://www.citrix.com/products/receiver.html

 

Setup EXE Extraction (using 7zip)

C:\Users\%username%\AppData\Local\Temp\Ctx-BF5BC0CE-2D68-4E46-A51B-E21C5B056CEE\Extract\

view contents: extracted files

 


Supported Parameters

/help – Displays this usage information

/uninstall – Removes an existing installation

/silent – Suppresses all graphical user interface

/noreboot – Suppresses all reboots and reboot prompts

/preview – Displays preview of changes without altering the machine

/extract <folder> – Extract self-extracting package to an existing folder

/includeSSON – Installs the single sign-on component for domain pass-through logon

/EnableCEIP – Enables (true) or disables (false) the Citrix Customer Improvement Program (CEIP)

/AutoUpdateCheck – Enables automatic update (auto), enables manual update (manual), bans
AutoUpdate (disabled)

/AutoUpdateStream – Specify AutoUpdate stream to be in long term (LTSR) or short term service releases (Current)

/DeferUpdateCount – Specify number of times AutoUpdate can be deferred

MSI property values are supported and must be separated by spaces, e.g.:
PROPERTY=”Value” PROPERTY2=”Value2″

Example silent command-line using all defaults:
CitrixWorkspaceApp.exe /silent

Example command-line specifying multiple options:
CitrixWorkspaceApp.exe /silent ADDLOCAL=”ReceiverInside,ICA_Client,USB,DesktopViewer,Flash,Vd3d,WebHelper,BrowserEngine” INSTALLDIR=”C:\myfolder” ENABLE_DYNAMIC_CLIENT_NAME=”No” CLIENT_NAME=”my_overrided_name” DEFAULT_NDSCONTEXT=”Context1,Context2″

Example command-line to enable domain pass-through:
CitrixWorkspaceApp.exe /silent /includeSSON ADDLOCAL=”ReceiverInside,ICA_Client,SSON,USB,DesktopViewer,Flash,Vd3d,WebHelper,BrowserEngine” INSTALLDIR=”C:\myfolder” ENABLE_DYNAMIC_CLIENT_NAME=”No” CLIENT_NAME=”my_overrided_name” DEFAULT_NDSCONTEXT=”Context1,Context2″

Example command-line to Install Single Sign-On server but to disable capture of logon credentials:
CitrixWorkspaceApp.exe /includesson LOGON_CREDENTIAL_CAPTURE_ENABLE=No [defaults to Yes]

Example command-line to Install Citrix Workspace in NonSelfServiceMode
CitrixWorkspaceApp.exe SELFSERVICEMODE=false [defaults to true]

Example command-line to support upgrade from unsupported version to latest version
CitrixWorkspaceApp.exe /forceinstall

Example command-line to disable CEIP:
CitrixWorkspaceApp.exe /EnableCEIP=false [defaults to true]

Example command-line to enable manual update:
CitrixWorkspaceApp.exe /AutoUpdateCheck=manual [defaults to auto]

Example command-line to disable auto update:
CitrixWorkspaceApp.exe /AutoUpdateCheck=disabled

Example command-line to choose long term service release stream:
CitrixWorkspaceApp.exe /AutoUpdateStream=LTSR

Example command-line to choose 2 times AutoUpdate can be deferred:
CitrixWorkspaceApp.exe /DeferUpdateCount=2

 

tags: Citrix automation, Citrix options, MrNetTek

SCCM Agent – Repair – Removal/Uninstall

email me

Repair – Fix


Locally

“C:\Windows\ccm\ccmrepair.exe”


Remotely

psexec \\RemoteComputerName -u administrator -p PASSWORD cmd.exe /c c:\windows\ccm\ccmrepair.exe

 

PowerShell

Function RepairClient([String] $strComputer)
{
    $SMSCli = [wmiclass] "\\$strComputer\root\ccm:sms_client"
    $SMSCli.RepairClient()
}

 
 

Removal – Uninstall

 
Locally

“C:\Windows\ccmsetup\CCMSetup.exe” /uninstall

or

Use the CCMClean Tool  |  2  |  3


Remotely

psexec \\RemoteComputerName -u administrator -p PASSWORD cmd.exe /c c:\windows\ccmsetup\ccmsetup.exe /uninstall

 

Things to Check for During Removal

* remove these items

  • stop CCMExec service (primary service)
  • stop CCMSetup service
  • kill ccmexec.exe process (primary process)
  • kill ccmsetup.exe process
  • delete C:\Windows\ccm (primary folder)
  • delete C:\Windows\ccmsetup
  • delete C:\Windows\ccmcache
  • delete C:\Windows\smscfg.ini
  • delete C:\Windows\sms*.mif
  • delete HKLM\software\Microsoft\ccm (primary key)
  • delete HKLM\software\Microsoft\CCMSETUP
  • delete HKLM\software\Microsoft\SMS (secondary key)
  • delete HKLM\Software\Microsoft\NAL
  • delete HKLM\System\CurrentControlSet\Services\clisvcl
  • delete HKLM\System\CurrentControlSet\Services\ccmexec
  • delete HKLM\software\Microsoft\Systemcertificates\SMS\Certificates
  • delete root\cimv2\sms WMI
  • delete root\ccm WMI
  • Task Scheduler, under Microsoft: Delete the Configuration Manager folder
  • Machine Certificate store: Delete certs under SMS\certificates
  • delete device from SCCM (don’t forget this)

Extra

Delete any certificates

run Certlm.msc > Personal > Certificates > delete machinename certs (ones for SCCM[PKI])
run Certlm.msc > SMS > Certificates > delete SMS certs

 

Notes

 
CCMSetup Properties at Microsoft

 

Evaluate Machine Policy

Locally

“C:\windows\ccm\ccmeval.exe”


Remotely

psexec \\RemoteComputerName -s “C:\windows\ccm\ccmeval.exe”


VBScript

On Error Resume Next
Dim oCPAppletMgr
Set oCPAppletMgr = CreateObject("CPApplet.CPAppletMgr")
Dim oClientActions
Set oClientActions = oCPAppletMgr.GetClientActions()
Dim oClientAction

For Each oClientAction In oClientActions
    If oClientAction.Name = "Request and Evaluate Machine Policy" Then oClientAction.PerformAction
    End If
Next

 

 

tags: repair sccm, repair sccm agent, fix cm agent, MrNetTek, ccmclean, ccmuninstall, uninstall sccm agent, remove sccm agent, uninstall sccm client

PowerToys – 0.14.1

email me

Description

Microsoft PowerToys is a set of freeware system utilities designed for power users developed by Microsoft for use on the Windows operating system. These programs add or change features to maximize productivity or add more customization. For example, the latest PowerToys can display hotkey shortcuts (great for power users), and help you arrange Window layouts (great for developers). more…


Download

http://eddiejackson.net/apps/powertoys/

or

Install

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

choco install powertoys


Screenshots

Return Hotkeys: Hold down Win Key

 

Access Settings: Down by the clock > select PowerToys in the icon notification area

 

Control Window layouts: Press Win key + tilde

 

Bulk Rename

 

Notes

In order to use PowerToys, you’ll need to be running Windows 1803 (build 17134) or higher.

https://github.com/microsoft/PowerToys/releases

https://github.com/microsoft/PowerToys/releases/tag/v0.14.1

 

0.14.1 Update

This is patch release to fix a regression introduced in 0.14.0.

It also includes one fix for FancyZones to not interfere with full screen applications.

 

0.14.0 Update

FancyZones

Changes:

  • Removed legacy editor (along with the settings option to choose between the legacy editor  and the new editor).
  • Added a settings to disable FancyZones for user defined list of applications.
  • The editor now opens highlighting the current active layout.
  • Show the correct keyboard key for the editor shortcut (with some limitations due to the WebView control).

Bug fixes:

  • Fixed the FancyZones bug that was stealing the number keys (mostly happening when dragging Chrome tabs).
  • Fixed a DPI scaling bug in the FancyZones editor that was causing the zones to be placed in the wrong position on the screen.
  • Fixed bug preventing several apps from working with FancyZones (there are still some cases, like remote apps, that may not work).

PowerRename

Changes:

  • The dialog can be resized (still need to finished the work to handle DPI changes when moving the dialog between screen with different scaling %).
  • Added settings to restore search and replace flags value from previous run.
  • Added settings to enable autocomplete and auto-suggest.

Bug fixes:

  • Improved RegEx replace result.
  • Fix bug preventing sub-folder items to be renamed if parent folder is also renamed.

 

Other bug fixes

  • fixed a bug in the runner that was causing the tray icon to not appear.
  • minor UI tweaks to the Settings appearance (icons position and margins, module’s description text and documentation links position and margins).
  • fixed a crash in the Shortcut Guide.

 

tags: PowerToys MSI, PowerToys information, MrNetTek