Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a .PXF file used to strongly name several of our .NET assemblies. VS2010/MSBUILD seems to expect this to be in the personal container for the user account running VS2010/MSBUILD. This is all just fine and dandy when working in an interactive user account, but when atempting an automated build via TFS 2010 on the build agent the account used by the build agent (by default) is NT-AUTHORITY/NetworkService.

Since I cannot log in an interacive session as NetworkService I cant just install the PFX from an interactive sessions shell.

So can anyone tell me how I install a PFX certificate in the personal cert store of the NetworkService account?

share|improve this question
up vote 7 down vote accepted

You need to open the Network Service certificate store, and add it.

To open the store:

  • From Start | Run: mmc.exe
  • File | Add/Remove Snapins and select Certificates then Add.
  • When prompted for the type of account select Service Account
  • Select local/remote computer as required
  • Select any service that's running as Network Service ("Remote Procedure Call (RPC)" run as Network Service by default)
  • Finish the wizard and OK to close the add/remove dialog.
  • On the applicable catrgory right click and select add tasks to find the import etc. operations.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.