Jevgeni Borozna's blog

SharePoint, ASP .NET

Adding GUID generator (guidgen) to Visual Studio 2010

Default Guid generator location for Visual Studio 2010 is:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\guidgen.exe

To add it to Visual Studio Tools menu complete following steps:

  1. Open Visual Studio 2010
  2. Tools –> External Tools
  3. Click on “Add” button
  4. Enter Title for the command (for example “Create GUID”)
  5. In Command box click on browse button named “…” and choose guidgen.exe (C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\guidgen.exe)
  6. Finally click on OK button and now you have possibility to choose “Create GUID” command from your Visual Studio Tools menu

If you can’t find guidgen.exe in this location, you can always download this utility separately. For example here.

* information based on Visual Studio 2010 beta 2


Lars Støttrup said:

FYI VS2010 Pro already has the "Create GUID" in the Tools menu. :)

# July 15, 2010 8:38 AM

Brian Foote said:

Awesome tip! I keep finding and using this!

# November 20, 2010 1:45 PM

Mark Struik said:

You might want to add that you have an x64 bit system and for x86 users you have too browse to:

C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\guidgen.exe

# December 13, 2010 6:55 AM

mayur patel said:

very helpfull!! thanks!

# July 25, 2012 12:08 PM

William Dwyer said:


It doesn't appear to be added automatically in vs.2010 ultimate edition.  Though I can recall seeing it in PRO by default.

# August 29, 2012 1:12 PM