Dark Developments Where Knowledge Meets Power

9Jan/120

VMware – Move VM to different datastore on ESXi

Posted by Dark#Basics

VMware - Move VM to different datastore on ESXi
It's pretty striaght forward how to move a VM to a different datastore within a standalone ESXi host.

Login by using the vSphere client on the ESXi host and shutdown the VM that you want to move to a different datastore. After the VM is powered off remove it from the inventory by right clicking on the VM and selecting ‘Remove from inventory’.

After that the VM is removed from the Inventory browse the current datastore (source) and the new datastore (destination) and just copy/past or cut/paste the VM's from source to destination.

After that the copying is complete go to the new datastore, right click the VM and select 'Add to Inventory'. Follow the steps in the wizard and the VM will be visible in the inventory. If needed change the VM settings.

When you power on the VM it will notice that he is on a different datastore. Answer the question by selecting ‘I _copied it’ and click ‘OK’.

9Jan/120

WIN7 – Delete Offline Files Cache a.k.a CSC

Posted by Dark#Basics

WIN7 - Delete Offline Files Cache a.k.a CSC
In Windows 7 it isn't possible to delete the Offline Files Cache through the GUI. This can be handy in some troubleshooting situations when the cache isn't updated or Offline Files just needs to be re-enabled. The only way to delete the CSC is by writing a Registry Key.

Using the GUI

  • Open Registry editor (Execute Regedit from Run window)
  • Go to the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters
  • If Parameters does not exist under CSC create a new node with that name.
  • In the Parameters node create a new registry value with the name FormatDatabase of type REG_DWORD (i.e DWord 32-bit value)
  • Set the registry value to 1.
  • Reboot the machine

Using CLI

We can do the above steps from command line too. For this you just need to run the below command from elevated administrator command prompt.

Select All Code:
1
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters /v FormatDatabase /t REG_DWORD /d 1 /f


 

Filed under: Windows 7 No Comments