Browsing articles in "Technical Tips"
Oct
17

How to customize your Website’s Error Pages (revised)

By david  //  Technical Tips  //  Comments Off on How to customize your Website’s Error Pages (revised)

Minor update to the document, to change the following lines in the .htaccess file:

Old: ErrorDocument 401 http://www.david-e-young.com/401page.htm
        ErrorDocument 403 http://www.david-e-young.com/403page.htm
        ErrorDocument 404 http://www.david-e-young.com/404page.htm
        ErrorDocument 500 http://www.david-e-young.com/500page.htm

New: ErrorDocument 401 /401page.htm
         ErrorDocument 403 /403page.htm
         ErrorDocument 404 /404page.htm
         ErrorDocument 500 /500page.htm

This change accomodates both https:// and http:// connections

This article explains the process for customizing the standard 404 and other error pages on your Website.

PDF Article Here

 

Oct
14

Windows 7 Rollups and preventing Updates

By david  //  Technical Tips  //  Comments Off on Windows 7 Rollups and preventing Updates

The following Windows Update Rollups have recently been made available in the Windows Update utility for Windows 7 SP1 and Windows Server 2008 R2 SP1.

If they are installed, there is a good chance that they will also install the Windows 10-related KBs that were previously hidden in the post Update – preventing Windows 10 upgrade.

After installing any of the Rollup KBs, I would recommend running the uninstallation scripts and following the instructions on that page.

 

June 2016 update rollup

 

July 2016 update rollup

 

August 2016 update rollup

 

September 2016 update rollup

 

Feb
14

Code Signing after SHA-1 phaseout

By david  //  Technical Tips  //  Comments Off on Code Signing after SHA-1 phaseout

Comodo and Ksoftware have been generously providing replacement certificates to current customers, as a result of the SHA-1 phaseout. The following link explains new code signing (Authenticode) steps, to support multiple Windows versions.

This impacts Software vendors/developers, and should not be confused with the SSL certificate replacement for browsers.

http://certhelp.ksoftware.net/support/solutions/articles/215805-the-truth-about-sha1-sha-256-and-code-signing-certificates-

An important prerequisite mentioned in the article – the Windows 8.1 SDK version of Signtool is needed, for dual signing capabilities.

Oct
22

Preventing update to Windows 10 from Windows 7/8.1

By david  //  Technical Tips  //  Comments Off on Preventing update to Windows 10 from Windows 7/8.1

Many Windows 7 and Windows 8.1 users will want to keep their current operating system.
To disable the Windows 10 update notifications, follow these steps.
For a permanent disabling, follow steps 1, 2, and 3.
To leave open the possibility of a future OS upgrade, follow steps 1 and 3, skipping step 2.

1)  Uninstall the following updates through Windows Update, if they have already been downloaded.

For Windows 8.1:
Run these 2 batch files (Administrator rights may be required).
A reboot will be prompted after each KB is uninstalled.

Remove KB3035583
 

Remove KB2976978
Information on KB3035583
Information on KB2976978

 

For Windows 7:
Run these 2 batch files (Administrator rights may be required).
A reboot will be prompted after each KB is uninstalled.

Remove KB3035583
 

Remove KB2952664
Information on KB3035583
Information on KB2952664

 

2)  Apply either group policy updates, or 2 registry updates recommended by Microsoft.
(Download the registry updates hereRegistry Update File)

Microsoft has details of the registry changes here: KB3080351

Keys:
Subkey: HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
DWORD value: DisableOSUpgrade = 1

Subkey: HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
DWORD value: ReservationsAllowed = 0

 

3)  Manually hide updates KB3035583, KB2976978, KB2952664 using the Control Panel.

Hiding Instructions from sevenforums.com

 

 

May
3

DLL Registration – Win32 vs .NET

By david  //  Technical Tips  //  Comments Off on DLL Registration – Win32 vs .NET

There are different methods for registering a Win32-based DLL, versus a .NET DLL. Win32 DLLs were typically created with legacy Visual Studio 6 C++, whereas .NET DLLs are created using Visual Studio 2005 or later.
To register a Win32 DLL, REGSVR32.exe is used. Format: REGSVR32 [dllname]

To register a .NET DLL, REGASM.exe is used. Format: REGASM [dllname]

The REGSVR32.exe tool is located in the library: C:WindowsSystem32
The REGASM.exe tool is located in the library: C:WindowsMicrosoft.NETFrameworkv2.0.50727 (or later versions of the .NET framework)

These Microsoft Links provide additional information regarding the registration tools:
REGASM.exe (Assembly Registration Tool)
https://msdn.microsoft.com/en-us/library/tzat5yw6%28v=vs.110%29.aspx

REGSVR32.exe
https://technet.microsoft.com/en-us/library/bb490985.aspx
https://support.microsoft.com/en-us/kb/249873/

To unregister DLLs:
REGSVR32 [dllname] /u
REGASM [dllname] /unregister

Apr
13

GetVersion API and Windows 10

By david  //  Technical Tips  //  Comments Off on GetVersion API and Windows 10

This document addresses two problems that can be resolved by updating the Application Manifest file for programs that are distributed to post-Vista Windows platforms:
1) The deprecated Windows version numbers returned by GetVersion API calls in Windows 10
2) The annoying Program Compatibility Assistant’s “this program might not have installed correctly” warning messages
PDF Article Here

An example solution manifest file can be found here , or visit the Downloads page on this blog.

Apr
10

Windows SDK Downloads

By david  //  Technical Tips  //  Comments Off on Windows SDK Downloads

Developers using older versions of Visual Studio, may need to download SDKs to author applications compatible with more recent versions of Windows.
The Microsoft links below provide SDKs for Windows 7 / 8 / 8.1:

Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (web setup)

Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (ISO download)

Microsoft Windows SDK for Windows 7 and .NET Framework 4

Windows Software Development Kit (SDK) for Windows 8

Windows Software Development Kit (SDK) for Windows 8.1

List of latest Windows SDK Downloads

List of Windows SDK Archives

Mar
1

Firefox Downgrade and Reinstallation

By david  //  Technical Tips  //  Comments Off on Firefox Downgrade and Reinstallation

About once a year, I go through the steps of completely uninstalling Firefox, deleting associated folders, and reinstalling the browser. This has an amazing impact on the performance of the product.
Even though the settings in Firefox are to not send any information to Mozilla, or retain data, a large number of files are being collected in the AppData folders.

In Firefox version 35, Mozilla added a feature called the “Hello Chat Video Service”, in the form of a button the toolbar. Around the same time, several of my favorite extensions began having compatibility problems with Firefox. To restore functionality from these extensions, I decided to downgrade to a lower version of Firefox.
PDF Article Here

Feb
8

GetVersion API and Windows 8.1

By david  //  Technical Tips  //  Comments Off on GetVersion API and Windows 8.1

This document addresses two problems that can be resolved by updating the Application Manifest file for programs that are distributed to post-Vista Windows platforms:
1) The deprecated Windows version numbers returned by GetVersion API calls in Windows 8.1
2) The annoying Program Compatibility Assistant’s “this program might not have installed correctly” warning messages
PDF Article Here

An example solution manifest file can be found here , or visit the Downloads page on this blog.

Archives

Categories