Tag Archives: howto

HOWTO compress a folder by command line

NTFS file-system has the ability to compress files and folders to save disk space with only drawback is that they will be read and written slower than the normal ones. Windows File Explorer displays them in blue instead of black, and it allows to compress or expand by right-click them and selecting ‘Properties’ and then ‘Advanced’. Suppose that you have to compress a folder but … Continue reading HOWTO compress a folder by command line »

HOWTO remove dead items from Control Panel

Sometimes, it may occur discover a dead Control Panel item, after having uninstalled a program. It’s something annoying, but it can be fixed manually. Removing the dead item To remove it, open the following registry location and look for the proper item: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace If you don’t find anything, give a look to this other registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace In these registry keys, you will find the … Continue reading HOWTO remove dead items from Control Panel »

Windows 10 – Cleanup disk 3.99 TB

Several weeks ago I had the following issue while running the Disk Cleanup utility: It detects wrong cleanup space on Windows Update Cleanup point. After some investigations, I found this post explaining the problem. To make a long-story brief, one of the applied updates has broken one or more of the hardlinks present into Windows Component Store folder. After some other investigations, I discovered how … Continue reading Windows 10 – Cleanup disk 3.99 TB »

HOWTO Upgrade a SVN repository

Sometimes you may need to upgrade or regenerate a SVN repository, because it may be outdated and/or damaged. After some investigations, I discovered that it is possible by a simple batch file like the following one: :@echo off set svnadm=”<path>\svnadmin.exe” set repo_out= “<full pathname of the old repository>” set repo_in=”<full pathname of the new one>” set file_dump=”<path>\repo.dump” %svnadm% dump %repo_out% > %file_dump% %svnadm% load %repo_in% … Continue reading HOWTO Upgrade a SVN repository »

How to create NTFS links from command line

To create a NTFS link, you need to type the following commands into a ‘Command Prompt‘ window with administrative rights. Hardlink (files only): mklink /h <link_name> <file name> Junction (folder only): mklink /j <link_name> <folder name> Symbolic link (file): mklink <link_name> <file name> Symbolic link (folder): mklink /d <link_name> <folder name> For more details about NTFS links, you can see the following links: Hardlinks & … Continue reading How to create NTFS links from command line »

WSUS – How to keep local content folder under control

Few months ago, my WSUS server stopped working. From investigations, the problem seems to be that WSUS downloaded content folder consumed all dedicated partition free space. Searching on the web, I found several suggestions, but the most suitable was to delete superseded and expired items. You can find one of the most interesting thread here. Although WSUS console offers cleanup options to remove these items, … Continue reading WSUS – How to keep local content folder under control »