Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a generic logon script for AD users
Message
From
17/12/2015 06:43:55
 
 
To
16/12/2015 18:00:36
General information
Forum:
Windows
Category:
Administration & Security
Environment versions
OS:
Windows 10
Miscellaneous
Thread ID:
01629044
Message ID:
01629053
Views:
36
>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.

In your situation I would question if the responsibility for creating these mappings c/should not be delegated to the app itself. Less moving parts, more coherent error reporting. Or start your your app via script and make certain THERE that these mappings are done - if this start script does not run, the app won't start. Less probability of MS updates endangering your setup needs.

Update: Al's link is a fine example for the mindset responsible for the approaches described above ;-))
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform