Thursday, August 13, 2026

 Enabling Shared Configuration in Windows 2022 Server

Shared Configuration in Windows Server primarily refers to the Internet Information Services (IIS) feature that allows multiple web farm servers to synchronize and use a single set of configuration (applicationHost.config and administration.config). In recent days while performing Windows server 2016 to Windows server 2022, We faced issue in IIS Manager was crashing after enabling Shared configuration and had to contact Microsoft support team.

After investigation from and Microsoft support confirmed, they have a bug in windows 2022 server IIS Manager while saving shared configuration.

With help from Microsoft Support Team, We were able to identify the alternate solution to fix the issue.

Following are steps to fix the issue.

  1. Add the permissions to MachineKeys under C:\ProgramData\Microsoft\Crypto\RSA\

    1. Add the below users from local machine

      1. Everyone - Read & Execute, List folder contents, Read

      2. SYSTEM - All Permissions

      3. IIS_IUSRS - Read & Execute, List folder contents, Read

      4. USERS - Read & Execute, List folder contents, Read

      5. Administrator - All Permissions

Copy the exported IIS-Transfer-Key (which has 2016 RSA Machine Keys) to Windows 2022 Server and keep it in C Drive.

  1. Run the following script in Windows 2016 server.


On the 2016 server, Run elevated PowerShell:
$folder = "C:\IIS-Key-Transfer" $aspnet = "$env:windir\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe" New-Item -ItemType Directory -Path $folder -Force & $aspnet -px "IisWasKey" "$folder\IisWasKey.xml" -pri & $aspnet -px "IisConfigurationKey" "$folder\IisConfigurationKey.xml" -pri Both must report Succeeded! . Securely transfer those XML files to the 2022 server. On the 2022 server First attempt to import over the temporary containers: $folder = "C:\IIS-Key-Transfer" $aspnet = "$env:windir\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe" & $aspnet -pi "IisWasKey" "$folder\IisWasKey.xml" -exp & $aspnet -pi "IisConfigurationKey" "$folder\IisConfigurationKey.xml" -exp Once you import, you will see the below message. Microsoft (R) ASP.NET Core, an open-source web development framework | .NET RegIIS version 4.0.30319.0 Administration utility to install and uninstall ASP.NET Core, an open-source web development framework | .NET on the local machine. Copyright (C) Microsoft Corporation. All rights reserved. Importing RSA Keys from file.. Succeeded! Microsoft (R) ASP.NET Core, an open-source web development framework | .NET RegIIS version 4.0.30319.0 Administration utility to install and uninstall ASP.NET Core, an open-source web development framework | .NET on the local machine. Copyright (C) Microsoft Corporation. All rights reserved. Importing RSA Keys from file.. Succeeded!

c. Restart the Windows Process Activation Service and World Wide Web Services.

d. Enable Shared Configuration on the servers.

Give the Path, Service Account, Username, Password and Encryption Password.

This should enable the shared configuration and you should see the sites in the server.



Thursday, September 8, 2022

 How to update Python PIP in Windows


  • Open the command prompt, Traverse C:\Users\UserFolder\AppData\Local\Programs\Python\Python310
  • Run the command
    • pip install pip, If the PIP does exist already, it shows as below.
                        
    • Run the command to update the existing version.
    • python.exe -m pip install --upgrade pip
                        





Monday, April 6, 2020


Disable azure network accelerator


Recently, I came across an issue in azure QA account, the credit was getting utilized more than the expected numbers, because of this the instances were shutting down before the due date.

This issue was finally addressed after couple of  research. The problem was with the network accelerator this was consuming a huge amount of credit.

When tried to disable the network accelerator, it showed an error as this is supported for VM series D/DSv2, D/DSv3, E/ESv3, F/FS, FSv2, and Ms/Mms only.

I came across a KB article to execute following command in azure shell to disable network accelerator.

az network nic update --name --resource-group --accelerated-networking false
In the above command line, replace nic_name and resource_group_name with existing names mentioned in your azure portal.
Hope this helps you.
Happy computing... :)


Friday, September 20, 2019

Hello Reader,


IT Admins who are using Subversion may have come across this pick and choose of the svn files and folders
to dump and share, may feel eary using SVNDUMPSANITIZER.

This program has been installed and worked properly on linux x86_64 arch. Download SVNDUMPSANITIZER.

To compile it, just run:

$ gcc svndumpsanitizer.c -o svndumpsanitizer

For complete help.

$ ./svndumpsanitizer --help

A typical command would look something like this:

$ ./svndumpsanitizer --infile full_svn.dump --outfile repo.dump --include Main_Repo/Trunk Main_Repo/code trunk/arch


 This should solve your exporting problem in a blink. 

 Enjoy.
 



Tuesday, June 18, 2019

Ubuntu - No audio after disconnecting from HDMI

  1. Open PulseAudio Volume Control. Install it if you don't have it.
  2. Install it if you don't have it., To install it apt-get install pavucontrol
  3. When you open it, go to "Configuration" : For one of the "built in audios" one has HDMI (unplugged) in front of "Profile". Choose "Off" for that profile as below image.

./Enjoy Fixing.

Saturday, August 22, 2015

Convert mp4 file/s to mp3 using avconv


Hello All,

Avconv is alternative to ffmpeg. Avconv is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and resize video on the fly with a high quality polyphase filter.

conversion of mp4 file/s to mp3 by using avconv

avconv -i input.mp4 -vn -f mp3 output.mp3

Enjoy conversion to mp3... :-)

Saturday, July 4, 2015

Hi,


Wireless driver installation for Toshiba Tecra z40.

 sudo apt-get install linux-headers-generic build-essential

wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.19-rc1/backports-3.19-rc1-1.tar.gz

tar -zxvf backports-3.19-rc1-1.tar.gz

cd backports-3.19-rc1-1

make defconfig-iwlwifi

make

sudo make install

And you will need firmware

wget https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-23.15.10.0.tgz

tar zxvf iwlwifi-7260-ucode-23.15.10.0.tgz

sudo cp iwlwifi-*.ucode /lib/firmware

Reboot

If you realize that your wifi doesn't work in the future, it is likely that a kernel update occured and you will need to

cd backports-3.19-rc1-1

make clean

make defconfig-iwlwifi

make

sudo make install