Wednesday, May 30, 2018

How to make .NET Application using 3.5 or below to run on Windows 10

When user tries to install application that is targeted to use .NET 3.5 or below in windows 10, it may not get installed in Windows 10 directly as it is.

This doesn't mean that windows 10 will not support those application. It does have a provision to make older applications work as intended but needs changes in the feature settings.

Go to Control Panel -> View by, Large icons -> Programs And Features -> Turn Windows features on or off -> select .Net Framework 3.5 (includes .NET 2.0 and 3.0) -> OK


It will ask to download supported files. Give Yes.



Upon download completion of all the required files, try to install the setup files and it will get installed successfully.

Note: Even .NET application targeted for 1.1 can run in windows 10.

Wednesday, May 16, 2018

Change MAC address in windows 10

Below is the steps to change the MAC address in Windows 10.

  • Right click on network icon
  • Under Network & Security choose 'Ethernet'
  • Click on Change Adaptor option and right click on the network adapter for which MAC need to be changed and choose Properties
  • Go to 'Advanced' tab
  • Locate 'Locally Administered Address'
  • In value cell, enter the new MAC ID and click OK.
  • Restart the PC


Tuesday, May 8, 2018

Unwinding windows uninstallation

Have you ever wondered how control panel is able to uninstall programs?

Upon any program installation, the installation details are maintained in below registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}
GUID ->Unique product code set for the product by installer programs.

During uninstall, windows checks for "UninstallString" key value.

Most likely it would contain entry as like below.

MsiExec.exe /X{GUID}
MsiExec.exe -> Windows Installer Program that comes are part of OS installation.

It has many argument and X is to uninstall.

Below example is for ISS 10.0 Express.


Also windows takes a copy of the installer files to "C:\Windows\Installer" with some auto-generated name for which windows has a mapping with product code.


With this, it is able to uninstall a product!

More information:

Problem Steps Recorder:- To capture keyboard, mouse event with screen shots

Problem Steps Recorder, also known as PSR, is an utility provided by windows and available since Windows 7. (see below). It can be invo...