Batch – Replace Specific String in Text File

:: MrNetTek :: eddiejackson.net/blog :: 3/25/2020 :: free for public use :: free to claim as your own @echo off setlocal enabledelayedexpansion :: variables set Input=Text.tmp set Output=Text.dat set strOld=9F1AE7B34381DFD1111 set strNew=9F1AE7B34381DFD9999 :: prep temp file move “%Output%” “%Input%” if exist “%Output%” del /q “%Output%” :: search for /f “tokens=1* delims=[]” %%a in (‘type “%Input%” Read More …

Apple iTunes – 12.10.4.2

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 Read More …

Windows 10 – Run App without UAC

Suppress UAC on selected applications.   Steps   Registry 1 – Save as Suppress.reg: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker] @=”Run without UAC” [HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker\command] @=”cmd /min /C \”set __COMPAT_LAYER=RUNASINVOKER && start \”\” \”%1\”\””   2 – Apply Suppress.reg. 3 – Right click on your application.   Or   Batch file cmd /min /C “set __COMPAT_LAYER=RUNASINVOKER Read More …

Azure – Intune – Deploy Apple iTunes Package

Deploy Apple iTunes using Intune.   Steps Step 1 – Create C:\intune\iTunes folder. Step 2 – Extract and copy iTunes setup files to the C:\intune\iTunes folder. Step 3 – Create _Intune.cmd in iTunes folder containing the following code: cd “%~dp0” msiexec.exe /i “AppleApplicationSupport.msi” /qn /norestart msiexec.exe /i “AppleApplicationSupport64.msi” /qn /norestart msiexec.exe /i “AppleMobileDeviceSupport64.msi” /qn /norestart msiexec.exe /i “Bonjour64.msi” /qn /norestart Read More …

Azure – Intune – Deploy Skype Package

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 Read More …

Intune – Deploy Acrobat Reader Package

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 Read More …

Intune – Deploy Citrix Package

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 Read More …

Google Chrome Uninstall

Methods for uninstalling Chrome EXE (good) WMI (meh) wmic product where “name like ‘Google Chrome’” call uninstall /nointeractive GUID MSIEXEC.EXE /X{FE64921C-E29D-39EC-9DD9-C567C6E5A0C6} /qn /norestart Note, GUIDs can be found here: “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\” “HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\”   Return any version number (better) c: cd\Program Files (x86)\Google\Chrome\Application :: return version number setlocal enabledelayedexpansion set version= set /a count=1 for /f “delims=” Read More …