Change UUID

From KlavoWiki
Jump to navigationJump to search

To change your UUID for specific devices.

UUID Generator

Windows Hardware Profile

Powershell commands

Get-ItemProperty -Path "Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\IDConfigDB\Hardware Profiles\0001"

Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\IDConfigDB\Hardware Profiles\0001' -Name 'HwProfileGuid-test' -Value '{16178d22-9ba6-4671-9bf0-ce8522fe2396}'

Hard Disk

diskpart
list disk
select disk x

Line 1 : Displayes existing UUID value
Line 2 : Sets new UUID value

uniqueid disk
uniqueid disk uuid=[50c941fe-c927-45b9-a91a-1107492707b0]