Write zeros to a hard drive/Erase unused or free space

Format and write zeros to every sector of the drive. After the first pass write randome numbers.

 
Erase unused or free space.

How to configure RPC dynamic port allocation to work with firewalls

Windows XP use per default a dynamic port range from 1024 to 5000 for RPC/WMI/DCOM. To set up a fixed Port or Range use this settings:

  1. regedit: HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc
  2. Add key “Internet”
  3. Add this three values:

Ports: REG_MULTI_SZ: 5000-5100
PortsInternetAvailable: REG_SZ: Y
UseInternetPorts: REG_SZ: Y

  1. run winmgmt -standalonehost
  2. net stop winmgmt
  3. net start winmgmt
  4. Reboot


Remove OneDrive from Explorer on Windows 10

  1. Uninstall OneDrive
  2. Change registry key (32-bit) under System.IsPinnedToNameSpaceTree to 0
  3. Change registry key (64-bit) under System.IsPinnedToNameSpaceTree to 0

Windows Update failed with error code 0x80004005

Since weeks one windows machine wasn’t able to install the latest “Monthly Rollups”, but other updates work. After reboot the installer starts until 86% and undone the update. Internet search did not bring much, except some users with an alternative bootloader who have the same problem. But this machine has no other bootloader. The Windows Update log did not have any helpful details, which also makes sense since it had to give for the installation of the update its own log. I remembered the SBC.log, which I used in another problem and what should I say … there was the error code 80004005 – with helpfull details.

It was not possible to write parts of the bootloader. I assign a drive letter to \HarddiskVolume1 with diskpart and i see the problem. The drive was out of space. Only 12Kb free, but lots of garbage. The drive is also used for Recovery (WinRE). Then I recognized the cause. The disk was cloned from a HDD to a SSD with lower capacity. After resize the HarddiskVolume1 to original size, the update works without any problem.

Bugzilla checksetup.pl stops with segmentation fault

After upgrading an openSUSE machine, the Bugzilla installation no longer works. Each run of the checksetup.pl crashes with “segmentation fault”. After updating perl with cpan and some research the solution for the problem was very simple:

  1. Rename the lib folder in the Bugzilla directory
  2. Run ./install-modules –all
  3. Run ./checksetup.pl again

Hardlink, Symlink and Junctions

To create a softlink, which should work through a network share, a junction should be created with mklink:

Remove VMware VIBs/VIB conflict