ADSM-L

NT workstation won't backup a used file

1998-08-12 11:41:19
Subject: NT workstation won't backup a used file
From: Pete Tanenhaus <tanenhau AT US.IBM DOT COM>
Date: Wed, 12 Aug 1998 11:41:19 -0400
This contents of NTUSER.DAT are loaded into the logged user's registry
(HKEY_CURRENT_USER hive)
and will be backed up as part of the registry.

This file and HKEY_CURRENT_USER comprise the logged in user's user profile.

ADSM backs up all user profiles EXCEPT the currently logged on account as
normal files and backs up
the currently logged on account as part of the registry.

There is a problem backing up a logged on user profile when the ADSM scheduler
service is running under
a different account than the currently logged on user.

For example, the interactive Administrator account might be logged on while the
scheduler service in running
under the local system account.

In this case the service won't be able to backup Administrator's user profile
as a normal file because Administrator
is logged on and ntuser.dat is locked, and it won't be able to  backup the user
profile as part of the registry because the
service isn't logged in as Administrator, and hence Administrator's user
profile won't be loaded in HKEY_CURRENT_USER.

The are  several possible circumventions to this problem.

One would be to ensure that no interactive accounts are logged on when the
scheduled backup executes.

Another (and my personal preference) would be to use the built-in NT schedule
service (interfaced via AT command)
to schedule the registry to be backed up via the ADSM command line client each
night for any interactive accounts
which may potentially be logged on when the scheduled backup executes.

To do this, create the following command file backreg.cmd in the nt system32
directory:

          REM Batch file to backup registry
          REM Change to drive and directory where adsm is installed
          g:
          cd \adsm.v3r1m0.5e
          REM Backup user profile portion of the registry
          dsmc regback user curuser >> regback.out

Issue the following AT command to schedule to above command to run every night
at 1:00am
(note the NT schedule service must be started):

            AT 1:00
/every:monday,tuesday,wednesday,thursday,friday,saturday,sunday "backreg.cmd"

If  the NT schedule service isn't started, issue the NET START SCHEDULE command.

The above will ensure that the account user profile is always backed up
regardless of whether or not the
normal ADSM scheduled backup is running.

Hope this helps .......


Pete Tanenhaus
ADSM NT Client Development

---------------------- Forwarded by Pete Tanenhaus/San Jose/IBM on 08/12/98
2/98
10:55 AM ---------------------------


ADSM-L AT VM.MARIST DOT EDU on 08/12/98 07:57:11 AM
Please respond to ADSM-L AT VM.MARIST DOT EDU
To: ADSM-L AT VM.MARIST DOT EDU
cc:
Subject: NT workstation won't backup a used file


We have the "shared dynamic" option picked in our MVS server.  But, a user
has sent me this message,,, any thoughts???

ADSM doesn't backup the users NTUSER.DAT file unless the user is logged on
as somebody else. This .dat file is a very important file, without it the
user would be unable to correctly restore his/her desktop settings.


Dave Sanders
Sr. Technical Consultant
DSanders AT massmutual DOT com
MassMutual / The Blue Chip Company
1295 State St, E060, Springfield, MA 01111
413-744-5095



<Prev in Thread] Current Thread [Next in Thread>