-
Hyper-V: Merge snapshot vhdx
If you because of a restore suddenly get stuck with one “disk0.vhdx” and one “disk0-snapshot.vhdx” virtual disk, and you are not able to merge them using Hyper-V Manager? You can merge them with PowerShell Merge-VHD -Path *PathToSnapshotFile*\disk0-snapshot.vhd -DestinationPath *PathToDestinationFile*\disk0.vhd ex: Merge-VHD -Path c:\VM\VM01\Virtual Hard Disks\disk0-snapshot.vhd -DestinationPath c:\VM\VM01\Virtual Hard Disks\disk0.vhd
-
Windows: Create a bootable USB flash drive
Source: http://technet.microsoft.com/en-us/library/jj200124.aspx
-
JAVA: Disable Auto Update
Create the following Registry Item Action: Update Hive: HKEY_LOCAL_MACHINE Key Path: SOFTWARE\JavaSoft\Java Update\Policy Value name: EnableJavaUpdate Value type: REG_DWORD Value data: 00000000
-
SCVMM: Force remove missing VM
Make sure you get the correct VM Get-VM -Name “VM Name” | Ft Name When you know that the first query give you the correct VM, and only that VM Get- VM -Name “VM Name” | Remove-VM -Force
-
Windows 8.1: Show your desktop background on the Start Screen
Show your desktop background on the Start Screen New registry value under User Configuration\Preferences\Windows Settings\Registry -Hive: HKEY_CURRENT_USER -Key Path: Software\Microsoft\Windows\CurrentVersion\Explorer\Accent -Value name: MotionAccentId_v1.00 -Value type: REG_DWORD -Value data: 000000DB -Base: Hexadecimal Undo: 000000DD
-
Windows 8.1: Boot to desktop
Boot to Desktop User Configuration\Administrative Templates\Start Menu and Taskbar Enable “Go to the desktop instead of Start when signing in”
-
HP: Error codes
CAPS LOCK/NUM LOCK LED LEDs blink 1 time – CPU not functional LEDs blink 2 times – BIOS corruption failure LEDs blink 3 times – Module error not functional LEDs blink 4 times – Graphics controller not functional LEDs blink 5 times – General system board failure LEDs blink 6 times – BIOS authentication failure […]
-
SCCM: Computer collection based on Computer Name
This will list all computers where the name starts with IT or HQ select SMS_R_SYSTEM.ResourceID, SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name, SMS_R_SYSTEM.SMSUniqueIdentifier, SMS_R_SYSTEM.ResourceDomainORWorkgroup, SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.Name like “IT%” or SMS_R_System.Name like “HQ%”
-
Windows: Verify signature on drivers
You can use this command to verify signature for drivers sigverif.exe http://support.microsoft.com/kb/308514
-
Powershell: Rename remote computer with WMI
To rename a computer when Rename-Computer is not available (pre Powershell 4.0) Get-WmiObject Win32_ComputerSystem -ComputerName OLDNAME -Authentication 6 | ForEach-Object {$_.Rename(“NEWNAME”,”PASSWORD”,”USERNAME”)} You can also mask the password $credential = Get-Credential Get-WmiObject Win32_ComputerSystem -ComputerName OLDNAME -Authentication 6 | ForEach-Object {$_.Rename(“NEWNAME”,$credential.GetNetworkCredential().Password,$credential.Username)}