
This tutorial will show you how to quickly generate a new GUID (UUID) in XP, Vista, Windows 7, and Windows 8.
Published by Brink
- ByLine
- How to Generate a New GUID or UUID in Windows
- Synopsis
-
This tutorial will show you how to quickly generate a new GUID (UUID) in XP, Vista, Windows 7, and Windows 8.
How to Generate a New GUID or UUID in Windows

GUID (or UUID) is an acronym for 'Globally Unique Identifier' (or 'Universally Unique Identifier'). The term GUID is generally used by developers working with Microsoft technologies, while UUID is used everywhere else.
A GUID is represented as a 32-character hexadecimal string, such as {dcab32b8-e5ec-4f09-af89-44634bc7a04d}, and is usually stored in the form of a 128bit integer. It's nearly impossible for the numbers generated for the GUID to have two numbers repeated making them unique.
For more information about GUID, see:
This tutorial will show you how to quickly generate a new GUID (UUID) in XP, Vista, Windows 7, and Windows 8.
A GUID is represented as a 32-character hexadecimal string, such as {dcab32b8-e5ec-4f09-af89-44634bc7a04d}, and is usually stored in the form of a 128bit integer. It's nearly impossible for the numbers generated for the GUID to have two numbers repeated making them unique.
For more information about GUID, see:
This tutorial will show you how to quickly generate a new GUID (UUID) in XP, Vista, Windows 7, and Windows 8.

Windows 7 and Windows 8 comes with the PowerShell feature included.
In XP and Vista, you will need to download and install PowerShell.
In XP and Vista, you will need to download and install PowerShell.
1. Open PowerShell, copy and paste either command below, and press Enter.
[guid]::NewGuid()
OR
[guid]::NewGuid().ToString()
2. The generated 32-character number will be the new GUID.

This option uses a PowerShell command in a command prompt, so you will still need to have PowerShell installed (XP and Vista).
If you like, you can also use the command below in a .bat or .cmd file.
If you like, you can also use the command below in a .bat or .cmd file.
1. Open a command prompt, copy and paste either command below, and press Enter.
powershell -Command "[guid]::NewGuid()"
OR
powershell -Command "[guid]::NewGuid().ToString()"
2. The generated 32-character number will be the new GUID.
That's it,
Shawn
Last edited:
My Computer
System One
-
- OS
- 64-bit Windows 10
- Computer type
- PC/Desktop
- System Manufacturer/Model
- Custom self built
- CPU
- Intel i7-8700K OC'd to 5 GHz
- Motherboard
- ASUS ROG Maximus XI Formula Z390
- Memory
- 16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
- Graphics Card(s)
- ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
- Sound Card
- Integrated Digital Audio (S/PDIF)
- Monitor(s) Displays
- 3 x 27" Asus VE278Q
- Screen Resolution
- 1920x1080
- Hard Drives
-
1TB Samsung 970 EVO Plus M.2,
250GB Samsung 960 EVO M.2,
6TB WD Black WD6001FZWX
8TB WD MyCloudEX2Ultra NAS
- PSU
- OCZ Series Gold OCZZ1000M 1000W
- Case
- Thermaltake Core P3
- Cooling
- Corsair Hydro H115i
- Keyboard
- Logitech wireless K800
- Mouse
- Logitech MX Master
- Internet Speed
- 1 Gb/s Download and 35 Mb/s Upload
- Browser
- Internet Explorer 11
- Antivirus
- Malwarebyte Anti-Malware Premium
- Other Info
-
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
Linksys EA9500 router,
Arris SB8200 cable modem,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Lumia 1520 phone