Browsing articles in "Technical Tips"
Aug
1

Thanks for Alexa Dev Day Dallas

By david  //  Technical Tips  //  Comments Off on Thanks for Alexa Dev Day Dallas

May
30

Outlook-friendly sender name in Mainframe SMTP headers

By david  //  Technical Tips  //  Comments Off on Outlook-friendly sender name in Mainframe SMTP headers

When receiving SMTP emails from the mainframe with a “from” address claimed to be on the Outlook Server, Outlook may have a difficult time connecting the profile and providing the contact information in the original email.

The following solution has worked best. The name should be enclosed in quotes, followed by a space and then the bracketed email address of the sender.

“Last, First I”   <first.last@companyname.com>

To use the IBM example at Using batch SMTP command in TSO utilities as a starting point,
 the sender’s email address would be inserted on the From line below:

MAIL FROM:
RCPT TO:
RCPT TO:
DATA
Date: Thur, 26 Mar 92 21:48:57 EST
From: “Last, First I”   <first.last@companyname.com>
To:
Cc: Subject: update

 

Mar
19

Update – preventing Windows 10 upgrade

By david  //  Technical Tips  //  Comments Off on Update – preventing Windows 10 upgrade

This is an update to the earlier post on how to prevent Windows from constantly offering to upgrade to Windows 10.

The batch uninstallers have been modified to perform quiet uninstallations. Only a prompt to restart/reboot the system should be displayed at the end.

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 individual batch files (Administrator rights may be required), or run the Remove All file to remove all at once.
A reboot may be prompted after the KB’s have uninstalled.

Remove All of these KBs, or
 
Remove KB3173040
 
Remove KB3150513
 
Remove KB3123862
 
Remove KB3035583
 
Remove KB2976978

Information on KB3173040    Information on KB3150513    Information on KB3123862

Information on KB3035583    Information on KB2976978

 

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

Remove All of these KBs, or
 
Remove KB3173040
 
Remove KB3150513
 
Remove KB3123862
 
Remove KB3035583
 
Remove KB2952664

Information on KB3173040    Information on KB3150513    Information on KB3123862

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 KB3123862, KB3035583, KB2976978, KB2952664 using the Control Panel.

Hiding Instructions from sevenforums.com
 

 

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

Archives

Categories