none
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

    Phil 

    Madininarawak

    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
    Next
    If Not(ex) Then
      ProjObj.Profiles.Add "URL", "Profilname"
      ProjObj.Profiles.DefaultProfile = ProjObj.Profiles.Item(i)
    End If
     
    
    ProjObj.Quit
    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.

    Regards
    Barbara



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

    http://www.projectserverexperts.com/ProjectServerFAQKnowledgeBase/
    Create%20Project%20Server%20accounts%20on%20multiple%20workstations.aspx

    HTH,


    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: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82


    Tuesday, December 18, 2012 10:41 AM