Project 2007 Professional : How to create automatically a profil to connect to the 2007 Project Server ? RRS feed

  • Question

  • Hi Everybody,

    Is there a way to automatically create MS Project profiles to connect to Project Server by using a key in the registry for example, or do you have to do is way on each client: 

    Tools > Enterprise options > Microsoft Server accounts...

    Thanks for your answer



    Tuesday, December 18, 2012 9:28 AM

All replies

  • Hi Phil,

    I did this in the past by creating a vbs file with following content:

    Option Explicit
    Dim ProjObj
    Dim ex
    Dim i
    Set ProjObj = CreateObject("msproject.application")
    For i = 1 To ProjObj.Profiles.Count
        ex = False
        If ProjObj.Profiles.Item(i).Name = "Profilname" Then
            ex = True
        End If
        i = i + 1
    If Not(ex) Then
      ProjObj.Profiles.Add "URL", "Profilname"
      ProjObj.Profiles.DefaultProfile = ProjObj.Profiles.Item(i)
    End If
    Set ProjObj = Nothing

    Replace URL and Profilname accordingly. Please test carefully, if it works for you!!!!!!!!!!!!!

    But I assume that there are some more (and maybe better) options, hopefully provided by others.


    Tuesday, December 18, 2012 9:56 AM
  • Another way to have it


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog:

    Tuesday, December 18, 2012 10:41 AM