The Recycle Bin on D:\ is corrupted. Do you want to empty the Recycle Bin for this drive?

https://social.technet.microsoft.com/Forums/windows/en-US/f9c89952-0c61-4170-964a-6d7e90ee7347/recycle-bin-corrupted?forum=winservergen

“i faced the similar problem earlier and i ran the below command

rd /s /q C:\$Recycle.bin

This clears out the $Recycle.bin folder from the C:\ partition. You may have to do this for each hard disk partition in your system”

The results were instant, the missing 107GB showed up on the D drive after removing the directories on the C and D drives.

Adding Virtual Machines to Hyper-V with PowerShell

After you’ve exported a VM from Hyper-V you may want to import a unique copy of it or several unique copies of it back into Hyper-V.

$i=1
Do
{
###################### Import Virtual Machine from Template ######################
$NewVMNumber=$i
$VMToImport='C:\Users\administrator.ISLEWORTHSYON\Desktop\isos\2016srv\Server 2016 Preview\Virtual Machines\E58E5FDD-03DF-4870-8725-5F63AD7D943D.xml'
$VMPath='D:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines\S16'+$newVMNumber
$VMHDD='D:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\S16'+$newVMNumber
$NewVMName='Server 2016 Preview - S16'+$NewVMNumber

Import-VM -Path $VMToImport –Copy -GenerateNewId -VirtualMachinePath $VMPath -SnapshotFilePath $VMPath -SmartPagingFilePath $VMPath -VhdDestinationPath $VMHDD

Rename-VM 'Server 2016 Preview' -NewName $NewVMName

###################################### End #######################################
$i++
}
While ($i -le 2)

 

Missing Google Drive space

I found Google Drive to be reporting that I was using about 100GB more storage than I was actually using, I checked this by seeing how large the Drive folder on my machine is. Having recently done a Google Takeaway backup of my Google data I figured it was something to do with that. Having moved my Google Takeaway off of Drive onto a USB drive locked in a safe I had forgotten that Google kindly moves a copy of the moved (deleted from Drive so far as Google is concerned) into the Google Drive Bin. Having been to empty the Bin Google is now reporting the correct amount of space as being used.

Upgrading Xibo from 1.6.4 to 1.7.3

Xibo is a high quality open source digital signage solution.

I’d been running into a problem when trying to upgrade Xibo to the latest version from a rather old version we had installed.  As there were so many database scripts to run during the update process the process took longer than the timeout IIS was allowing for.  Increasing the timeout solved the issue and is documented in the links below.

https://community.xibo.org.uk/t/upgrading-from-1-6-4-to-1-7-3/558

http://forums.iis.net/p/1076662/1872096.aspx

stopped-extension-dll-exception in Forefront when trying to DirSync

I encountered a problem in Forefront today where I received the following error message:

Name:  Windows Azuer Active Directory Connector

Profile Name:  Delta Import Delta Sync

Status:  stopped-extension-dll-exception

The problem as I discovered was that the password for the user account used to authenticate DirSync  had expired.  Once the passowrd was changed, the Directory Sync Configuration program was rerun.  Syncs are now occurring as expected.

Forefront 2010 with error message
Forefront 2010 with error message

How to change the resolution on a virtual Ubuntu machine in Hyper-V

Modified from the original poster  at the following address on 2014-11-09:

http://blogs.msdn.com/b/virtual_pc_guy/archive/2014/09/19/changing-ubuntu-screen-resolution-in-a-hyper-v-vm.aspx

  1. Open Terminal
  2. Type: sudo nano /etc/default/grub
  3. Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT, and add video=hyperv_fb:[the resolution you want].  The resolution I want is 1440x900.  So my line ends up looking like this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1440x900"
  4. Write the changes and quit nano by pressing CTRL-O followed by enter to output the changed to the same file and then CTRL-X to exit.
  5. Run: sudo update-grub
  6. Reboot the virtual machine

 

Show Power Button on Windows 8.1 Start Screen

To put the power button back on the start screen of Windows 8.1 you need to add the registry key below.

  • Open regedit.exe
    • Press the Windows button on your keyboard and tap R or go to the start screen and type regedit.
  • Navigate to:
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell\Launcher
  • Right click inside the Launcher folder
  • Select New
  • Add a DWORD key with the following settings:
    • Name: Launcher_ShowPowerButtonOnStartScreen
    • Data: 1
    • Base: Hexadecimal
  • Log out and back in again for the button to appear.

Some useful things for me, maybe you'll find useful too.