When a user logs on into a new environment, whether or not managed by RES PowerFuse, it’s always good to have a backup script in place for setting up the missing home drive. For instance my file share for hosting the home directories is \\FILESERVER\USERS$. There everyone has a folder equal to his Username. So my home directory would be \\FILESERVER\USERS$\Jeroen

But. When the folder Jeroen doesn’t exist I want to auto create it by an ‘External Task’ (RES PowerFuse) or login script.

To do this, add the following line in the loginscript.

IF NOT EXIST \\FILESERVER\USERS$\%USERNAME% MD \\FILESERVER\USERS\%USERNAME%

Or create an External Task (before running any other task, runonce, no time-out, wait before continue), in RES PowerFuse with that line.

Now the tricky part. Because that script is run with the users his credentials, the NTFS rights on the share must be pretty damn good Winking smile. Otherwise, other users can access folders from other users.

Group

Rights

Apply To

Administrators (Or Domain Admins) Full Control This folder, subfolders and files
Authenticated Users Traverse Folder, List Folder, Read Attribute, Create Folder, Read Permissions This folder only
CREATOR OWNER Modify Subfolders and files only
SYSTEM Full Control This folder, subfolders and files

Untitled


Jeroen

Read more about Jeroen here

2 Comments

Alex · 26 June, 2013 at 21:51

Hello,

Nice write up!
Would the permissions be set on the “servernameusers$” shared? along with inheritable permissions?

Thank you

    Jeroen · 27 June, 2013 at 08:20

    Correct Alex. But disable/uncheck the inheritance permissions.

    The share rights would be:

    Domain Admins: Full Control;
    Everyone: Change.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

StoreFront

Configure StoreFront to default show the “Categories” tab

Note: Tested and designed for StoreFront 3.5.0.23 When installing StoreFront and configure a Receiver for Web (RfW) website you can choose for a default page to show. The options are: Auto, Applications and Desktops. If you Read more…

StoreFront

Nederlandse vertaling X1 StoreFront X1 / Receiver X1 for Web

Onlangs is de nieuwe Receiver for Web X1 als technical preview aan de community gegeven. Zodat iedereen een beetje kan spelen met wat de toekomst ons gaat brengen. In deze Technical Preview zit reeds een Read more…

Uncategorized

Quiet in here.

Hi all readers. I’m sorry that my latest post is from a long long time ago. I have a couple of blogs almost done (80%) but time is not there to finish them 🙁 My Read more…