Geeks With Blogs

News INETA Community Speakers Program
GeeksWithBlogs.net: WTFNext's hosting!

View Stacy Vicknair's profile on LinkedIn


WTF Next? Dev ramblings from a master of nothing.

If you have an MSDN account and, like me, systematically claim keys just as well as you systematically forget which keys you’ve used in which test environments! Well, in a meager attempt to help myself track my keys I created an importer for KeePass 2 that takes in the XML document that you can export from MSDN and TechNet. The source is available at https://github.com/svickn/MicrosoftKeyImporterPlugin.

 UPDATE:
GitHub has chosen to deprecate the downloads section for files. Right now, to download the dll you can go to https://github.com/svickn/MicrosoftKeyImporterPlugin/downloads but I will look into options for hosting these files somewhere else in the future.

How do I get my KeysExport.xml from MSDN or TechNet?

Easy! First, in MSDN, go to your product keys.

image

From there, at the top right select Export to XML.

image

This will let you download an XML file full of your Microsoft Keys.

 

How do I import it into KeePass 2?

The instructions are simple and available in the GitHub ReadMe.md, so I won’t repeat them. Here is a screenshot of what the imported result looks like:

SNAGHTML35928f0e

 

As you can see, the import process creates a group called Microsoft Product Keys and creates a subgroup for each product. The individual entries each represent an individual key, stored in the password field. The importer decides if a key is new based on the key stored in the password, so you can edit the notes or title for the individual entries however you please without worrying about them being overwritten or duplicated if you re-import an updated KeysExport.xml from MSDN! This lets you keep track of where those pesky keys are in use and have the keys available anywhere you can access your KeePass database!

 

Technorati Tags: ,,,
Posted on Thursday, November 8, 2012 11:54 AM Other | Back to top


Comments on this post: MSDN / TechNet Key Importer for KeePass 2

# re: MSDN / TechNet Key Importer for KeePass 2
Requesting Gravatar...
i don't find the MicrosoftKeyImporterPlugin.dll.
Can somebody help me ? Have i to make it with the sources ? How ?
Thks
Left by jpg-93 on Nov 26, 2012 3:42 AM

# re: MSDN / TechNet Key Importer for KeePass 2
Requesting Gravatar...
Hey jpg-93,

I added the compiled dll to the downloads section now. Let me know if you have any other questions!
Left by Stacy Vicknair on Dec 07, 2012 10:23 AM

# re: MSDN / TechNet Key Importer for KeePass 2
Requesting Gravatar...
same here, can't find the MicrosoftKeyImporterPlugin.dll on github.com/svickn/MicrosoftKeyImporterPlugin, just the MicrosoftKeyImporterPlugin.sln.

thx in advance
Left by Wyle on Jan 15, 2013 3:11 AM

# re: MSDN / TechNet Key Importer for KeePass 2
Requesting Gravatar...
According to the following, the downloads section of github has been deprecated.

https://github.com/blog/1302-goodbye-uploads

For the time being, you can still find the downloadable dll at https://github.com/svickn/MicrosoftKeyImporterPlugin/downloads

I will look into options for hosting these files elsewhere so that I don't have to include the compiled content in the source control library.
Left by Stacy Vicknair on Jan 16, 2013 6:42 AM

Your comment:
 (will show your gravatar)


Copyright © Stacy Vicknair | Powered by: GeeksWithBlogs.net | Join free