Quantcast
Channel: sbs-2011 – Admins Goodies
Viewing all articles
Browse latest Browse all 10

Login scripts in SBS 2011

$
0
0

Question

Where can I add and configure a login script for each user in SBS 2011?

For example, I to map a drive for a user-specific folder. I do not want to use folder redirection.

Asked by John

Answer

That’s massively unsustainable. Ideally, you should use folder redirection. Why aren’t you?

If you must use a script, You should craft a single script that uses variables and a sane folder structure on the share. For example, if the folder layout is \\server\share\userFolder you could get it done in a one-line logon script that reads:

net use z: \\server\share\%username%

You would link this in group policy under User Configuration > Policies > Windows Settings > Scripts

Make sure that wherever you store the script, all users have access to it via share and NTFS ACLs.


If you really must do this, you can define a logon script in ADUC for each user here:

Screencap

Answered by MDMarra

Viewing all articles
Browse latest Browse all 10

Trending Articles