Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Roaming Notes Profiles - Skipping Notes Setup

Posted on 2008-06-17
3
Medium Priority
?
1,606 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
  • 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

Industry Leaders: 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

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month20 days, 16 hours left to enroll

810 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