Coupon code copied
Server Intellect
(855) 850-HOST

Toll Free 24/7/365        (4678)

Get help from a Microsoft Certified Engineer.

Intellect Connect

Technical problem with your Windows Hosting?

Let our Microsoft Certified experts handle the problem for you.

Static MachineKey on your Public Cloud

This article will explain how to set a static MachineKey on your Public Cloud platform.

In many cases, the ASP.Net machine key will need to be set as a static key, due to the Public Cloud platform being a webfarm, and containing many web servers. Below, are two ways to set a static machine key.

Setting a Static Machine Key through IIS Remote Manager (Easy)

  • You will need your IIS Manager User credentials from the Unity Control Panel. (
  • Once logged in, go to “My Services > Hosted Services”.
  • Click on the “Web” icon.
  • Click “IIS/FTP User Manager”.
  • Click the proper user.
  • Click the “IIS Remote User Permissions” tab, to get the server name. (
  • Log in with IIS Manager.
  • In the left pane, click on your domain.
  • In the center pane, under ASP.NET, double click the “Machine Key” icon.
  • Uncheck “Automatically generate at runtime”. (this will need to be done for both the validation key, and decryption key sections)
  • In the right pane, click “Generate Keys”.
  • You should see keys generated in the center pane now.
  • Click “Apply” on the right pane.
  • This should generate a static machine key in your web.config file.
  • Recycle your application pool, and browse to your site.

Setting a Static Machine Key via programming (Advanced)

  • This requires manual editing of your web.config file. (It is recommended to only attempt this, if you are well versed in ASP.Net programming)
  • First, you will need to find a way to generate a static machine key, for ASP.Net. (I recommend the following web site;
  • Once you have generated the key, you will need to add the code generated, into the “” section of your web.config file.
  • Recycle your application pool, and browse to your site.

Interested in letting our experts solve your IT problems for you?
Get a free, no-obligations consultation with one of our experts today!

Call us at (855) 850-HOST


Start Your Order


This form does not accept free e-mail accounts. Please enter a business e-mail to submit it.

Submit Form Cancel

Please wait...

Submitting your info. This may take less than a minute.