Customized Notes data directory for specification at install or upgradeAdded by Pam Gilday | Edited by Pam Gilday on November 16, 2010 | Version 8
Note there is a syntax error in this topic, correct sample syntax is as follows:
setup.exe /v"SETMULTIUSER=1 MULTIUSERBASEDIR=C:\LocalAppDataUsers\!USERNAME! MULTIUSERCOMMONDIR=C:\LocalAppDataCommon"
Also note the following further elaboration, not found in the product documentation topic currently, regarding the MULTIUSERBASEDIR and MULTIUSERCOMMONDIR properties:
You can use MULTIUSERBASEDIR and MULTIUSERCOMMONDIR properties on the Lotus Notes installer command line or in a transform to direct the Notes installer to install the Notes data files to non-standard data directories. This feature is available on supported Windows and Citrix client platforms.
The MULTIUSERBASEDIR property is designed to specify the root location where all subsequent user directories will be created. At Notes startup, the location specified in the MULTIUSERBASEDIR property will be examined and if it does not already exist, a subdirectory with the path "\Lotus\Notes\data" will be created. If the MULTIUSERBASEDIR location is on a network mapped drive or UNC share, then subsequent users on the same drive/share may not have the property required permissions to access the data directories. To workaround this issue, each user's data directory should be created on the mapped drive / network share prior to the first user starting Notes.
For example, if MULTIUSERBASEDIR is specified as "D:\NotesUsersDirs\%USERNAME%" then the directory structure D:\NotesUsersDirs\ should be created prior to the first user running Notes. When a user, say JSmith, runs Notes for the first time, the directory "D:\NotesUsersDirs\jsmith\Lotus\Notes\Data will be created. This directory will inherit the security permissions of the parent directory which may expose user data to unauthorized viewers. To prevent this from happening, the administrator should create the "D:\NotesUsersDirs\jsmith\Lotus\Notes\Data" directory and give the only jsmith account full control security settings on the directory prior to jsmith running Notes. This should be done for every user that will run Notes.
For example, if MULTIUSERBASEDIR is specified as "P:\%USERNAME%\" and a user with account jsmith will run Notes, then the directory structure P:\jsmith\Lotus\Notes\Data\ should be created prior to the user running Notes. Also only the user account jsmith should be given FULL CONTROL file access permissions on the P:\jsmith\Lotus\Notes\Data directory.
The MULTIUSERCOMMONDIR is the location where the Notes installer will install all the shared data files. A subdirectory of "Lotus\Notes\Data" is automatically appended to the location specified. This directory only needs to have read access for all users on the machine and should have the security permissions set prior to the first user running Notes to prevent users from overwriting critical files.
For example if MULTIUSERCOMMONDIR is specified as "D:\NotesCommon" then the directory structure D:\NotesCommon\Lotus\Notes\Data" will be created during installation. If the security permissions on "D:\NotesCommon" are not set correctly or they are inherited from "D:\", subsequent users on the machine may be able to overwrite Notes template files. The security permissions on the directory "D:\NotesCommon" should be set for users to only have read access.
These potential security issues do not exist when using the standard Notes data directory installation locations because Windows already manages the correct security permissions on these directories.