[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Roaming Notes Profiles - Skipping Notes Setup

Posted on 2008-06-17
3
Medium Priority
?
1,599 Views
Last Modified: 2013-12-18
Hi all, hope you can help me with this!

SHORT VERSION: Skip the notes setup stage when logging in to a new PC using roaming profiles in lotus notes, check the steps taken so far part in the long version for where I'm at with this.

--------------------------LONGER VERSION BELOW--------------------------


GOAL: Users are able to log onto any machine on site multiple times and have it load into lotus notes.

CURRENT SETUP: Single user installs of notes on all machine, user ID's, notes.ini nsf files etc are all stored on a users private networked X. The notes shortcuts on the desktops point to this notes.ini. This allows users to log onto any machine and have notes load up exactly the same as it was before. The only problem is they cannot log in more then once, something that a number of them will have to do in the very near future.

The solution? Roaming profiles! I mean ones in notes, not windows. Windows roaming profiles are not an option for us, for a few different reasons. Anyway.

STEPS TAKEN SO FAR: Basically I have notes installed for multiple users on the test PC's, and have upgraded some users. The roaming part works fine, log in, run through the setup, change the home page and you're done. What I need to do is bypass the setup stage somehow. What I did was to create a batch file as follows;

set notespath="%userprofile%\Local Settings\Application Data\Lotus\Notes\Data\
set inipath="\\server\Roaming Data\notes.ini"
if not exist %notespath%" mkdir %notespath%"
if not exist %notespath%\notes.ini" copy %inipath% %notespath%"

This takes a look to see if the application data directory for notes is in the users local settings (ie, has this user logged onto notes on this machine before?). If not, it copies a notes.ini from a server into that spot for them which has the following contained:

[Notes]
KitType=1
InstallType=6
InstallMode=1
KeyFilename=U:\lotus\user.id
Location=Online
MailServer=CN=DOMINOSERVER/O=DOMAIN

I then modyfied the windows login script to call the batch file. This is all working fine, the directory and file is being created and placed where it should be, when it should be. However it is not skipping the setup stage for new users, which is the desired outcome.

The questions asked by the setup are Name/Server,  ID file location and Location. I need to be able to have these questions answered automatically somehow. If anyone knows what I'm missing in my own method or knows another way of doing this any help would be most appreciated.
0
Comment
Question by:suns0ft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 63

Assisted Solution

by:SysExpert
SysExpert earned 80 total points
ID: 21812997
You need to copy a full Notes.ini file ( one that has already been fully installed ) , instead of the short version you are using.
This will be , per person.

I hope this helps !
0
 

Author Comment

by:suns0ft
ID: 21817975
Hrm is there anyway I could generate a full notes.ini somehow? ie, not have to run the setup each time?
0
 

Accepted Solution

by:
suns0ft earned 0 total points
ID: 21827284
I have solved this problem. I found the following technote; http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg21112835

Basically what is contained there is info on how to use a config file (just a text file using the variables on that link) to set some variables for you within notes.

So I added to my login script the attacted code, which creates the config file and tells notes.ini to use it, for more details check the commenting.

There are probably better ways of doing this, but it works for me so for now thats how it shall be done ;).
@REM Script to create local notes files for roaming users
 
@echo off
echo Checking for notes.ini and copying if needed..
 
@REM Set paths for the files
set notespath=%userprofile%\Local Settings\Application Data\Lotus\Notes\Data\
set inipath="\\server\software\Roaming Data"
 
@REM No notes.ini, create one
if not exist "%notespath%" mkdir "%notespath%" 
if not exist "%notespath%notes.ini" copy %inipath%\notes.ini "%notespath%"
 
@REM If notes.ini has the string 'Ports=' in it, user has already been set up and we can end here.
find /I "Ports=" "%notespath%notes.ini" > nul
if ERRORLEVEL 1 GOTO firstrun
goto end
 
@REM If the user has not logged on before this will run and create a text file with the config data
echo Username=%username%/DOMAIN > "%notespath%notesconfig.txt"
echo Keyfilename=U:\lotus\user.id >> "%notespath%notesconfig.txt"
echo Domino.Name=DOMINOSERVER/DOMAIN >> "%notespath%notesconfig.txt"
echo Domino.Server=1 >> "%notespath%notesconfig.txt"
echo IM.Server=SAMETIME.domain.com >> "%notespath%notesconfig.txt"
echo IM.ConnectWhen=0 >> "%notespath%notesconfig.txt"
echo Replication.Schedule=1 >> "%notespath%notesconfig.txt"
 
@REM Reference that config file at the end of the notes.ini. Also as for some reason there is no location variable availible in the config file, add that directly.
echo ConfigFile=%notespath%notesconfig.txt >> "%notespath%notes.ini"
echo Location=Online >> "%notespath%notes.ini"
 
:end
echo Done!

Open in new window

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question