This documentation is archived and is not being maintained.

Create GUID (guidgen.exe) 

Visual Studio 2005

Generates a GUID in a specified format.

When you start guidgen.exe, or when you click the New GUID button in the Create GUID dialog box, guidgen.exe generates a GUID.


The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To run guidgen.exe from the IDE

  1. On the Tools menu, click Create GUID. The Create GUID tool appears with a GUID in the Result box.

  2. Select the format you want for the GUID.

  3. Click Copy.

    The GUID is copied to the Clipboard so that you can paste it into your source code.

  4. If you want to generate another GUID, click New GUID.