Sunday, December 21, 2014

Historic Java Releases - why are they trying to force Java 8 onto us?

Historic Java Releases - why are they trying to force Java 8 onto us?

Download java SE 8

The Very Last Java 7 - 7U80

How to Install Java Silently

---------------------------- INSTALL.BAT -------------------------------------------
@echo off
echo --------------------------------------------------------
echo .
echo .
echo .      Installing Java Runtime Environment - Please Wait.
echo .         (This window will close once installed)
echo .
REM Installing JRE 32-bit
"%~dp0jre-7u67-windows-i586.exe" /s /v"AgreeToLicense=YES IEXPLORER=1 MOZILLA=1 REBOOT=SUPRESS JAVAUPDATE=0 SYSTRAY=0"
REM If 64-bit Windows JRE 64-bit is also required
REM Installing JRE 64-bit
if exist "%ProgramFiles(x86)%\" "%~dp0jre-7u67-windows-x64.exe" /s /v"AgreeToLicense=YES IEXPLORER=1 MOZILLA=1 REBOOT=SUPRESS JAVAUPDATE=0 
REM Disable automatic updates
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v SunJavaUpdateSched /f
reg add "HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /t REG_DWORD /d 0 /f
REM Return exit code to SCCM
exit /B %EXIT_CODE%
---------------------------- INSTALL.BAT -------------------------------------------

Download and Install Adobe Flash - Tips, Tricks and Helpful Advice for System Builders

Download Full Versions of Adobe Flash and Download Archived Versions

I am just as irritated as you are that I have to keep on finding new versions of Adobe Flash for my auto-install scripts. Damn Adobe keeps on publishing buggy versions of Flash that have to be replaced every month or so.
We just need complete stand-alone installation packages to support automated desktop setup scripts, and you need a full and complete adobe flash installer package. So Here they are: everything from version 14 to version 18... go get it!

August 30, 2019

July 20, 2019
Download debug versions

Download Archived Versions and Developer Versions

December 21, 2014 - Old Links to Download Flash:
Download Help Page

Flash Player for Internet Explorer AX

Flash Player for Firefox

Flash Player for Chrome & Opera

June 18, 2015 - New Links to download Adobe Air

Unattended - Silent Installer:  In an elevated command prompt, run the following command:
download-location\AdobeAIRInstaller.exe –silent 

June 18, 2015 - New Links To Download Adobe Flash Player 18
Get MSI Installation Packages For Version exe and msi's. Get Full and Complete installer packages for Adobe Flash Player.

Version 16 - has been superceeded by 17 and then 18

use the /passive /qn switches to install MSI's silently

Non Interactive Install Script for MS DOS Batch
cd ..\
cd flash
install_flash_player_18_active_x.msi /passive /qr
install_flash_player_18_plugin.msi /passive /qr
AdobeAIRInstaller.exe -silent

Sometimes Adobe Flash does not work on IE 11 - see this

Try this command:
regsvr32.exe c:\windows\system32\macromed\flash\flash.ocx

Sunday, September 28, 2014

Microsoft CRM 2011: Upgrading Organization from Rollup 11 to Rollup 16

My organization had over 700 fields in the Lead Object, had to pare it down to 662 so that the Rollup 16 database schema updater could create a view called FilteredLead.  First task is to delete enough fields in the Lead object and/or the Account object so that the FilteredLead view would have less than 1024 fields. And then next task is to copy the MSSQL database from production machine to another dev machine running CRM2011.

Installing Rollups is a neccessary and dreaded evil that is necessary to obtain bug fixes and new features in CRM 2011

Build a new CRM 2011 Server that has Windows 2008 R2 Enterprise x64 with SP1, IIS 7.0, Microsoft SQL Server 2008 R2 Enterprise, every Visual Studio Runtime from 2005 to 2013, Dot net framework 4.5, IE9.0, not IE 10 or 11, because they break the CRM Installer Splash Screen. Configure the SQL Report Server.  Install SSL Certs. Lastly, install CRM2011, {server, email router, SRS, reporting extensions} Install Powershell, then reboot!
Cleanup. remove uneeded fields so that FilteredLead has 999 fields.
Shutdown production CRM server and SQL services (R11 version: 5.0. 9690.2839)
Copy MDB and LDB files from MSSQL data directories
Attach them into new MSSQL server
Use Deployment Manager to import org (into R16)
Turn on MSSQL profiler to enable logging of SQL commands
Import Organization
Open Email Router
Bypass http security in Email Router
Add the Administrator user to the PrivUserGroup so that he can edit the email router config.

Bypass Security Trick #1: Reason: This is to ensure that the credentials are not passed in Clear text between the CRM Server and Email Router machines over the wire. Hence it is strongle recommended that you enable HTTPS on your CRM Server and upadte the URL in the deployment tab of email router accordingly.
In addition, you will have to disable the HTTP binding from the CRM Server's website.
There is however a workaround if you do not wish to use HTTPS.
In the CRM Server machine set the registry key as follows:
Path : HKLM\Software\Microsoft\MSCRM
Name : DisableSecureDecryptionKey
Type : DWORD
Value : 1
Enable Tracing in CRM 2011 using powershell.
Add-PSSnapin Microsoft.Crm.PowerShell$setting = Get-CrmSetting TraceSettings$setting.Enabled=$TrueSet-CrmSetting $settingGet-CrmSetting TraceSettings
 Make a directory called c:\crmdrop\logs

Bypass Powershell Security and Enable all of your scripts to Run Freely: (in powershell)
Set-ExecutionPolicy Bypass
Enter Y when prompted.

Rollup 18 Just Came Out:

Modal Dialog boxes are now disabled in Chrome 37.  Turn them back on, until May 2015. How to guide:

Optional: Defer Database Schema Updates PS Script:
------------------------------- cut here ----------------------------------------------
Add-PSSnapin Microsoft.Crm.PowerShell
$setting= New-Object "Microsoft.Xrm.Sdk.Deployment.ConfigurationEntity"
$setting.LogicalName = "Deployment"
$setting.Attributes = New-Object "Microsoft.Xrm.Sdk.Deployment.AttributeCollection"
$keypair = New-Object "System.Collections.Generic.KeyValuePair[String, Object]" ("AutomaticallyInstallDatabaseUpdates", $false)
Set-CrmAdvancedSetting -Entity $setting
------------------------------- cut here ----------------------------------------------

Optional: Enable Tracing in CRM2011 (into c:\crmdrop\logs)
------------------------------- cut here ----------------------------------------------
Add-PSSnapin Microsoft.Crm.PowerShell
$setting = Get-CrmSetting TraceSettings
Set-CrmSetting $setting
Get-CrmSetting TraceSettings
------------------------------- cut here ----------------------------------------------

Friday, May 16, 2014

Step by Step Procedure for Installing Exchange 2010

How to Install Exchange 2010 on Windows Server 2008 R2 SP1

Using Windows Server 2008 R2 X64 - with SP1 joined to a Domain

Roles: Application Server, DNS Server, File Services, Web Server (IIS)
Features: RSAT, Telnet Client, Windows TIFF Filter, .Netframework 3.5.1

In Server Manager, Add Roles for Application Server plus IIS, Plus Dot net 3.5

Install Dot net framework 4.5.1
install ALL Visual Studio VC-REDISTS from 2005 to 2013 x 64 and x86

Do not install SMTP Service!

Turn on TCP Sharing
To enable the Net.TCP Port Sharing Service using MMC

Install 2007 Office System Filter pack from

Using Exchange 2010 install media, choose to install everything but U.C.

Licensing Steps:

Install Service Packs: SP1, SP2 etc...

Install SSL Certificates in IIS

Install every single Visual Studio Redist package (VC Redist) silently and install Dot Net Framework 4.5.1

Install every single Visual Studio Redist package (VC Redist) silently and install Dot Net Framework 4.5.1 silently, install IE11 prerequisites, and then finally install IE11. Download all components from, and save to a folder.  But, first disable UAC!

Open a MSDOS command prompt AKA cmd.exe, then run these commands from a batch job.

color 4f
vcredist_2005SP1_x86.exe /Q
vcredist_2005SP1_x64.exe /Q
vcredist_2008SP1A_x86.exe /q
vcredist_2008SP1A_x64.exe /q
vcredist_2010SP1_x86.exe /passive /norestart
vcredist_2010SP1_x64.exe /passive /norestart
vcredist_2012U4_x86.exe /install /passive /norestart
vcredist_2012U4_x64.exe /install /passive /norestart
vcredist_2013_x86.exe /install /passive /norestart
vcredist_2013_x64.exe /install /passive /norestart
NDP451-KB2858728-x86-x64-AllOS-ENU.exe /norestart /passive 
Windows6.1-KB2533623-x64.msu /quiet /norestart
Windows6.1-KB2670838-x64.msu /quiet /norestart
Windows6.1-KB2729094-v2-x64.msu /quiet /norestart
Windows6.1-KB2731771-x64.msu /quiet /norestart
Windows6.1-KB2786081-x64.msu /quiet /norestart
Windows6.1-KB2834140-v2-x64.msu /quiet /norestart
Windows6.1-KB2882822-x64.msu /quiet /norestart
Windows6.1-KB2888049-x64.msu /quiet /norestart
IE11-Windows6.1-x64-en-us.exe /passive /norestart


MSDOS Batch Script to Fetch Day of Week

@echo off

REM Create VBS that will get day of week in same directory as batch
echo wscript.echo WeekdayName(Weekday(Date))>>DayOfWeek.vbs

REM Cycle through output to get day of week i.e monday,tuesday etc
for /f "delims=" %%a in ('cscript /nologo DayOfWeek.vbs') do @set dow=%%a

REM delete vbs
del DayOfWeek.vbs

REM Used for testing outputs days name
echo %dow%

REM Case of the days name is important must have a capital letter at start
REM Check days name and assign value depending
IF %dow%==Monday set downum=0
IF %dow%==Tuesday set downum=1
IF %dow%==Wednesday set downum=2
IF %dow%==Thursday set downum=3
IF %dow%==Friday set downum=4
IF %dow%==Saturday set downum=5
IF %dow%==Sunday set downum=6

REM print the days number 0-mon,1-tue ... 6-sun
echo %downum%

REM set a file name using day of week number
set myfile=%downum%.bak

echo %myfile%


Windows XP Time Sync How to Guide

Windows XP Time Sync Note:

Set the W32Time Parameters

Windows GPO Settings to disable Windows Animations

This kind of stuff is also controlled via the computer properties > advanced >
performance > visual effect option. If you set it to best performance, all
the stuff you want turned off is turned off.

Unfortunately this changes a whole bunch of registry values but if we just
narrow down on the stuff you want, there are 2 registry values involved:

HKCU\Control Panel\Desktop\UserPreferencesMask

This is a reg_binary value. Change this value from 9E 2C 07 80 12 00 00 00
to 9E 2C 07 80 10 00 00 00 .

I prefer this value 
90 32 07 80 10 00 00 00 
The VisualEffects key doesn't exist by default. There are a bunch of value
that can be defined under here but the only one that really matters is
VisualFxSettings. Set this to 2 to disable a lot of the animations and also
to tick "Turn off all unnecessary animations (when possible)" .

So if you're willing to do a reg hack on logon life is easy. In fact prior
to Vista/Server 2008 that was really your only option unless you had were
using the DesktopStandard GP extensions because Reg_binary values couldn't
be changed via group policy.

Now that Microsoft have acquired DesktopStandard most things are possible
provided you've got the MDOP GP extensions. If not then it's back to
scripting or turning things off for the default profile and using that plus
a profile management solution.

However there are still a couple of other things you can try tweaking.

If you go to user configuration > Administrative Templates > Windows
Components > Desktop Windows Manager, there's an option "Do not allow window

And there's also configuration > Administrative Templates > Windows
Components > Windows Explorer, "Turn off common control and window

There used to be a free DesktopStandard registry extensions download that
would do the trick but I'm not sure it'll work with Server 2008. If you want
to try it send me an email and I'll get it to you to make available for