Category Archives: tech pit

everything related to technical stuff

HOWTO compact vhd/vhdx Hyper-V files

It happened that the usual compact disk from Hyper-V Console doesn’t seem to be effective on one of mine .vhdx file. Looking around on the web, I discovered that it is a quite common problem. The solution is to open a Powershell window with administrative access rights, and use the following command: optimize-vhd <offline Hyper-V disk file> -mode full For further details about this command, … Continue reading HOWTO compact vhd/vhdx Hyper-V files »

HOWTO use GIT with SVN server

Introduction During COVID-Lockdown, one of the challenges is to understand how to smartwork as best as possible. One of my problems is that I haven’t a remote access to SVN server. I began to wonder if and how GIT can alleviate my smartwork problems. The found answer is: yes, it can. Both repository types have their strong and weak points. My personal impression is that … Continue reading HOWTO use GIT with SVN server »

HOWTO change network connection category quickly

During the COVID-19 global event, I needed to set up VPNs, remote connections… I also discovered that changing the network connection category can be quite trick into Windows 10 GUI. I discovered that is a simple task by using Powershell Solution Open a Powershell window with administrative rights run the following command: Get-NetConnectionProfile it will show one or more of the following: Name : my_wifi … Continue reading HOWTO change network connection category quickly »

HOWTO start Memory Test on W10

If you are investigating strange issues/BSOD on your computer, you may reach the point to verify the installed memory. Windows 10 has this feature included, and it will spare the need to use any live CD, … You can simply use it by typing in the Search box: mdsched and selecting Memory Diagnostic Tool from the results, or by administrative Command Prompt by typing the … Continue reading HOWTO start Memory Test on W10 »

HOWTO quickly rename folders from _svn to .svn

Once upon a time, someone had the idea to use ‘_svn’ for a Windows SVN sandbox working folder instead of the standard ‘.svn’. I suppose, that the idea was to use a more windows-aligned folder name. By using TortoiseSVN, it was quite transparent. Years passed, and the idea was dropped, and these sandboxes aren’t working anymore by default. TortoiseSVN still provides a hidden registry setting … Continue reading HOWTO quickly rename folders from _svn to .svn »

HOWTO limit MS SQL Server memory usage

Go to Microsoft web site and download MS SQL Server Management Studio (SSMS for ‘friends’), about 0.5Gb to download, and 1Gb of disk space. It is working with almost any MS SQL Server version and edition. Once installed you have to: start the program with administrative access rights elevation connect to the service right-click on root item into Object Explorer, select Properties select Memory from … Continue reading HOWTO limit MS SQL Server memory usage »

HOWTO add encrypted disks to your PC

Imagine to be a contractor, and you want a secure black box to keep your customer data on your PC. This will come very useful, for example, in case of loss or theft of your notebook. A common approach is to encrypt the whole hard disk, but it has two main drawbacks: the whole system is slowed down by the disk encryption. usually it’s almost … Continue reading HOWTO add encrypted disks to your PC »