How to compact VirtualBox’s VDI file size

bimboingabbiaIf in creating process of Virtual Box VM you have selected the option Dynamically Expanding Storage, you will find that the file size expands whenever you install new applications in the VM or add new files.
However, when you uninstall or delete applications, the file size of the VM does not shrink: if you are constantly installing and uninstalling applications in your VM, the VDI file could be taking up more space than it is actually using.
In this post I?ll show the steps to shrink your Virtualbox VM. Continue reading

Windows 10: Mapping Drives via GPO Script Failing

Some days ago I’ve upgraded some pc’s to Windows 10.
After that we’ve verified that using old-legacy software we cannot get any mapped drive (via GPO Script) using folder/file explorer.
If we link this disk on desktop, and try to use it, we get an error.
The only solution is to enable the “Linked Connections”.
1) In Registry Editor, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
2) Right-click Configuration, click New, and then click DWORD (32-bit) Value. Name the new registry entry as EnableLinkedConnections.
3) Double-click the EnableLinkedConnections registry entry and type 1 in the Value data field: then click OK.
4) Exit Registry Editor, and then restart the computer.

Detect Hard Drive Failure in Windows using S.M.A.R.T.

Hd_NSAIn this post I will write about some techniques that can be used in a Windows env. to check the hard disk health status using S.M.A.R.T. You can read about S.M.A.R.T. and other stuff in my post
Detect Hard Drive Failure in Linux using S.M.A.R.T. (see linkografia).

S.M.A.R.T. stands for Self-Monitoring, Analysis and Reporting Technology and is a monitoring system for hard disk to detect the low-level indicators of the general health conditions of the device. Note that the raw values are calculated by the drive’s SMART logic internally.

Indeed “S.M.A.R.T Monitoring Tools” exists for windows: did you know ? Continue reading

Create a Forest Level Trust between Windows 2008 ADC

TrustIn this post I’ll show how to create trust between two different Forest each of these based on a single Windows 2008 ADC.

Briefly in Windows Active Directory any type trust allows users in one domain to access resources in another domain it can be either one-way or two-way. In a one-way trust, as the name itself it is one way and unidirectional, one domain’s users access another domain’s resources, not the other way around.

Differente in two-way trust: users in both domains may access the other domain’s resources. Continue reading