Unable to start Hyper-V VM “Not enough memory in the system” error

I found I was getting this in my test lab even though there was enough RAM spare on the host (approx 75% utilised only) turns out that Hyper-V is reserving a fair chunk of RAM automatically for the operating system (Server 2012 R2 in my case) therefore I just needed to lower the minimum reserve value.

Regedit – HKLM / Software / Microsoft / Windows NT / CurrentVersion / Virtualization

Create new DWORD “MemoryReserve” with value Decimal 512 to ensure minimum 512MB always remains after VMs are started.



RDP connectivity issues to Azure

Various issues from Win 7 clients continually disconnecting/re-connecting to an RDS cluster in Azure. All clients were up-to-date with the latest RDP 8.1 support using the following patches,


However had to also run the following to stop the disconnects


Windows Server 2012: Does ReFS replace NTFS? When should I use it?


The Resilient File System

Although ReFS inherited some of the NTFS code base initially, it is a different file system with different uses in mind. In fact, disk tools that work with the NTFS Master File Table (MFT) won’t be able to work with ReFS because ReFS has its own mechanism for keeping up with file metadata. ReFS is ideal for storing large amounts of data and can be leveraged for file shares. Applications that run locally on the server and rely on specific NTFS features may not work with ReFS. However, many may have no issues due to ReFS compatibility with many of the Win32 storage APIs. For example, Windows Deployment Services (WDS) explicitly requires NTFS because it relies on specific features in order to implement the RemoteInstall folder structure used for storing images. These are features that a conventional file server or data repository does not require. CHKDSK isn’t applicable to ReFS. Yes…I did just indicate that there’s no need to run CHKDSK on a ReFS partition. Are you feeling that the tool you’ve wanted to avoid for so long is now something you might want to hold onto…just in case? A love-hate relationship perhaps? The counselor is in. It’s okay to have those feelings if you have them. The truth is that in terms of ReFS partitions, ReFS doesn’t need CHKDSK because repair functionality is built-into the file system. Repair, if needed, occurs on-the-fly. Yep…there’s no need for extra tools to go fix corruption like with other file systems. And for what it’s worth, Windows Server 2012 contains improvements for CHKDSK. ReFS can use checksums to detect if data has changed since last written and is able to detect and recover from corruption quickly. In fact, when data is written to disk, it is written to a new location on disk rather than over the top of existing data. Once successfully written, the file system can free the space used by the old data stream. ReFS is able to recover from corruption within the file system rapidly without limiting availability of the volume. Further, ReFS may be used with clusters, Hyper-V, file shares, data archival, and many other uses.

Server 2012 R2 Prerequisites Fail When Promoting to Domain Controller

Brand new Server 2012 R2 fully patched (using HP intelligent provisioning on Microserver Gen8), trying to create a new forest and promote to DC but fails no matter how complex I make the Domain Administrator Password.

“The new domain cannot be created because the local Administrator account password does not meet requirements”

Solution is to run the following from elevated command prompt

Net user Administrator /passwordreq:yes

Open a URL using Task Scheduler

I use this script when I need a specific web page to open in the background, for example updating Dynamic DNS or other websites that I can open to force them to process.

Create a .vbs script using the following

Sub openwebsite(w)
On Error Resume Next
Dim objRequest
Set objRequest = CreateObject(“Microsoft.XMLHTTP”)
objRequest.open “POST”, w , false
Set objRequest = Nothing
End Sub

openwebsite “http://mywebsite
openwebsite “http://anotherwebsite

Add a new scheduled task to execute the .vbs script repeating regularly and running as the “SYSTEM” account