logo logo

Reset DNS on a Windows Machine (DNS Flush)

From an Elevated command prompt Ipconfig /flushdns Ipconfig /registerdns Net stop netlogon Net start...

After performing Physical to Virtual conversion, Virtual Machine will not boot due to Access Denied error

The VHDX file needs permissions for the VM GUID to access full control over the file. Essentially, copy down the VM ID. You can get this ID by hitting the “More” link on the error message that...

Get Windows version from command line

Open a command prompt by going to Run… and typing in “cmd”, hit enter Type in “ver” and hit enter, this will give you your Windows...

Save command prompt results to a text file

To write command line results to a text file, add the following to the end of your command before running it: > "C:\<your path here>\<your file name here>.txt" Command prompt will output to...

Change Hyper-V Virtual Machine RAM settings from PowerShell

From PowerShell you can type:Set-VMMemory serverName -DynamicEnabled $false -StartupBytes 1000mb For example to turn off dynamic memory use and set the ram to 1gb. The virtual machine has to be off to do...

Get disk space on available drives using CMD

The following command can be used.wmic logicaldisk get size,freespace,caption Example output:Caption FreeSpace SizeC: 10293153792 42949668864D: 38401937408 74088181760E: 37109010432 ...
bottom