Quite often system administrators want a way to automate tasks, creating the Project Server Project Professional accounts is usually one of these tasks. This blog post shows an example of creating a Project Professional 2010 account.
The script can be downloaded from the Script Center following the link below:
http://gallery.technet.microsoft.com/scriptcenter/Create-Server-2010-dfb0fbba
When creating an account, a registry key is created here:
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\MS Project\Profiles\<Profile Name>
After running the script, a new registry key will appear:
Script:
Before running the script you will need to update two variables, $accountName and $pwaURL with the correct values.
New Key after executing the script:
As you can see, the script only creates three string values (excluding the default), the rest get created when you launch Project Professional 2010 and connect to the new account:
New account:
Additional string values:
A simple solution for creating Project Professional 2010 accounts.
I recommend that this script is tested thoroughly on a test workstation before using within a production environment.
This script is just an example, use this script at your own risk. Remember to always backup the Registry before making any changes.
This script is probably a better approach to the Registry key export detailed in a post I wrote a while back:
