Script to create desktop shortcuts based on Security Group membership

Discussion in 'Scripting' started by Rick, Jan 8, 2008.

  1. Rick

    Rick Guest

    Hello Scripters.

    I have a Windows 2003 SBS as a Domain Controller and have a Windows2003
    Terminal Services joined to the Domain in a separate OU. All connections to
    the TS are run through a Loopback Policy.

    It was fine for all Users to 'see' all Application shortcuts when only
    Company employees were using the TS. However, we now have the need to allow
    restricted access to a 'project' database hosted on the TS and they should
    not 'see' all the shortcuts, only the one they need.

    All access to the TS is controlled by the SBS server's AD and all Users have
    accounts with security groups assigned. The foreign Users will logon to the
    SBS using Remote Web Workplace where they are restricted to only being able
    to logon to the TS. I have customized the Default User and All Users
    profiles so that shortcuts have to be manually placed in the Desktop folder
    of each User, but I would like this to be dynamic so that if a User is
    deleted from a security froup the shortcut is deleted.

    I would like to have a logon script that queries the Users' Group
    membership(s) and creates the necessary shortcuts.

    Can someone please point me to where something like this is described?

    Thank you very much for your time and assistance.

    .... rick
     
    Rick, Jan 8, 2008
    #1
    1. Advertisements

  2. Trevor Sullivan, Jan 8, 2008
    #2
    1. Advertisements

  3. Rick

    Rick Guest

    Thanks for the URL, Trevor. But which one is pretty close?

    Thanks.

    .... rick
     
    Rick, Jan 8, 2008
    #3
  4. Sorry, it didn't paste correctly.

    Check out the Active Directory user and group sections. They both are
    quite valuable.

    Trevor
     
    Trevor Sullivan, Jan 9, 2008
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.