1. Disable Adobe update
@echo off
sc config "AdobeARMservice" start= disabled
sc stop "AdobeARMservice"
reg Add "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Adobe\Adobe ARM\Legacy\Reader\{AC76BA86-7AD7-1033-7B44-AC0F074E4100}" /v "Mode" /t REG_DWORD /d 0 /f
reg Add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown" /v "bUpdater" /t REG_DWORD /d 0 /f
*******************************************************************************
2. Uninstall Java and Install
@ECHO OFF
TITLE Updating Java
::Check Current Version here
IF EXIST "C:\Program Files\Java\jre1.8.0_171" goto END
::Uninstall Older Versions here if Current Version is not installed
wmic product where "name like 'Java 7%%'" call uninstall /nointeractive
wmic product where "name like 'Java 8%%'" call uninstall /nointeractive
wmic product where "name like 'Java Auto Update%%'" call uninstall /nointeractive
wmic product where "name like 'Java(TM) 7%%'" call uninstall /nointeractive
wmic product where "name like 'Java(tm) 6%%'" call uninstall /nointeractive
wmic product where "name like 'Java(tm) 8%%'" call uninstall /nointeractive
wmic product where "name like 'J2SE Runtime Environment%%'" call uninstall /nointeractive
::Install Current Version here
msiexec.exe /i "%~dp0jre1.8.0_17164.msi"
goto END
:END
exit
*******************************************************************************
Change Registry Value for Remote Control Full Access
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Client\Client Components\Remote Control" /v "Permission Required" /t REG_DWORD /d 0 /f
Thursday, September 20, 2018
How to Replace Software center icon from desktop
1. Open Notepad and copy below commands
*************************************************************
@echo off
del "%c:\Users\Public\Desktop\Software Centre.lnk"
XCOPY /H /s /Y "%~dp0Software Center.lnk" "c:\Users\Public\Desktop\"
****************************************************************
2. Then Save as "preferred name".bat
3. Create package with program and deploy from sccm
Subscribe to:
Posts (Atom)