Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a generic logon script for AD users
Message
De
17/12/2015 03:21:50
 
 
À
16/12/2015 18:00:36
Information générale
Forum:
Windows
Catégorie:
Administration & Sécurité
Versions des environnements
OS:
Windows 10
Divers
Thread ID:
01629044
Message ID:
01629048
Vues:
37
>Hi,
>
>I am working on hosting our VFP app in Azure and need to create a user logon script to map two directories to letters. Neither of these are "home directories", namely directories over which a user has exclusive control. Instead both mappings are to shared directories.
>
>One of the directories will be shared by all users of the app, and the other will be a data directory that is shared by all users that work for the same client.
>
>I wish to write a single Powershell script for all users and keep the name of the data directory in an Active Directory field.
>
>Unfortunately, I don't know where and how to create a script so that it runs automatically when users log on.
>
>BTW, users will access the server using RemoteApps that belong to the same Active Directory domain.

You'll probably want to access Group Policy on the Domain Controller (DC) to set that up: https://technet.microsoft.com/en-ca/library/cc770908.aspx . As it explains, scripts should go in the NetLogon share on the DC.

You might want to think about having users of your app as members of a specific group, then group policy can be applied to just them and not affect other users on the domain. You'll probably want to touch base with the sysadmin about this.

If Server 2012 R2 be aware of this: http://www.markpsullivan.net/2014/08/16/scripts-not-running-at-logon-with-server-2012r2/
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform